Page 1 of 1

CGI Error after installation.

Posted: Sat Jul 29, 2006 4:58 am
by Chief
Hi, I think I have read all post in this forum lol

I check since a week to see if I am alone with this problem

I install in local with easyphp and its work good.

When I upload into my web server I have to start the installation by serendipity_admin.php ( its not start automatic by index redirection )

I install table succesfuly ... the config file is written but when I come back to home I get this error
CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.
The server run on Windows 2003 server, php 4.2.3.

I have remove all .htaccess from the site and nothing

I have some phpnuke and phpbb installed already and its work fine since 4 years... only serendipity give me hard time.

I feel stupid to ask assistance I like the challenge lol but now I cant wait to setup and try my serendipity webblog online ... thx !

Posted: Sun Jul 30, 2006 3:27 am
by Chief
Ok guys ... I found something ... can you explain why ? and its important to leave this part of the code in index.php ?

//header('HTTP/1.0 200');
//header('X-Blog: Serendipity'); // Used for installer detection


I have disable these two lines before install the package. but I have to use expert installation, not work in easy installation I have blank page with some link ( look like I have no theme on ) after the installation is done.

in Expert mode I put mysql user and password and install successful. now I see my blog instead of the CGI error.

I try to go in admin mode and its not reconize my username and password. cant login ;-(

[UPDATE]

I have retry and checking all my entries ... my username and password is filled well but in the database the user is not updated. John Doe is not changed by the new user.

I have manualy udate the Uesrname and Password ( encrypted ) and I can login into the admin panel.

Dont know yet if all modules is working but I think its a good start to debug.


Maybe the expert here can see something wrong?

Thx !

Posted: Mon Jul 31, 2006 1:44 pm
by garvinhicking
Hi!

First off, the header() changes are not really required - they only ease up operation in Apache webserver environments. So you can safely comment them out without breaking stuff.

The second problem seems to be caused by multiple re-installations. When serendipity is once installed, and then re-installed into the same database, it will not remove or delete existing entries! So you should manually delete all serendipity_* tables and then reinstall - this time you should get everything as expected!

Best regards,
Garvin

Posted: Mon Aug 07, 2006 4:27 pm
by Chief
Sorry if I was long to answer ... vacation time lol

Thx for the answer.

I run in test mode since 2 weeks and its lrun great ... I need a couple of adjustments in the content but overall I am very happy :wink: