Afternoon Group. I have been working on this for some time and Googling
it. So now I am here.
I am migrating to a new server. I am having some weird problems. For
one, I can't seem to get CPAN to update modules... or install the
'r'ecommened updates. Any help with that would rock.
The core issue is...
ModPerl::Registry: Can't locate object method "request" via package
"Apache" at /usr/lib/perl5/5.8.0/CGI.pm line 342.!
The location of the error changes as I do misc. work arounds. I have had
no luck with Apache->request and as best I can tell I am still using
mod_perl 1.99 on the new server. I will try to post as much debug data
as I can. Please ask for more info.... if it is needed.
ModPerl::Registry: Can't locate Apache.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
/usr/lib/perl5/5.8.0/CGI.pm line 191.!Compilation failed in require at
/home/httpd/vhosts/bandwidthmarket.com/perl/lookuputil line 14.!BEGIN
failed--compilation aborted at
/home/httpd/vhosts/bandwidthmarket.com/perl/lookuputil line 14.!
The script(s) seem to work off the command line. However there are many
errors/warnings. I have posted some below. The error messages have
changed many times as I try to work with the code and cut out
non-working segments. Please excuse the mess of this post. I am very
frusterated.
Use of implicit split to @_ is deprecated at /usr/lib/perl5/5.8.0/BWM.pm
line 83.
lookuputil: "my" variable $sth masks earlier declaration in same scope
at lookuputil line 605.
lookuputil: Use of uninitialized value in string ne at
/usr/lib/perl5/5.8.0/lookuputil_extras.pl line 91.
^^^ Many of those.
lookuputil: Use of uninitialized value in substitution iterator at
lookuputil line 246.
lookuputil: Use of uninitialized value in string eq at
/usr/lib/perl5/5.8.0/lookuputil_extras.pl line 38.
^^^ Many of those.
Again, I am sorry for the mess. I don't even know what data would help.
I get so mad that it is not working... I revert to the working code off
the old server and just start over with a completely different approach.
The basics:
This is a search system... The script connects to a database and builds
the user interface to search the database(s). The script also does the
searching/sorting etc. I wouldn't expect that the core code is the
issue. I do use perl Modules to provide some backend functions to the
main script and everything seems fine when I test all the provided
functions/methods/etc.
Jon