Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Premature end of script  (Read 275 times)
0 Members and 1 Guest are viewing this topic.
m_a_b
Guest
« on: May 17, 2004, 04:41:00 PM »

I am trying to install this script on a linux server running perl 5.8.1.  I uploaded the files in Dreamweaver and set the permissions as stated.  I verified the permissions settings in the cPanel File Manager and they were correct.  I also checked that they were ASCII format there.  However, I get the Error 500 Internal Server Error when I try to run the scripts.  I checked the error log and it is giving me the following:

[Mon May 17 14:23:51 2004] [error] [client 65.6.9.104] Premature end of script headers: /home/barrei2/public_html/cgi-bin/debug.pl

I searched the forums here and saw a few f the same problems, but they were mostly permissions settings issues.  I called my host and they said that they allow files and folders to be set to 777, so that is not a problem.  I also did not see mod_perl in the installed perl modules list, but I am unfamiliar with it, so that may not be the proper place to look for it.  Just to test, I also set the $BASE_DIR as follows for one of the files, but it did not help:
$BASE_DIR = "/home/barrei2/public_html/cgi-bin/";
and
$BASE_DIR = "/home/barrei2/public_html/cgi-bin/calendarscript";

The other 2 files, I left the # in place for comparison.  any help is appreciated.

Logged
m_a_b
Guest
« Reply #1 on: May 17, 2004, 07:55:00 PM »

oops!  I got it figured out.  Turns out that Dreamweaver screwed up the ascii transfer.  I did it in WS_FTP and it worked fine.
Logged
Pages: [1]   Go Up
Print
Jump to: