Forums / General Questions / Admin login suddenly not working

Admin login suddenly not working

Locked

Started by cshart on 3 Sep 2011, 3:33 AM · Views: 5,251

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
3 Sep 2011, 3:33 AM
#1
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Admin login suddenly not working

New install 1.3.9h have looked through all sorts of solutions. Nothing is working.

Can not login to admin even using 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); technique

The code is in the database but is not working, no errors are showing up and the cart will not send a new password to the admin address

Was working and then suddenly stopped.

C

3 Sep 2011, 2:03 PM
#2
eentje avatar

eentje

Zen Follower

Join Date:
Jan 2009
Location:
The Netherlands/Germany
Posts:
144
Plugin Contributions:
4

Re: Admin login suddenly not working

If you have SSL enabled on the adminsection, turn that off in the YOURADMIN/inludes/configure.php

That, sometimes on some server configurations, gives problems.

I came, I saw, I got zenned... :)

3 Sep 2011, 3:30 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Admin login suddenly not working

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

3 Sep 2011, 8:53 PM
#4
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Re: Admin login suddenly not working

DrByte:

https://www.zen-cart.com/tutorials/index.php?article=84

I have even tried uploading new files to the admin and putting the configure file back and it is still not working.

I see no errors in the log. It will simply not accept the username and password. You can get to the page and put them it but it just flickers and the boxes are again blank and no entry into the site.

At wits end, don't know what to do. The cart seems to be working correctly. Takes you to paypal correctly with the correct items.

To me this seems to be either a database issue or an email issue. Emails are not coming from the site to the address in the database.

C

3 Sep 2011, 8:58 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Admin login suddenly not working

If it were a password or username problem, it would be telling you there was a security error while trying to login.
Thus, your problem is a sessions problem, hence the FAQ article link.

Without a link to the site that's causing a problem (and it's understandable that you wouldn't want to post one publicly), all we can really do is tell you that the problem is a sessions issue, and point you to the FAQ article which contains numerous tips, and links to other related articles with even more tips, on how to address your unique problem.

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

3 Sep 2011, 9:06 PM
#6
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Re: Admin login suddenly not working

DrByte:

If it were a password or username problem, it would be telling you there was a security error while trying to login.
Thus, your problem is a sessions problem, hence the FAQ article link.

Without a link to the site that's causing a problem (and it's understandable that you wouldn't want to post one publicly), all we can really do is tell you that the problem is a sessions issue, and point you to the FAQ article which contains numerous tips, and links to other related articles with even more tips, on how to address your unique problem.

Would that sessions issue also be causing an email issue with the contact form

Sorry, is your name correct? Our system requires a minimum of 2 characters. Please try again.
Sorry, my system does not understand your email address. Please try again.
Did you forget your message? We would like to hear from you. You can type your comments in the text area below.

Even though the form was filled in correctly.

Is this issue in the database because that is where the sessions are supposed to be stored according to my setup.

3 Sep 2011, 11:04 PM
#7
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Re: Admin login suddenly not working

In the tutorial you sent:

Apart from browser cache and cookies problems, the most common problem is not having the HTTPS address correct in your /admin/includes/configure.php file.
See: http://www.zen-cart.com/tutorials/index.php?article=14 This link in the tutorial you sent is NOT working I am getting an internal server error.

3 Sep 2011, 11:25 PM
#8
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Re: Admin login suddenly not working

DrByte:

If it were a password or username problem, it would be telling you there was a security error while trying to login.
Thus, your problem is a sessions problem, hence the FAQ article link.

Without a link to the site that's causing a problem (and it's understandable that you wouldn't want to post one publicly), all we can really do is tell you that the problem is a sessions issue, and point you to the FAQ article which contains numerous tips, and links to other related articles with even more tips, on how to address your unique problem.

Problem getting worse and worse the whole shopping cart is corrupt now. Nothing is working.

Turning it off starting over.

C.

3 Sep 2011, 11:54 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Admin login suddenly not working

If you have sessions issues on the Contact Us page, then you'll also have session issues in checkout ... ie: you won't be able to add anything to the cart or complete checkout successfully.

If your problems are only on the contact-us page, then you've probably got damaged files causing that.

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

4 Sep 2011, 12:09 AM
#10
drbyte avatar

drbyte

Sensei

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

Re: Admin login suddenly not working

cshart:

In the tutorial you sent:

Apart from browser cache and cookies problems, the most common problem is not having the HTTPS address correct in your /admin/includes/configure.php file.
See: http://www.zen-cart.com/tutorials/index.php?article=14 This link in the tutorial you sent is NOT working I am getting an internal server error.

Correct link is: https://www.zen-cart.com/tutorials/index.php?article=14
Tutorial document updated.

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

29 Mar 2012, 8:10 AM
#11
itq9 avatar

itq9

New Zenner

Join Date:
Sep 2011
Location:
Totnes, Devon, UK
Posts:
1
Plugin Contributions:
0

Re: Admin login suddenly not working

Finally, after months of having the same issue where the admin login page reloads without displaying any errors and then allows the login after a random number of attempts, I found it was the final line of this page:

https://www.zen-cart.com/tutorials/index.php?article=281

The permissions on the /cache/ folder should be set to 777 for read/write. Admin login now working again first time every time.