Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    107
    Plugin Contributions
    0

    Default Cannot log into admin, or user login after moving servers

    version: 1.3.8

    I moved 2 zencarts to the same server they worked okay, when i moved this last one I cannot log in to admin or as a customer.

    I ran the fix cache utility and also tried to reset the admin user/pass with the utilty but get this error message:

    Failed to execute SQL : SQL DELETE FROM admin WHERE admin_name = 'Admin'; INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level) VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1); failed : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level) VALUES ('Ad' at line 1
    I think the sql and php is a higher version on this server but as i said the other 2 worked fine?

    Andy

  2. #2
    Join Date
    Oct 2005
    Posts
    107
    Plugin Contributions
    0

    Default Re: Cannot log into admin, or user login after moving servers

    I meant to say when i try to log in as admin I do not get any error message. The login box just clears...

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Cannot log into admin, or user login after moving servers

    Quote Originally Posted by andyase View Post
    I meant to say when i try to log in as admin I do not get any error message. The login box just clears...
    That's a sessions and/or cookies problem, not a password problem. A password problem will say so. A session/cookie problem will say nothing.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v155 cannot log into admin after install
    By earmsby in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 26 Apr 2016, 08:26 PM
  2. v139h Cannot log in to Admin after changing servers - have read FAQ's
    By shags38 in forum General Questions
    Replies: 5
    Last Post: 31 Jul 2013, 02:18 PM
  3. v139h Cannot log in into admin after changing host
    By ekele in forum General Questions
    Replies: 2
    Last Post: 2 Sep 2012, 09:17 PM
  4. Cannot log into admin after changing directory name
    By brennen in forum Customization from the Admin
    Replies: 4
    Last Post: 13 Sep 2010, 05:11 PM

Posting Permissions

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