> This is a pretty common beginner mistake - I think it stems from not > loading your taglib but this is from memory. Can we see your error log > at AxDebugLevel 9 ?
After running the logs through a little perl script I cooked up to translate literal \n and \t into the characters that're supposed to be there I get the data in error.log attached to this mail. I've also checked that the module does seem to get run (putting die "Fnord!"; results in AxKit complaining about an error "Fnord!" that occured in my TaglibTest.pm). Arne :wq
[Tue Feb 8 11:37:26 2005] [notice] SIGHUP received. Attempting to restart [Tue Feb 8 11:37:29 2005] [notice] Apache/1.3.33 (Unix) AxKit/1.61 PHP/4.3.9 mod_perl/1.29 configured -- resuming normal operations [Tue Feb 8 11:37:29 2005] [notice] Accept mutex: flock (Default: flock) [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] fast handler called for /index.xsp [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] Content Provider Override: Apache::AxKit::Provider::File [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] decoding from UTF-8 [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] [req] File Provider given $r: /usr/local/www/data/index.xsp [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] checking if we process this resource [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] media: screen, preferred style: #default [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] Cache: key = 6fcf09d6ea00c6fe00624effd42035d8 [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] getting styles and external entities from the XML [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] styles not cached - calling $provider->get_styles() [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] using XS get_styles (libxml2) [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] encoding to UTF-8 [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] calling xs_get_styles_fh() [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] calling xs_get_styles_str() [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] xs_get_styles returned: , , {http://www.apache.org/1999/XSP/Core}page [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] Calling GetMatchingProcessors with (screen, , , , {http://www.apache.org/1999/XSP/Core}page) [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] get_styles: loading style modules [Tue Feb 8 11:37:32 2005] [warn] [client 217.77.36.15] [AxKit] get_styles: looking for mapping for style type: 'application/x-xsp' [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] cache doesn't exist [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] some condition failed. recreating output [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] styles: Apache::AxKit::Language::XSP(NULL) [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] Style Provider Override: Apache::AxKit::Provider::File [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] [uri] File Provider looking up uri NULL [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] [uri] File Provider set filename to /usr/local/www/data/NULL [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] about to execute: Apache::AxKit::Language::XSP::handler [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] XSP: parsing fh [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] Recompiling XSP script Script: 1 package Apache::AxKit::Language::XSP::ROOT::usr::local::www::data::index_2exsp; 2 use Apache; 3 use Apache::Constants qw(:common); 4 use XML::LibXML; 5 Apache::AxKit::Language::XSP::Page->import( qw(__mk_text_node __mk_comment_node __mk_ns_element_node __mk_element_node) );#initialize xsp namespace 6 #initialize xsp namespace 7 8 @Apache::AxKit::Language::XSP::ROOT::usr::local::www::data::index_2exsp::ISA = ('Apache::AxKit::Language::XSP::Page'); 9 sub xml_generator { 10 my $class = shift; 11 my ($r, $cgi, $document, $parent) = @_; 12 13 $parent = __mk_element_node($document, $parent, q|html|); 14 $parent = __mk_element_node($document, $parent, q|body|); 15 $parent = __mk_element_node($document, $parent, q|p|); 16 __mk_text_node($document, $parent, q|Hi! It's |); 17 __mk_text_node($document, $parent, "" . do {my ($_format);$_format = q|%H:%M:%S|;AxKit::XSP::Util::get_date($_format)}); # non xsp tag 18 __mk_text_node($document, $parent, q|.|); 19 $parent = $parent->getParentNode; 20 $parent = __mk_element_node($document, $parent, q|p|); 21 __mk_text_node($document, $parent, q|Test: |); 22 $_args{mysub} ||= []; 23 my $href = {}; 24 my %h = ('arg','test'); 25 while (my ($key,$value) = each %h){ 26 last if $href->{$key}; 27 $href->{$key} = $value; 28 } 29 $_args{mysub} = $href; 30 ; 31 __mk_text_node($document, $parent, q|.|); 32 $parent = $parent->getParentNode; 33 $parent = $parent->getParentNode; 34 $parent = $parent->getParentNode; 35 36 return OK; 37 } 38 [Tue Feb 8 11:37:33 2005] [warn] [client 217.77.36.15] [AxKit] Caught an exception [Tue Feb 8 11:37:33 2005] [error] [client 217.77.36.15] [AxKit] [Error] Compilation failed: Global symbol "%_args" requires explicit package name at (eval 20) line 22. Global symbol "%_args" requires explicit package name at (eval 20) line 29. [Tue Feb 8 11:37:33 2005] [error] [client 217.77.36.15] [AxKit] From: /usr/local/lib/perl5/site_perl/5.8.5/Error.pm : 148 [Tue Feb 8 11:37:33 2005] [error] [client 217.77.36.15] [AxKit] [Backtrace] Compilation failed: Global symbol "%_args" requires explicit package name at (eval 20) line 22. Global symbol "%_args" requires explicit package name at (eval 20) line 29. at /usr/local/lib/perl5/site_perl/5.8.5/Error.pm line 148 Error::throw('Apache::AxKit::Exception::Error', '-text', 'Compilation failed: Global symbol "%_args" requires explicit ...') called at /usr/local/lib/perl5/site_perl/5.8.5/mach/Apache/AxKit/Language/XSP.pm line 148 Apache::AxKit::Language::XSP::handler('Apache::AxKit::Language::XSP', 'AxKit::Apache=SCALAR(0xd3753d4)', 'Apache::AxKit::Provider::File=HASH(0xd37e458)', 'Apache::AxKit::Provider::File=HASH(0xd477770)', 1) called at /usr/local/lib/perl5/site_perl/5.8.5/mach/AxKit.pm line 739 AxKit::process_request('AxKit::Apache=SCALAR(0xd3753d4)', 'Apache::AxKit::Provider::File=HASH(0xd37e458)', 'ARRAY(0xd351874)', 'undef') called at /usr/local/lib/perl5/site_perl/5.8.5/mach/AxKit.pm line 461 AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0xd3753d4)', 'Apache::AxKit::Provider::File=HASH(0xd37e458)') called at /usr/local/lib/perl5/site_perl/5.8.5/mach/AxKit.pm line 288 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.5/mach/AxKit.pm line 279 AxKit::main_handler('AxKit::Apache=SCALAR(0xd3753d4)', 'Apache::AxKit::Provider::File=HASH(0xd37e458)') called at /usr/local/lib/perl5/site_perl/5.8.5/mach/AxKit.pm line 193 AxKit::fast_handler('AxKit::Apache=SCALAR(0xd3753d4)') called at /dev/null line 0 eval {...} called at /dev/null line 0
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]