Zen Cart Logo
Forums / General Questions / Can't Login to admin

Can't Login to admin

Locked

Views: 3,302

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
7 Jan 2008, 10:29 PM
#1
bmpt avatar

bmpt

New Zenner

Join Date:
Jan 2008
Posts:
76
Plugin Contributions:
0

Can't Login to admin

Hello, i cant login to my admin page.

i installed zen cart and set all the admin username, password and email.
Then i switched out databases with one that was made for me.
I made sure all the info was the same and that my configure.php files were not changed.
i cleared all cookies
i went to myphpadmin, and used the sql query's that i found in the faqs

Howver, i still get the "wrong username or password" login message

is there anything i can do?

7 Jan 2008, 10:57 PM
#2
shackle avatar

shackle

Zen Follower

Join Date:
Apr 2006
Posts:
228
Plugin Contributions:
0

Re: Can't Login to admin

Try the resend password link.

If that doens't work you would need to go into phpmyadmin, and find the admin table. Then you need to find the email table, and change it your email so zen-cart can send you the password.

8 Jan 2008, 12:54 AM
#3
bmpt avatar

bmpt

New Zenner

Join Date:
Jan 2008
Posts:
76
Plugin Contributions:
0

Re: Can't Login to admin

Im not sure how to do that do i go the the phpmyadmin and do something or file the file in the file manager?

8 Jan 2008, 1:14 AM
#4
jammin320 avatar

jammin320

Zen Follower

Join Date:
Mar 2007
Location:
Seattle, WA
Posts:
158
Plugin Contributions:
0

Re: Can't Login to admin

The resend password link is on the login screen for the Admin page. If your email address needs updating, you will have to use phpmyadmin to change that value in the database. You'll know if your email is wrong if you click the resend button and you don't get an email in the next couple of minutes.

8 Jan 2008, 3:01 AM
#5
bmpt avatar

bmpt

New Zenner

Join Date:
Jan 2008
Posts:
76
Plugin Contributions:
0

Re: Can't Login to admin

How do you rechange the value for email?

8 Jan 2008, 6:18 PM
#6
jammin320 avatar

jammin320

Zen Follower

Join Date:
Mar 2007
Location:
Seattle, WA
Posts:
158
Plugin Contributions:
0

Re: Can't Login to admin

bmpt:

How do you rechange the value for email?

Log into PHPmyAdmin and open your Zen Cart DB.

In the admin table, find your user name and change the admin_email field for that row to what you need it to be. You can then go back to the admin login page and resend your password, it will go to that new email address.

8 Jan 2008, 11:30 PM
#7
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Re: Can't Login to admin

jammin320:

Log into PHPmyAdmin and open your Zen Cart DB.

In the admin table, find your user name and change the admin_email field for that row to what you need it to be. You can then go back to the admin login page and resend your password, it will go to that new email address.

I have tried this and it keeps telling me I've entered an invalid email address.
Now I'm locked out of my CP :-(

Robert

9 Jan 2008, 12:18 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Can't Login to admin

Rob905:

I have tried this and it keeps telling me I've entered an invalid email address.
Now I'm locked out of my CP :-(

Maybe you need to reset your admin password?
https://www.zen-cart.com/tutorials/index.php?article=2

9 Jan 2008, 12:24 AM
#9
jammin320 avatar

jammin320

Zen Follower

Join Date:
Mar 2007
Location:
Seattle, WA
Posts:
158
Plugin Contributions:
0

Re: Can't Login to admin

DrByte:

Maybe you need to reset your admin password?
https://www.zen-cart.com/tutorials/index.php?article=2

Perfect - do you have those articles memorized, or are you just good at finding the needed answer?:smile:

9 Jan 2008, 12:28 AM
#10
drbyte avatar

drbyte

Sensei

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

Re: Can't Login to admin

jammin320:

Perfect - do you have those articles memorized, or are you just good at finding the needed answer?:smile:

Good at searching :smile: ... cuz I hate retyping the same thing over again.

9 Jan 2008, 12:37 AM
#11
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Re: Can't Login to admin

DrByte:

Maybe you need to reset your admin password?
https://www.zen-cart.com/tutorials/index.php?article=2

That didn't work either, should I just backup mySQL and run the installer again? That way I can make sure the SSL is off at the same time. :frusty:

Thanks
Robert

9 Jan 2008, 1:07 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: Can't Login to admin

Rob905:

That didn't work either, should I just backup mySQL and run the installer again? That way I can make sure the SSL is off at the same time. :frusty:

If that's not working, then maybe you're pointed to the wrong database in your admin configure.php file?

9 Jan 2008, 1:17 AM
#13
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Re: Can't Login to admin

DrByte:

If that's not working, then maybe you're pointed to the wrong database in your admin configure.php file?

I had already checked that between the two config files and my phpAdmin and that part was correct.
It seems that by changing the "Store Session" from ' ' to 'db' in both files, I now have access to my site, it warned me of the temporary password and how to fix it and I'm all good again.

I'm guessing something happened when I changed from the Windows server to the Linux server which changed my "DIR_FS_CATALOG" enough to mess me up by not downloading the updated files.

Thanks again to all the good people here at Zen-Cart.

PS, can you help me with my PST issue? It's not adding the PST to the subtotal.

Robert

9 Jan 2008, 1:20 AM
#14
drbyte avatar

drbyte

Sensei

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

Re: Can't Login to admin

Rob905:

I'm guessing something happened when I changed from the Windows server to the Linux server which changed my "DIR_FS_CATALOG" enough to mess me

There's a detailed FAQ on moving between servers which may help save some trouble next time you do it:
https://www.zen-cart.com/tutorials/index.php?article=100

9 Jan 2008, 2:26 AM
#15
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Re: Can't Login to admin

DrByte:

There's a detailed FAQ on moving between servers which may help save some trouble next time you do it:
https://www.zen-cart.com/tutorials/index.php?article=100

I followed that article, but the when I changed from the Windows server to the Linux server part of the DIR_ name changed since the login also changed.
I know better next time, but I think I'm covered on the Linux server.

Thanks again.
Robert

9 Jan 2008, 2:43 AM
#16
drbyte avatar

drbyte

Sensei

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

Re: Can't Login to admin

Rob905:

I followed that article, but the when I changed from the Windows server to the Linux server part of the DIR_ name changed since the login also changed.The point was that if you do a fresh install on the new server, it will build the appropriate configure.php files for the new server for you ... including all the DIR_ settings.
Then, you preserve those files when moving your old server's files over. Since you preserved the new files, the configuration should work without a hitch for the new server, since they were built for the new server.

9 Jan 2008, 4:54 AM
#17
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Re: Can't Login to admin

DrByte:

The point was that if you do a fresh install on the new server, it will build the appropriate configure.php files for the new server for you ... including all the DIR_ settings.
Then, you preserve those files when moving your old server's files over. Since you preserved the new files, the configuration should work without a hitch for the new server, since they were built for the new server.

I realize that, but what I did was uploaded a file from the old server from my local machine thinking that I had already downloaded the new version. (Which I didn't) so that's where everything went south.

But all is well again.

Any thoughts on the PST issue?

Regards
Robert