The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> My attempt at getting this to work :(
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1174541204

Message started by GoranCro on 03/22/07 at 06:26:43

Title: My attempt at getting this to work :(
Post by GoranCro on 03/22/07 at 06:26:43

Trying to make it work @ http://gorancro.awardspace.com/cgi-dir/eAuction161/eAuction.pl

Anyway heres the error:
Quote:
[gorancro.awardspace.com] [Wed Mar 21 23:20:14 2007] [error] [client 75.132.33.136] Premature end of script headers: eAuction.pl | (null) , referer: http://gorancro.awardspace.com/cgi-dir/eAuction161/eAuction.pl
Error 500: Script Execution Failure
Description: The server encountered an internal error or misconfiguration and was unable to complete your request.

Most common reasons for returning this error message are:

• File Upload Mode
When you upload Perl, CGI scripts via FTP you should use always ASCII mode. If you get "Error 500: Script Execution Failure" you should check whether your FTP client uses ASCII mode when uploading your scripts, because if it uses BINARY mode to upload your scripts they won't work on the server. The problem caused by wrong upload mode is associated with the way different operating systems handle the "end of line" character. Unix system uses a "line-feed" (LF), Windows uses a "carriage-return" (CR) and "line-feed" (LF) pair. That's why it is very important that you set the uploading mode to ASCII.

• File Permissions
When you upload scripts via FTP the file permissions are set by default to 755. If you get "Error 500: Script Execution Failure" you should check whether your scripts have 755 permissions. Otherwise your scripts have lower level of permissions and does not support execution upon request. The octal representation of the 755 permission is equal to the following textual format: -rwxr-xr-x
Most FTP clients support the CHMOD command which is used for setting file permissions. In case you have set improper permissions to your scripts, use your FTP client and set "Read, Write, Execute" permissions for the owner, "Read, Execute" permissions for the group and everyone else.

• Script Errors
This is the third well known reason for getting "Error 500: Script Execution Failure" upon execution of your scripts. Check your scripts for any obvious syntax or programming errors to make sure your code is not broken.

I checked and made sure the permissions were set right. Also that I did not upload in Auto or binary. Check!
The only thing I can think of is the very last thing. Heres how the beginning looks:

Quote:
# The name of your servers cgi-bin directory
   $config{'cgi_dir'}            = 'cgi-dir'; # Default for most servers
   
# The cgi-bin subdirectory where your eAuction.pl will be stored
   $config{'auction_dir'}      = 'eAuction161';
   
# The Path to a 'NON-WEBACCESSABLE' directory of your system
# Maybe you have to chmode it if you use your own setting

  $config{'get_path'}              = 1; # Set this from 1 to 0 if you want to use your own setting  
  $config{'basepath'}              = '/Your/Basepath';

# You need to assign either a mail program or
# a mail host so e-mails can be sent out.
# Configure your MAIL PROGRAM

  $config{'get_mail'}            = 1; # Set this from 1 to 0 if you want to use your own setting  
  $config{'mailprog'}            = '/Your/Path/To/sendmail'; # no additional options please
 
# or Configure your MAIL HOST (SMTP)
   #$config{'mailhost'}      = '';    
   
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;

Sorry I only really know HTML. Never dabbed into perl, php, or anything else

Title: Re: My attempt at getting this to work :(
Post by Dieter Werner on 03/22/07 at 21:16:44

These topic has been discussed very often ...
please use the search function of the forums.

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