FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Premature end of script headers on starting install.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Premature end of script headers on starting install.php [message #20767] Thu, 28 October 2004 09:03 Go to next message
dadij is currently offline  dadij   Iceland
Messages: 9
Registered: October 2004
Karma: 0
Junior Member
When I try to start install.php the browser immediately shows:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

The error log shows: Premature end of script headers: php-script

The directory and install.php are chmodded to 777.
OS: Linux
PHP version 4.3.6
safe_mode off

Installation tried with:
FUDforum v2.6.8 Release Candidate #1 and
FUDforum v2.6.7 with same results in both cases.

On the first run of install.php I got the step 1 screen, but something happened when I tried to go to step 2. After that I removed all files in the directory and created install.php again (gunzip and tar on the server).
Re: Premature end of script headers on starting install.php [message #20770 is a reply to message #20767] Thu, 28 October 2004 14:17 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Sounds like a PHP error (possible PHP crash), I wish I could tell you more but I'd only be able to do so by being on the server where this is happening.

FUDforum Core Developer
icon14.gif  Re: Premature end of script headers on starting install.php [message #20774 is a reply to message #20770] Thu, 28 October 2004 18:43 Go to previous messageGo to next message
dadij is currently offline  dadij   Iceland
Messages: 9
Registered: October 2004
Karma: 0
Junior Member
The solution to this problem was interesting. I changed the permission of install.php and the containing directory from 777 to 755 and that solved the problem!

I know that many will be surprised by this solution, but in some environments you are not allowed to open up completely CGI directories and scripts. I suddenly remembered this from a similar problem I ran into once with a Perl script.
Re: Premature end of script headers on starting install.php [message #20776 is a reply to message #20774] Thu, 28 October 2004 19:32 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I see, thanks for the update, I'll need to remember this solution for the future.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Smilies Not showing
Next Topic: Undefinded variable....in tree.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 14:10:53 GMT 2024

Total time taken to generate the page: 0.02597 seconds