The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> eAuction wont run
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1137451354

Message started by anmb on 01/16/06 at 23:42:34

Title: eAuction wont run
Post by anmb on 01/16/06 at 23:42:34

Hi just spent ages trying to get eAuction to run.
Tried all the numerous previous suggestions about paths etc, server settings etc. NOTHING worked :(

This was the error I got:
Error
No such file or directory
YOUR SET UP IS NOT CORRECT
Click
auction Script-Forums
if you need support

I also got permission denied errors.

This post is to inform others of my solution to the problem in the hope that it helps.
in eAuction.pl the $ENV{'DOCUMENT_ROOT'} was being incorrectly set so I did the following:
1. made $config{'itdontwork'}  and made it equal to the same path as $config{'basepath'} in eConfig161.pl
2. changed the variable name  $ENV{'DOCUMENT_ROOT'} to $config{'itdontwork'} in eAuction.pl

and guess what it works fine now.  :D
As to why it picked up the wrong  $ENV{'DOCUMENT_ROOT'} I do not know as my perl knowledge is limited but the problem I had lay in the sub get_path part of the script.
I hope this helps and someone explains more about how $ENV{'DOCUMENT_ROOT'} was a problem and what exactly get_path is doing. I tried reading the code but got lost at ? do {, : do { and what $config{'op_system'} was for.
thanks Roy

Title: Re: eAuction wont run
Post by Dieter Werner on 01/17/06 at 14:21:57

The content of $ENV{'DOCUMENT_ROOT'} is delivered by your server.
If you want to know the whole environment of your server, save the following script as
dump.pl
upload it to your cgi-bin directory (chmod 755) and start it by typing
http://www.YourDomain/cgi-bin/dump.pl


Code:
#!/usr/bin/perl
use CGI qw/:standard/;
       
print header,
 start_html,
 h2("Parameter:"), CGI::as_string(),
 h2("Environment:"),
 (map { p("$_ => $ENV{$_}") } sort keys %ENV),
 end_html;

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.