Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
However:AH01215: Can't locate Error.pm in @INC (@INC contains: /srv/www/Direct +/perl-lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/pe +rl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/sh +are/perl5 .
give me:/srv/www/Direct/perl-lib/Portal
so, Error.pm exists! Furthermore, the login page that is producing the error has:ConfigError.pm DataIntegrityError.pm Error.pm JSTypeError.pm Page.pm SessionExpiredError.pm TypeError.pm DatabaseError.pm DebugError.pm FileSizeError.pm LockError.pm PermissionError.pm SystemError.pm
which, in my mind, means that the custom lib folder is declared explicitly, but @INC does not see it (?) Am I doing something wrong here?use lib '/srv/www/Direct/perl-lib'; use Portal::Page; use Portal::Error; use Portal::PermissionError; use Portal::DatabaseError; use Portal::SessionExpiredError; use DirectWeb::Database; use DirectWeb::Authenticator; use Error qw(:try); use CGI; use CGI::Cookie; use Log::Handler; use URI::Escape;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Custom module is present but not read by Apache (?)
by tobyink (Canon) on Dec 10, 2019 at 13:01 UTC | |
|
Re: Custom module is present but not read by Apache (?)
by Corion (Patriarch) on Dec 10, 2019 at 12:35 UTC | |
by Anonymous Monk on Dec 10, 2019 at 12:43 UTC | |
by Corion (Patriarch) on Dec 10, 2019 at 12:48 UTC | |
by Anonymous Monk on Dec 10, 2019 at 13:01 UTC | |
by Corion (Patriarch) on Dec 10, 2019 at 13:07 UTC | |
|