Results 1 to 6 of 6

Thread: admin/member login

  1. #1
    Join Date
    Jan 2004
    Location
    Chicago
    Posts
    54

    Default admin/member login

    I just moved to a new web host and now I can't log into my admin section or the member section. I checked and register_globals is ON. The rest of the site appears to work. I've checked through the forums but almost everything I have read deals with making sure register_globals is ON. Any help would be appreciated. My site is www.chitownrealty.com if that helps.

    Thanks.

    P.S. Here is the phpinfo link
    www.chitownrealty.com/phpinfo.php
    Last edited by tcdrake; 01-14-2007 at 12:54 AM. Reason: phpinfo.php info

  2. #2
    Join Date
    Nov 2004
    Location
    Sanlucar de Barrameda, Spain.
    Age
    50
    Posts
    484

    Default Re: admin/member login

    Do a search for register 'globals' on here and you will some "super_globals" code that I and others have posted which will go in your common and should sort your problem out.

    Ian

  3. #3
    Join Date
    Jan 2004
    Location
    Chicago
    Posts
    54

    Default Re: admin/member login

    Quote Originally Posted by ian_ok View Post
    Do a search for register 'globals' on here and you will some "super_globals" code that I and others have posted which will go in your common and should sort your problem out.

    Ian
    Thanks for the info. I added the following to my common.php file...
    /// Turn GLOBALS ON
    if (!ini_get('register_globals')) {
    $superglobals = array($_SERVER, $_ENV,
    $_FILES, $_COOKIE, $_POST, $_GET);
    if (isset($_SESSION)) {
    array_unshift($superglobals, $_SESSION);
    }

    foreach ($superglobals as $superglobal) {
    extract($superglobal, EXTR_SKIP);
    }
    ini_set('register_globals', true);

    This allowed me to login but now I have to login for every admin section I go to plus it doesn't keep my changes. I cleared my cookies but no luck. Any ideas?

  4. #4
    Join Date
    Nov 2004
    Location
    Sanlucar de Barrameda, Spain.
    Age
    50
    Posts
    484

    Default Re: admin/member login

    Try adding this to your .htaccess file:

    php_value session.use_trans_sid 0

    Also make sure you have the folders permissions set correct.

    Ian

  5. #5
    Join Date
    Jan 2004
    Location
    Chicago
    Posts
    54

    Default Re: admin/member login

    Quote Originally Posted by ian_ok View Post
    Try adding this to your .htaccess file:

    php_value session.use_trans_sid 0

    Also make sure you have the folders permissions set correct.

    Ian
    they are set right. I am about to give up. The only reason I want to stick with this version and not upgrade is the look and feel of my current setup. Any last ditch ideas?

  6. #6
    Join Date
    Nov 2004
    Location
    Sanlucar de Barrameda, Spain.
    Age
    50
    Posts
    484

    Default Re: admin/member login

    Have sent you a pm.

    Ian

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
  •