Hi there,
I've been noodling with AxKit for a week or so now (on and off) and I
just can't figure out what I'm doing incorrectly... hoping you folks can
help.
The box I'm using is running FreeBSD4.5 with the following:
Apache/1.3.26 (Unix), AxKit/1.6 mod_perl/1.27, and PHP/4.1.1.
I installed AxKit and mod_perl from the Ports collection, which seemed
the most obvious and easy approach. I put the necessary directives in my
httpd.conf file and restarted everthing possible to ensure all was
up-and-running.
Anyway, I now get an internal server error, when I try to view the
test.xml file. The logs show the following, which I find very hard to
follow or discern anything from. It appears there is an error with
Sablotron, or loading of the Sablotron processor. I've tried again, and
again to re-install Sablotron and don't see any reason why it shouldn't
be working?
Has anyone come across this before? Or, better yet, has anyone gotten
this to successfully work on FreeBSD w/Apache? And, if so, what were the
steps you followed to get it working?
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit] fast
handler called for
/test.xml
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
checking if we process t
his resource
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit] media:
screen, preferred
style: #default
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit] Can't
create cache direc
tory '/opt/axkit/cachedir': No such file or directory
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit] Can't
create cache direc
tory '/opt/axkit/cachedir/62': No such file or directory
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit] Can't
create cache direc
tory '/opt/axkit/cachedir/62/1e': No such file or directory
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
getting styles and exter
nal entities from the XML
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit] styles
not cached - call
ing $provider->get_styles()
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit] using
XS get_styles (lib
xml2)
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
calling xs_get_styles_fh
()
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
calling xs_get_styles_st
r()
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
xs_get_styles returned:
, , test
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
Calling GetMatchingProce
ssors with (screen, , , , test)
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
get_styles: loading styl
e modules
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
get_styles: looking for
mapping for style type: 'text/xsl'
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit] Caught
an exce
ption
[Tue Jan 14 14:22:43 2003] [error] [client 207.35.180.174] [AxKit]
[Error] Load
of 'Apache::AxKit::Language::Sablot' failed with: AxKit::load_module
failed: Can
't locate XML/Sablotron.pm in @INC (@INC contains:
/usr/local/lib/site_perl/5.00
503/i386-freebsd /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503 /usr/l
ocal/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005
. /usr/local/ /usr/local/lib/perl) at
/usr/local/lib/perl5/site_perl/5.005/i386
-freebsd/Apache/AxKit/Language/Sablot.pm line 7.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.005/i386-f
reebsd/Apache/AxKit/Language/Sablot.pm line 7.
[Tue Jan 14 14:22:43 2003] [error] [client 207.35.180.174] [AxKit] From:
/usr/lo
cal/lib/perl5/site_perl/5.005/Error.pm : 148
[Tue Jan 14 14:22:43 2003] [error] [client 207.35.180.174] [AxKit]
[Backtrace] L
oad of 'Apache::AxKit::Language::Sablot' failed with: AxKit::load_module
failed:
Can't locate XML/Sablotron.pm in @INC (@INC contains:
/usr/local/lib/site_perl/
5.00503/i386-freebsd /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503 /u
sr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5
..005 . /usr/local/ /usr/local/lib/perl) at
/usr/local/lib/perl5/site_perl/5.005/
i386-freebsd/Apache/AxKit/Language/Sablot.pm line 7.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.005/i386-f
reebsd/Apache/AxKit/Language/Sablot.pm line 7.
[Tue Jan 14 14:22:43 2003] [error] [client 207.35.180.174] [AxKit] From:
/usr/lo
[Tue Jan 14 14:22:43 2003] [warn] [client 207.35.180.174] [AxKit]
xs_get_styles
returned: , , test
perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-free
bsd /usr/local/lib/perl5/site_perl/5.005 . /usr/local/
/usr/local/lib/perl) at /usr/local/
lib/perl5/site_perl/5.005/i386-freebsd/Apache/AxKit/Language/Sablot.pm
line 7.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Apa
che/AxKit/Language/Sablot.pm line 7.
[Tue Jan 14 14:22:43 2003] [error] [client 207.35.180.174] [AxKit] From:
/usr/local/lib/pe
rl5/site_perl/5.005/Error.pm : 148
[Tue Jan 14 14:22:43 2003] [error] [client 207.35.180.174] [AxKit]
[Backtrace] Load of 'Ap
ache::AxKit::Language::Sablot' failed with: AxKit::load_module failed:
Can't locate XML/Sa
blotron.pm in @INC (@INC contains:
/usr/local/lib/site_perl/5.00503/i386-freebsd /usr/libd
ata/perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-
freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/local/
/usr/local/lib/perl) at /usr/lo
cal/lib/perl5/site_perl/5.005/i386-freebsd/Apache/AxKit/Language/Sablot.
pm line 7.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Apa
che/AxKit/Language/Sablot.pm line 7.
Error::throw('Apache::AxKit::Exception::Error', '-text', 'Load
of \'Apache::AxKit:
:Language::Sablot\' failed with: AxKit::...') called at
/usr/local/lib/perl5/site_perl/5.0
05/i386-freebsd/Apache/AxKit/Provider.pm line 228
Apache::AxKit::Provider::get_styles('Apache::AxKit::Provider::File=HASH(
0x82ed574)
', 'screen', '#default') called at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/AxKit
..pm line 693
AxKit::get_styles('screen', '#default',
'Apache::AxKit::Cache=HASH(0x82ed6a0)', 'A
pache::AxKit::Provider::File=HASH(0x82ed574)') called at
/usr/local/lib/perl5/site_perl/5.
005/i386-freebsd/AxKit.pm line 371
AxKit::run_axkit_engine('Apache=SCALAR(0x82e5b3c)',
'Apache::AxKit::Provider::File
=HASH(0x82ed574)') called at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/AxKit.pm li
ne 264
eval {...} called at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/AxKit.pm li
ne 255
AxKit::main_handler('Apache=SCALAR(0x82e5b3c)',
'Apache::AxKit::Provider::File=HAS
H(0x82ed574)') called at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/AxKit.pm line 1
72
AxKit::fast_handler('Apache=SCALAR(0x82e5b3c)') called at
/dev/null line 0
eval {...} called at /dev/null line 0
Any thoughts appreciated,
phillip.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]