On Wednesday, Jan 1, 2003, at 19:17 Europe/London, Olivier Garcia wrote:
Two things to check: 1. Is the module actually getting loaded. 2. Does it have the register method.tI've tried to use TaglibHelper stuff from perl.com but it fails on my system. It seems that some people here have encountered this problem before but no answer from the ML enabled me to solve my problems.I've setup my apache according to barrie's 2nd article on perl.com ( mainly : PerlModule AxKit AddHandler axkit .xml .xsp .dkb AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT AxAddXSPTaglib My::WeatherTaglib ) When it's just XPS/XSLT it runs just fine... When i request the .xsp file ( the one from perl.com ), it ends with a error 500 and the log ( see it ) is saying �[Error] Can't locate object method "register" via package "My::WeatherTaglib"�. I can't find what's wrong. I've probably done something stupid somewhere... So �Help, I need somebody... Helllppppp !�
For 1., simply add something like:
AxKit::Debug(1, "Module loaded");
to your TLH module somewhere outside of all the methods. e.g.:
package My::WeatherTaglib;
use strict;
AxKit::Debug(1, "My::WeatherTaglib loaded");
.... # rest of your module
For 2., make sure your module @ISA contains TaglibHelper. If that is the case and it's still not working then send in some code and we'll take a look.
Matt.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
