Zen Cart Logo
Forums / General Questions / Login issues

Login issues

Locked

Views: 897

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
23 Apr 2009, 6:24 PM
#1
shanghai avatar

shanghai

New Zenner

Join Date:
Apr 2007
Posts:
15
Plugin Contributions:
0

Login issues

Hi.....
zen cart version 1.3.8a
Suddenly, today, my username and password no longer allowed me to log in to admin.
I followed the instructions to run the following SQL change:


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);

I am now able to log in to admin using the default logins, but when I try to enter a new username and password by going to:
Admin>Tools>admin settings
I get the following error message:

Parse error: parse error, unexpected T_LNUMBER in /home/content/x/x/x/xxxxxxxxxxxxx/html/admin/includes/languages/english/admin.php on line **49
**
I don't know how to correct this error. Does anyone have a suggestion?
Thanks

23 Apr 2009, 8:23 PM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Login issues

You need to CHMOD the permissions on your configure.php files, temporarily until you've set up your new passwords.... (I think).

23 Apr 2009, 8:44 PM
#3
shanghai avatar

shanghai

New Zenner

Join Date:
Apr 2007
Posts:
15
Plugin Contributions:
0

Re: Login issues

Thanks for your response.
I think I may have resolved the issue. I deleted the offending 'line 49' - which defined the number of characters required for my password. This allowed me to bypass the error message for 'tools - admin settings' so I could reset my username and password. I then replaced the 'line 49' which I'd previously deleted.
So far it seems to be working ok.

24 Apr 2009, 9:58 AM
#4
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Login issues

Brilliant, thanks for sharing the fix.