I have had several problems involving missing modules which so far seem to be cleaned up. The last one was Image::Magick.
So now I have a new problem. (I am a novice at perl so please excuse my ignorance in this description of what is happening.)
I am now getting this error in apache error logs:
I know that path variables/variables.cgi is valid as the structure of the directories is the same as what is on unix.[Mon Jun 24 22:30:17.799951 2019] [cgi:error] [pid 18036:tid 1832] [cl +ient ::1:53447] End of script output before headers: main.pl [Mon Jun 24 22:30:17.801947 2019] [cgi:error] [pid 18036:tid 1832] [cl +ient ::1:53447] AH01215: Can't locate variables/variables.cgi in @INC + (@INC contains: C:/strawberry/perl/site/lib/MSWin32-x64-multi-thread + C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawbe +rry/perl/lib) at C:/strawberry/perl/site/lib/UltimateAuction.pm line +44.\r: C:/Apache24/htdocs/choo/cgi-bin/ua/main.pl [Mon Jun 24 22:30:17.801947 2019] [cgi:error] [pid 18036:tid 1832] [cl +ient ::1:53447] AH01215: Compilation failed in require at C:/Apache24 +/htdocs/choo/cgi-bin/ua/main.pl line 20.\r: C:/Apache24/htdocs/choo/c +gi-bin/ua/main.pl [Mon Jun 24 22:30:17.803027 2019] [cgi:error] [pid 18036:tid 1832] [cl +ient ::1:53447] AH01215: BEGIN failed--compilation aborted at C:/Apac +he24/htdocs/choo/cgi-bin/ua/main.pl line 20.\r: C:/Apache24/htdocs/ch +oo/cgi-bin/ua/main.pl
This is what I think this is referring to, but I could be wrong This is located in the main.pl script: require "variables/variables.cgi";
I did google this type of error and although I didn't understand it, it could be related to a permission issue??
I'm thinking it is also possible that it is related to my running perl (on strawberry) in a different directory position than on the lynx. But other than those possibilities, I have no clue. Hopefully this will be obvious to someone with experience in perl.
Please let me know if you need more info. Thanks very much!
2019-07-01 Athanasius added code tags
In reply to Re^4: Sorry.. Same problem but some progress!
by traincity
in thread Sorry.. Same problem but some progress!
by traincity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |