|
From: Chris W. <ch...@cw...> - 2002-03-09 19:41:51
|
On Fri, 2002-03-08 at 16:49, Magnus Espeland wrote: > On 8 Mar 2002, Chris Winters wrote: > > > First, look at your error log ($WEBSITE_DIR/logs/error_log_modperl, by > > default) and see if anything jumps out at you there. > > That's where I found the error ;-) Of course :-) I wasn't sure if that was echoed to the browser or not. > Ahh, seems like Apache/Session/Generate/ModUniqueId.pm didn't compile when > I used CPAN to install everything.. weird.. I fixed the compile error, and > CPAN could install it. Now I get a new error though :( > > The browser get this: > > Can't locate object method "throw" via package "OITest::ErrorObject" > at /usr/lib/perl5/site_perl/5.005/OpenInteract/Error.pm line 94. > > and in the error log for the mod_perl server: > > Found item: Apache::DBI::db > --EXITED WITH ERROR from main handler eval block > Error: 0 So the main Apache handler is executing check_database() but not getting any further... The error you're getting comes when the SPOPS error object hasn't been created properly. I suspect that it might be on server startup that this happens. What do you see in your main Apache server error log? That is, not the one that's the virtual host. On my system I have: /home/httpd/website/logs/error_log_modperl -- vhost errors /usr/local/apache/logs/error_log_modperl -- server errors Normally you'll see something like the startup messages: [Sun Mar 3 13:17:12 2002] [info] created shared memory segment #45187096 [Sun Mar 3 13:17:12 2002] [notice] Apache/1.3.20 (Unix) mod_perl/1.26 configured -- resuming normal operations [Sun Mar 3 13:17:12 2002] [info] Server built: Nov 14 2001 22:57:31 But this is where errors that get generated during server startup AND child initialization (when the SPOPS classes get created) get put. Hope this helps, Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |