Results 1 to 5 of 5

Thread: Need some help with new script install, Please...

  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need some help with new script install, Please...

    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.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Try contacting your host. They would be able to help you.
    Jeremy | jfein.net

  3. #3
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Can you post your whole authenticate file...?
    Jeremy | jfein.net

  5. #5
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have someone working on resolving this problem for me now. Thanks~

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •