Zen Cart Logo
Forums / General Questions / Help please cant log in to admin

Help please cant log in to admin

Views: 794

Results 1 to 10 of 10
28 Nov 2012, 10:25 PM
#1
tundria avatar

tundria

New Zenner

Join Date:
Dec 2011
Posts:
36
Plugin Contributions:
0

Help please cant log in to admin

Hi

i have recently changed url to new one and cant log in to admin or rest admin password ?

Please let me what can i do ?

Thank you all

28 Nov 2012, 10:46 PM
#2
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Help please cant log in to admin

Take a look at the contents of "includes/configure.php" and "admin/includes/configure.php" and make sure the new URLs are reflected in both files. (HTTP_SERVER, HTTPS_SERVER, etc)

If you moved hosting providers or servers you may need to adjust additional configuration options.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

28 Nov 2012, 11:36 PM
#3
tundria avatar

tundria

New Zenner

Join Date:
Dec 2011
Posts:
36
Plugin Contributions:
0

Re: Help please cant log in to admin

Hi i have corrected still not working:(

28 Nov 2012, 11:51 PM
#4
tundria avatar

tundria

New Zenner

Join Date:
Dec 2011
Posts:
36
Plugin Contributions:
0

Re: Help please cant log in to admin

I am trying now this:

Open your phpMyAdmin (supplied by your hosting company), select your store's database, then click the "SQL" tab and run this query:
Code:
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);
If you are using a prefix for your database tables, you'll naturally need to add that prefix to the table name above.
ie. "... FROM/INTO prefix_admin ...".

28 Nov 2012, 11:51 PM
#5
tundria avatar

tundria

New Zenner

Join Date:
Dec 2011
Posts:
36
Plugin Contributions:
0

Re: Help please cant log in to admin

but getting this error :Error
SQL query:

DELETE FROM admin WHERE admin_zen = 'Admin';

MySQL said:

#1046 - No database selected

28 Nov 2012, 11:52 PM
#6
tundria avatar

tundria

New Zenner

Join Date:
Dec 2011
Posts:
36
Plugin Contributions:
0

Re: Help please cant log in to admin

HELP
How the code should look like ?

29 Nov 2012, 12:14 AM
#7
tundria avatar

tundria

New Zenner

Join Date:
Dec 2011
Posts:
36
Plugin Contributions:
0

Re: Help please cant log in to admin

hi just found out but now i am getting this message :There was a security error when trying to login. ?
how to fix it?

29 Nov 2012, 12:32 AM
#8
tundria avatar

tundria

New Zenner

Join Date:
Dec 2011
Posts:
36
Plugin Contributions:
0

Re: Help please cant log in to admin

ok final question now:how to do this:
change this line in admin Configure.php:
define('STORE_SESSIONS', '');
to:
define('STORE_SESSIONS', 'db');

Were can i find this in php myadmin on justhost?

29 Nov 2012, 2:38 PM
#9
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Help please cant log in to admin

If all you did was change your installation location (URL) all you should need to do is change the two configuration files. If you could provide us with additional information on what exactly changed it would be helpful. Are you using SSL? Can you provide copies of your two configure.php files (click advanced when replying and paste between "code" tags)?

Also this document may be helpful.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

29 Nov 2012, 10:01 PM
#10
tundria avatar

tundria

New Zenner

Join Date:
Dec 2011
Posts:
36
Plugin Contributions:
0

Re: Help please cant log in to admin

Hi Guys

could you please tell me step after step how cant i fix this issue ?
i have just host and zen cart 1.3.9
Please let me know but step by step as i have no idea how to fix it and it is so frustrating i cant log in to admin.

Thank you so so much all