Zen Cart Logo
Forums / General Questions / Cannot log into admin, or user login after moving servers

Cannot log into admin, or user login after moving servers

Locked

Views: 1,260

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
4 Apr 2010, 10:46 AM
#1
andyase avatar

andyase

Zen Follower

Join Date:
Oct 2005
Posts:
102
Plugin Contributions:
0

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

4 Apr 2010, 11:02 AM
#2
andyase avatar

andyase

Zen Follower

Join Date:
Oct 2005
Posts:
102
Plugin Contributions:
0

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...

4 Apr 2010, 5:59 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

andyase:

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.