[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
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.

Here is a portion of the code that should be relative for this:

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 +';
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.

2019-07-07 Athanasius added code tags and removed paragraph tags and line breaks within code


In reply to Module unknown by traincity

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.