Hi all!
I'm nearly finished with my custom provider, and I'm starting to like
this.
The final step was to implement the get_styles method, but when I do, I
get this weird error message in my error.log:
[Thu Dec 19 15:04:05 2002] [error] [client 195.1.208.96] [AxKit] [Error]
AxKit::load_module failed: Can't locate .pm in @INC (@INC contains:
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl . /etc/apache-perl/ /etc/apache-perl/lib/perl)
at (eval 13) line 1.
[Thu Dec 19 15:04:05 2002] [error] [client 195.1.208.96] [AxKit] From:
/usr/lib/perl5/Apache/AxKit/Exception.pm : 9
Obviously, an unnamed module can't be found, but then, I don't know what
would cause that...
For now, I've hardcoded everything, that will change of course, but it
looks like this:
sub get_styles {
my @transforms;
my $href= '/transforms/article/html.xsl';
my $type= 'text/xsl';
my $style = { type => $type, href => $href };
push(@transforms, $style);
AxKit::Debug(10, Dumper(@transforms));
return \@transforms;
}
Apparently, it doesn't even get started, if I insert a debug statement
as the first line, the warning doesn't appear. If I comment it all out,
everything works great, but obviously, no transformations happen.
What am I overlooking?
Best,
Kjetil
--
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]