> > [416]ERR: 24: Error in Perl code: Can't locate loadable object for
module
> > Apache::File in @INC (@INC contains:

Perl is looking for some C code, which correspond to Apache::File and is not
finding it. Normaly this C code would be in File.so, but in this case it is
part of mod_perl, but is only compiled in when you give

PERL_FILE_API=1

to mod_perl's Makefile.PL.

> [416]ERR: 24: Error in Perl code: Can't locate object method "new" via
> package "Apache::File" at /wwww/htdocs/init.epl line 9.

This is happeing because Perl executes the "use" only once, on the following
calls to the page it won't be executed, but Apache::File isn't loaded
completly, so you get this error.

Gerald

P.S. If you can't or don't want to recompile mod_perl with the above switch,
use IO::File instead

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to