PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Script Installation (http://www.phpdig.net/forum/forumdisplay.php?f=37)
-   -   500 Internal Error (http://www.phpdig.net/forum/showthread.php?t=841)

notyx 04-18-2004 10:07 PM

500 Internal Error
 
Hi, thanks for the great software however I can't get into the admin for some reason.

If I put in incorrect database connection information I get the appropriate error. But when I use the correct ones, I get a 500 Internal Error message. By checking the error logs for apache, its found that there is a "malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: /apache/php/php.exe".

Ironically if I open the search page it works. What is the problem here?

Thanks

notyx 04-19-2004 12:41 AM

Hi again, traced the problem and found that the suspect script is libs/auth.php, specifically line 26 "Header("HTTP/1.0 401 Unauthorized");". I don't know how modify this correctly so as a workaround I just set PHPDIG_ADM_AUTH to 0 for now. Ideas anyone?
Thanks

Charter 04-20-2004 10:21 AM

Hi. Is PHP installed as an Apache module?

notyx 04-20-2004 07:45 PM

Yes

Charter 04-20-2004 07:57 PM

Hi. I'm not sure. Try checking here for something that fits your OS/setup.

notyx 04-23-2004 10:08 PM

Thanks


All times are GMT -8. The time now is 06:18 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.