The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> Premature End of Script Error
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1080492461

Message started by hadishon on 03/28/04 at 18:47:41

Title: Premature End of Script Error
Post by hadishon on 03/28/04 at 18:47:41

This is the Error that I receive when I try to open the script:

[Sun Mar 28 10:39:26 2004] [error] [client ***.***.**.*] Premature end of script headers: eAuction.pl
[Sun Mar 28 10:39:26 2004] [error] [client ***.***.**.*] failed to open log file /var/log/httpd/suexec_log
[Sun Mar 28 10:39:26 2004] [error] [client ***.***.**.*] fopen: Permission denied


I tried a couple suggestions elsewhere in the forums but can't seem to get anything but a 500 error.


I double checked that I upload in ASCII and CHMOD properly.

I am using version 5.008 of Perl on a Apache/2.0.46 (Red Hat) server using Plesk 7 control panel.

Any suggestions on why I might be receiving this error?

I can't create at root.  When at root, my cgi-bin and my httpd (web docs) page are at the same level ( can see the folder for httpd docs and cgi-bin at root).  Could this be a problem?

Do I have to manually put the paths in the script?

This is the only thing that I could think of... of maybe my version of perl?


Thanks,
Michael


Title: Re: Premature End of Script Error
Post by Forum Admin on 03/29/04 at 14:36:37

Hi Michael,

it's a security problem to have the cgi-bin directory as a subdirectory of the web-dir.
But you can run the auction by setting the pathes by hand.


Title: Re: Premature End of Script Error
Post by hadishon on 03/29/04 at 17:50:25

My cgi-bin is not a subdirectory of the web dir (httpdocs) it is at the same level to root.  At root I see:

-anon_ftp
-cgi-bin
-httpdocs
-httpsdocs
-statistics

I've been trying several differant basepath configs etc and can't get the script to come up.

How do I enter the base paths in the script by hand?

Or do I need to do something else?

Thanks!

Title: Re: Premature End of Script Error
Post by hadishon on 03/29/04 at 18:07:25

Does the basepath need a trailing slash / ?

By default, there is no slash.  This is what is by default:

# 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';

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