Log in

View Full Version : Need some help with new script install, Please...



bear
01-06-2009, 07:40 PM
I just installed a new script on my site and while the site functions fine, I'm not able to get into the admin panel for the script. I get a login box that says,

A username and password are being requested by http://www.mysite.com. The site says: "Test Authentication System"

I'm supposed to be able to login using admin/test but that doesn't work. No matter what name and password I use it won't work.

Here is the the part of the code I find at the top of the config_inc.php in the admin folder, I don't know if this is where the problem is but it seems related to it.

<?
function authenticate() {
global $err;
header( "WWW-Authenticate: Basic realm=\"Test Authentication System\"");
header( "HTTP/1.0 401 Unauthorized");
die($err[1]);
}

foreach($_POST as $k => $v){$$k=$v;}
foreach($_GET as $k => $v){$$k=$v;}




// MySQL details


Please, if anybody could tell me what I need to do to solve this problem I would really appreciate it. I've been trying to figure it out on my own now for a couple of days with no luck whatsoever.

Nile
01-07-2009, 03:05 AM
Try contacting your host. They would be able to help you.

bear
01-07-2009, 05:02 AM
My host says it's a script problem, and they don't work on third party scripts. I had this problem once before on a similar script and a kind person was able to set it right for me quite simply he said at the time. Unfortunately I am not able to get a hold of that person to help me again with this script.

I would of thought someone in this forum would be able to figure it out, but I guess not.

Thanks anyway

Nile
01-09-2009, 03:25 AM
Can you post your whole authenticate file...?

bear
01-09-2009, 08:49 PM
I have someone working on resolving this problem for me now. Thanks~