Hi!
I just tried to install s9y on my webserver. I downloaded 0.7.1 from Sourceforge and extracted the contents to www.mydomain.com/serendipity.
But when I goto this URL, I get this famous internal server error...
My error-log says:
Tue Feb 15 00:11:22 2005] [error] [client 133.23.88.22] malformed header from script. Bad header=HTTP/1.0 200\r\n: /home/domains/mydomain.com/cgi-bin/php4
I'm running apache, mysql and php in cgi-mode...
What else do you need to know?
Thank you,
Jo
Installation Problems -> Error 500
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Installation Problems -> Error 500
This has been fixed in Serendipity 0.8
Please edit your index.php and search for "HTTP/1.0 200 \r\n" line, and remove the \r there, then everything should run.
Regards,
Garvin
Please edit your index.php and search for "HTTP/1.0 200 \r\n" line, and remove the \r there, then everything should run.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Still Installation Problems -> Error 500
Hi...
Removed the "\r", but now, my errorlog just tells me:
[Tue Feb 15 11:49:27 2005] [error] [client 133.23.88.22] malformed header from script. Bad header=HTTP/1.0 200\n: /home/domains/mydomain.com/cgi-bin/php4
What to try next? Could there be a problem with mod_rewrite or cgi-mode php?
Jo
Removed the "\r", but now, my errorlog just tells me:
[Tue Feb 15 11:49:27 2005] [error] [client 133.23.88.22] malformed header from script. Bad header=HTTP/1.0 200\n: /home/domains/mydomain.com/cgi-bin/php4
What to try next? Could there be a problem with mod_rewrite or cgi-mode php?
Jo
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Still Installation Problems -> Error 500
Hi!
I'm so sorry, I told you the wrong thing! Either you need to remove the \n as well, or you need to write this:
because currently the header output is in single quote, but double quotes would be needed!
Regards,
Garvin
I'm so sorry, I told you the wrong thing! Either you need to remove the \n as well, or you need to write this:
Code: Select all
header("HTTP 1/0 200\r\n");
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I'm sorry, then it seems that your CGI-configuration of PHP doesn't allow to emit headers.
Just delete the header() line then and set URL rewriting to "NONE" in configuration later on - then you should have no problems.
Regards,
Garvin
Just delete the header() line then and set URL rewriting to "NONE" in configuration later on - then you should have no problems.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/