PDA

View Full Version : Login page wants to download


alex
02-28-2006, 09:10 PM
I am having a problem with this board:
www.dreamsunlimitedtravel.com
Whenever someone tries to log in it asks if they want to open or save the file login.php! I can't seem to find the problem in the configuration

mistwang
03-01-2006, 07:19 AM
Looks like php script handler has not been set properly, you can try another simple php script. And you need to clear your browser cache as well.

alex
03-02-2006, 11:57 PM
Sorry I gave the wrong link!
Try www.dreamsboards.com
php pages are working fine it's the login script that wants to download

mistwang
03-03-2006, 08:52 AM
It does not happen to me, clear your browser cache and try again. or try it with different browser.

alex
03-03-2006, 07:12 PM
That's really weird, it happens everytime and I've cleared my cache and logged in on several different computers. I am also getting the complaint from a number of other users.
Whenever I put in a valid username and password it tries to download login.php. It started doing this after I switched to the lite speed lsapi

Xorlev
03-03-2006, 07:18 PM
Did you modify the admin php installation as well? That'd do it.

xing
03-04-2006, 01:37 AM
It doesn't happen to me in both firefox and ie 6.

Alex, are you using vbulletin's builtin compression? If so, disable it. Having compression on both php and litespeed for php content can cause some browsers to barf from past experience.

alex
03-07-2006, 10:34 PM
This happend after I switched to litespeed lsapi
I just don't seem to be able to figure this out.
Let me try to explain clearly what is going on
2 different boards on the same server
www.disboards.com
www.dreamsboards.com
disboards.com is working fine

on dreamsboards when I attempt to log in to the board or the admin control panel it wants to download index.php
in firefox it asks what I want to do with this file
If I create a new user it logs in the first time but if I log out and try to go in again the same thing happens
It is happening to many people and I have tried it on a few browsers

I have made sure all the litespeed settings match for both boards
I have replaced index.php
I turned on debug logging and did not see anything there

mistwang
03-08-2006, 10:04 AM
I debugged the response header with LiveHTTPHeaders under firefox, I got header


HTTP/1.x 200 OK
Server: LiteSpeed
Date: Wed, 08 Mar 2006 17:46:34 GMT
Content-Length: 2455


Other headers were missing, like "Content-Type" and "Transfer-Encoding". Maybe you were not using the latest lsphp binary built with the latest LiteSpeed PHP SAPI, you can try the lsphp 4.4.2 binary from our package under lsws/admin/fcgi-bin/admin_php. just make sure other PHP extensions match the PHP version.

Also you can try a older version of LSWS like 2.1.9 if you still have it. I want to make sure it is not a bug introduced in the new LSWS release.

alex
03-08-2006, 12:49 PM
I will try that.. I just wanted to add I made a mistake in my post, it is login.php causing the problem not index.php