First of all, thank you for answering so quickly ( iso 9001 cert. is near =) )...
> Two things to check: 1. Is the module actually getting loaded. 2. Does > it have the register method. > > For 1., simply add something like: > > AxKit::Debug(1, "Module loaded"); > Done, here the result in error.log [Wed Jan 1 21:31:37 2003] [warn] [client 192.168.1.3] [AxKit] about to execute: Apache::AxKit::Language::XSP::handler [Wed Jan 1 21:31:37 2003] [warn] [client 192.168.1.3] [AxKit] Module loaded [Wed Jan 1 21:31:37 2003] [warn] [client 192.168.1.3] [AxKit] Caught an exception It's loaded ! > 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. > a) There was no @ISA stuff, ( the exemple from http://www.perl.com/pub/a/2002/04/16/axkit.html didn't have any ). I've added one : @ISA=('Apache::AxKit::Language::XSP::TaglibHelper'); b) I still have booboo ( read error 500 ) but no more "required" stuff : now it's �Compilation failed: syntax error at (eval 13) line 8�. I'm including all files involved ( u can check httpd.conf at : http://linux-nerd.com/h.conf ). Thanks in advance --------------------------------------------- -- - - - Olivier 'lem0nade' Garcia email : [EMAIL PROTECTED] web : http://linux-nerd.com GPG : http://linux-nerd.com/me/mykey.asc ( 0x00DC495B ) - - - -- ---------------------------------------------
error_log.gz
Description: GNU Zip compressed data
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="NULL" type="application/x-xsp"?>
<xsp:page
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:weather="http://slaysys.com/axkit_articles/weather/"
>
<weather:report zip="3"/>
</xsp:page>
package My::WeatherTaglib; use Apache::AxKit::Language::XSP::TaglibHelper; $NS = "http://slaysys.com/axkit_articles/weather/"; @EXPORT_TAGLIB = ( 'report($zip)' ); AxKit::Debug(1, "Module loaded"); @ISA=('Apache::AxKit::Language::XSP::TaglibHelper'); use strict; sub report { {"Foo"=>"Bar"} } 1;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
