Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Sudden Admin login issue

    I am suddenly having an admin login issue. When I try and login, the little loading graphic comes up and then the page just refreshes. If I enter an incorrect password, the error message comes up the way it is supposed to. If I enter the correct password, that is when it just refreshes without any error message. There are two admin accounts, both superusers, and I've tried both with the same result.

    I tried resetting the password, and the whole reset process went properly, including entering the temp password and creating a new one, but once that was done, it again just refreshed to the login page.

    I also tried running zc_install and updating the config files, but no luck there either.

    It was just working fine maybe 20 minutes ago. The only change I made was adding a 301 redirect to the htaccess to redirect from non-www to www. I tried removing the redirect but still have the same issue.

    Any ideas on how I can fix this?

    Thank you!
    Danielle

  2. #2
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Sudden Admin login issue

    It's happening on the customer side as well. When I try and login, it just redirects back to the home page. I cannot understand what is causing this.
    Danielle

  3. #3
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Sudden Admin login issue

    Nm it's only happening on FF. I already tried clearing my cookies but once I flushed the DNS it's working again.
    Danielle

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Sudden Admin login issue

    Quote Originally Posted by Danielle View Post
    The only change I made was adding a 301 redirect to the htaccess to redirect from non-www to www.
    Yes, that will break things until you clear your cache, since the old cookie is broken when you change the core of how things work.

    But, in addition to that, there's seldom any significant need to do that sort of .htaccess redirect, since Zen Cart already produces the URLs correctly, and also tells search engines which correct URLs to use even if the wrong one was accessed.
    .

    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.

  5. #5
    Join Date
    Mar 2010
    Location
    Butte, MT
    Posts
    79
    Plugin Contributions
    0

    Default Re: Sudden Admin login issue

    With no changes to the site or configuration, a user started having this problem. Other admin logins would work, but the site owner's login just redirected to the login page without error - Tried this on two computers with the same result. I reset the password and still got the same behavior.

    the fix - at least for the moment - was to delete the user from the admin and create it again.

    Any ideas on why this would happen?
    Keith Seyffarth
    Paydirt Design

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Sudden Admin login issue

    Please click Reply below and answer all the questions in the Posting Tips section.
    .

    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.

  7. #7
    Join Date
    Mar 2010
    Location
    Butte, MT
    Posts
    79
    Plugin Contributions
    0

    Default Re: Sudden Admin login issue

    Great... but where can I find "the posting tips section?" I don't see it at the forum root, nor from the forum rules, nor from a search for "posting tips..."
    Keith Seyffarth
    Paydirt Design

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Sudden Admin login issue

    Click the Reply button below, or the Quick Reply button. That will open a box where you can write your post. And IN THE TOP OF THAT BOX is a big section of bulleted points on things to include in your post ... and the title of that box is aptly named "Posting Tips".
    .

    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.

  9. #9
    Join Date
    Mar 2010
    Location
    Butte, MT
    Posts
    79
    Plugin Contributions
    0

    Default Re: Sudden Admin login issue

    Thanks DrByte. The header of that box is not visible when the reply box opens, so the header is not apparent.


    What version of Zen Cart are you using?

    1.5.1


    Has your site been upgraded?

    No

    What plugins/addons have you installed? When? If your problems are payment-related, what payment module(s) are you using? If it's shipping-related, which shipping module(s) are you using?


    Image Handler 4

    HOW did you install Zen Cart? (upload via FTP and run zc_install, or a one-click install from your hosting company? (one-click installs might mean you don't have enough information about your site/server to make customizations easily))

    unzip, upload, run zc_install

    What version of PHP and MySQL is your server using? (See Admin->Tools->Server Info)

    PHP Version: 5.3.5 (Zend: 2.3.0)
    Database: MySQL 5.1.54

    WHEN did the problem "start"? How does that compare with other events of your hosting company, changes you've made to your site files/addons, or your admin settings, etc?

    Problem started sometime between 6:50pm Mountain time Friday, March 15, 2013 and 11:15am Mountain time Monday, March 18, 2013.

    If this is your first store, have you tested all aspects of transactions before going live?

    This is the third store I have worked with. There are two others on the same hardware (one 1.5.1 and 1.3.9) that do not have this problem. This issue only came up on the newest store.

    In what ways is your site customized or different from a brand new uncustomized install?

    Only a template for the store and the image handler plugin.

    Please post your site URL* so we can take a look at it. This is especially important if you're encountering display/layout problems, so the problem can be seen directly.

    Do you really need this? - the issue is admin login related (and I REALLY don't want to give out the admin login URL), and the store owner isn't ready to push the site out yet - she wants to get more of her products listed before going live. Also, the issue appears to be resolved by deleting and re-creating the affected admin account.


    If you're encountering problems that could be related to your server or hosting company, include the name of your hosting company (not their URL).

    Other Zen-Cart sites on the same server - and even other admin users on this store were not affected.

    HAVE YOU LOOKED IN THE FAQ AREA for answers to your question? (ie: a search for your error message or what you want to edit/change, etc)

    Yes.

    Have you searched the FORUM for your error message or for answers to the question you're asking?

    Yes. That's how I found this seemingly related thread.
    Keith Seyffarth
    Paydirt Design

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Sudden Admin login issue

    Your prior post said that you resolved it by deleting the admin user and creating a new one? Do the symptoms continue to persist now? Does it affect all the admins equally?
    The person whose post you added yours onto said that their symptoms affected the storefront end as well. Did that happen to you?
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Admin Login issue
    By krokus in forum General Questions
    Replies: 2
    Last Post: 21 Jun 2010, 08:09 PM
  2. Sudden Cusotmer Login Issue
    By marcopolo in forum General Questions
    Replies: 3
    Last Post: 6 Mar 2010, 11:02 AM
  3. Admin login issue
    By sawyer3 in forum Customization from the Admin
    Replies: 4
    Last Post: 19 Jun 2006, 07:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg