eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1
My attempt at getting this to work :( (Read 209 times)
GoranCro
eAuction Novice
*
Offline

I Love Perl

Posts: 2

Gender: male
My attempt at getting this to work :(
03/22/07 at 06:26:43
 
Trying to make it work @ Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


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: Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!

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
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Online

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: My attempt at getting this to work :(
Reply #1 - 03/22/07 at 21:16:44
 
These topic has been discussed very often ...
please use the search function of the forums.
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
Pages: 1


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only