Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Paul] Unknown method 'load' called at...

Quote Reply
Re: [Paul] Unknown method 'load' called at... In reply to
I am switching to mod_perl. I have installed it on the server, and I have changed the httpd.conf file.

There was no perl startup file, so I created one with this in it:

use lib '/usr/local/etc/httpd/cgi-bin/links/admin';
use Links::mod_perl;
use lib '/usr/local/etc/httpd/cgi-bin/gforum/admin';
use GForum::mod_perl;

I included reference to it in the httpd.conf file, just after the line about mod_perl

PerlRequire /usr/local/etc/httpd/conf/startup.pl

I got this error, so I have commented out that line in the httpd.conf file:

Server Configuration Error

Syntax error on line 37 of /usr/local/etc/httpd/conf/httpd.conf: Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/local/etc/httpd/cgi-bin/links/admin /usr/local/lib/perl5/5.6.1/i386-freebsd /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.00503/i386-freebsd /usr/local/lib/perl5/5.00503 /usr/local/lib/site_perl . /usr/local/etc/httpd/ /usr/local/etc/httpd/lib/perl) at /usr/local/etc/httpd/cgi-bin/links/admin/Links/mod_perl.pm line 21. BEGIN failed--compilation aborted at /usr/local/etc/httpd/cgi-bin/links/admin/Links/mod_perl.pm line 21. Compilation failed in require at /usr/local/etc/httpd/conf/startup.pl line 4. BEGIN failed--compilation aborted at /usr/local/etc/httpd/conf/startup.pl line 4. Compilation failed in require at (eval 2) line 1.

Any ideas how I can get mod_perl working properly?
Subject Author Views Date
Thread Unknown method 'load' called at... xev 5565 Jan 19, 2003, 5:09 PM
Thread Re: [xev] Unknown method 'load' called at...
Paul 5454 Jan 19, 2003, 5:26 PM
Thread Re: [Paul] Unknown method 'load' called at...
xev 5465 Jan 19, 2003, 5:32 PM
Thread Re: [xev] Unknown method 'load' called at...
xev 5452 Jan 21, 2003, 1:08 AM
Thread Re: [xev] Unknown method 'load' called at...
Jagerman 5433 Jan 21, 2003, 8:22 AM
Thread Re: [Jagerman] Unknown method 'load' called at...
xev 5442 Jan 22, 2003, 4:00 AM
Thread Re: [xev] Unknown method 'load' called at...
Jagerman 5422 Jan 22, 2003, 12:16 PM
Thread Re: [Jagerman] Unknown method 'load' called at...
xev 5433 Jan 22, 2003, 8:02 PM
Post Re: [xev] Unknown method 'load' called at...
xev 5441 Jan 23, 2003, 1:25 AM
Thread Re: [Paul] Unknown method 'load' called at...
tora 5304 Oct 30, 2003, 12:13 PM
Thread Re: [tora] Unknown method 'load' called at...
yogi 5335 Oct 30, 2003, 12:20 PM
Thread Re: [yogi] Unknown method 'load' called at...
tora 5300 Oct 30, 2003, 1:36 PM
Post Re: [tora] Unknown method 'load' called at...
Alex 5321 Oct 30, 2003, 4:19 PM