Another error in which I think I have to change the link to itemlist.pl in a module? I am not sure. But there is no module in C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread Actually that isn't the end of the path or there is no .pm file at that location. What am I missing here? One other time I had to change the path in the script and module.[Wed Jul 03 03:54:13.006426 2019] [cgi:error] [pid 6060:tid 1128] [cli +ent ::1:63636] End of script output before headers: itemlist.pl, refe +rer: http://localhost/choo/cgi-bin/ua/main.pl [Wed Jul 03 03:54:13.006426 2019] [cgi:error] [pid 6060:tid 1128] [cli +ent ::1:63636] AH01215: Can't locate http://localhost/choo/cgi-bin/ua +/includes/print_item_list.pl in @INC (@INC contains: C:/Strawberry/pe +rl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/perl/site/lib C:/S +trawberry/perl/vendor/lib C:/Strawberry/perl/lib) at C:/Apache24/htdo +cs/choo/cgi-bin/ua/itemlist.pl line 40.\r: C:/Apache24/htdocs/choo/cg +i-bin/ua/itemlist.pl, referer: http://localhost/choo/cgi-bin/ua/main. +pl
Here is a portion of the code that should be relative for this:
The last four lines I believe are the ones that are affected. The first of the four is the one directly involved. Once again, thanks for any help.use DBI; use IO::Socket; use UltimateAuction qw(%form $couser $copass $db $dbh %config @auction +_types); use strict; use Digest::MD5 qw(md5_hex); require 'C:/Apache24/htdocs/choo/cgi-bin/ua/variables/variables.cgi'; require 'C:/Apache24/htdocs/choo/cgi-bin/ua/variables/accountvars.cgi' +; &UltimateAuction::service; # connect to our database my $db = &UltimateAuction::mysql_connect; my %cookie = &UltimateAuction::get_cookie(); my $couser = $cookie{'Username'}; my $copass = $cookie{'Password'}; local %form = &UltimateAuction::fetch_form; require 'http://localhost/choo/cgi-bin/ua/includes/print_item_list.pl' +; require 'http://localhost/choo/cgi-bin/ua/includes/print_category_list +.pl'; require 'http://localhost/choo/cgi-bin/ua/includes/print_category_feat +ured.pl'; require 'http://localhost/choo/cgi-bin/ua/includes/gallery_featured.pl +';
2019-07-07 Athanasius added code tags and removed paragraph tags and line breaks within code
In reply to Module unknown by traincity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |