Hensley, Richard wrote:
I tried it with the lastest snapshot, and the patch below. I still get the following in the error_log

[Thu Apr 03 16:49:00 2003] [error] failed to resolve handler `TestHooks::trans'
[Thu Apr 03 16:49:00 2003] [error] [client 127.0.0.1] Can't locate TestHooks/trans.pm in @INC (@INC contains: /home/rhensle/modperl-2.0/t /usr/lib/perl5/site_pe
rl/5.6.1/i386-linux/Apache2 /home/rhensle/modperl-2.0/Apache-Test/lib /home/rhen
sle/modperl-2.0/lib /home/rhensle/modperl-2.0/blib/lib /home/rhensle/modperl-2.0
/blib/arch /home/rhensle/modperl-2.0/t/response /home/rhensle/modperl-2.0/t/prot
ocol /home/rhensle/modperl-2.0/t/preconnection /home/rhensle/modperl-2.0/t/hooks
/home/rhensle/modperl-2.0/t/filter /home/rhensle/modperl-2.0/t/htdocs/testdirec
tive/main /home/rhensle/modperl-2.0/t/htdocs/testdirective/perlmodule-vh /usr/li
b/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i38


This was the second problem I encountered after I fixed the first.pm problem. I fixed
this by adding a PerlModule TestHooks::trans to the httpd.conf in my original patches
I sent.

/home/rhensle/modperl-2.0/t/hooks is in @INC, any idea why it can't find TestHooks/trans.pm. What are the file perms for /home/rhensle/modperl-2.0/t/hooks/TestHooks/trans.pm?


I don't seem to be able to reproduce the problem. I've tried using the same perl version as yours, with and without root, but in vain; It works.

Do you get the error during server startup or when the actual tests are run?

Can you remove the 'PerlModule TestHooks::trans' that you have added, rebuild mod_perl with MP_TRACE=1 (perl Makefile.PL MP_TRACE=1 ...) and now run:

rm t/logs/error_log
MOD_PERL_TRACE=h t/TEST -start

(run 'env MOD_PERL_TRACE=h t/TEST -start' if using csh)

do you get the failure? Post the output of the startup and the error_log file.

If you didn't get the failure so far, next run:

t/TEST -run hooks/trans

and post only the error_log file.

Since the trace is going to be pretty long, send it to me and not to the list.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to