Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2006
    Posts
    13
    Plugin Contributions
    0

    Default Can't login to Admin

    I can't get into admin. I ran the sql from an earlier thread and it recreated the admin table with the username Admin etc... But, when I try and log in with Admin / admin it tells me that I'm using the wrong user / pass. I checked the fields and they are correct as per the earlier thread with email admin@localhost and username Admin, so I know the sql worked. Now I'm really stuck. I know it's n not a db problem because the front end of the cart is working perfectly. What do I do now?

  2. #2
    Join Date
    Mar 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't login to Admin

    BTW, if I try and resend the pass to admin@localhost it also tells me I'm using the wrong email address.

  3. #3
    Join Date
    Mar 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't login to Admin

    Seems I ran into the php 5.2 update bug.
    This fixed it (from another thread):

    edit /includes/functions/sessions.php
    Code:

    function _sess_write($key, $val) {
    global $db;

    change to:
    Code:

    function _sess_write($key, $val) {
    // The following is only to work around a PHP 5.2.0 bug:
    //global $db;
    $db = new queryFactory();
    $db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);

    Option (b) may or may not be "complete", and has only had preliminary testing. The best fix will be to have PHP fix their bug, of course.

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,128
    Plugin Contributions
    0

    Default Re: Can't login to Admin

    Thanks for posting the solution to the situation. I'm sure it will help others in the same boat.

  5. #5
    Join Date
    Oct 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: Can't login to Admin

    akbeech, you are great.

    Thanks alot for the solutions.

    Thanks

 

 

Similar Threads

  1. Admin Level for this login / ADMIN DEMO
    By AndrewClarke in forum Basic Configuration
    Replies: 2
    Last Post: 16 Nov 2006, 10:42 AM
  2. Admin login problem (PHP 5.2.0 globals bug)
    By xplorer in forum Installing on a Windows Server
    Replies: 4
    Last Post: 6 Nov 2006, 10:33 AM
  3. Admin login with Opera
    By sstray in forum General Questions
    Replies: 4
    Last Post: 5 Nov 2006, 05:11 PM

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
  •