Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Admin login not workinng after domain transfer

    I moving our site to a different webhost. I was able to login into the admin on both the new and old site. Today we transferred our domain to the new webhost and the admin login stopped working. I tried to reset the password but I did not receive any email at all.
    I checked both /include/configure.php and /admin/include/configure.php and the look correct. After the domain was transferred I only changed in both files
    define('HTTP_SERVER', 'https://ourdomain.com');
    define('HTTPS_SERVER', 'https://ourdomain.com');
    define('ENABLE_SSL', 'true'); changed it from false to true.

    I tried to reset the password but never got an email. I inserted a default admin login into the admin table and tried to login using those credentials but I am still getting

    "You entered the wrong username or password."

    Any idea what is causing it?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Admin login not workinng after domain transfer

    Two possibilities:
    1. Since the message is actively telling you wrong username, you probably have the wrong DB_PREFIX set in both configure.php files, therefore it's reading wrong tables for login details and therefore no valid match

    2. If it were reloading the login page without any message then I'd suspect browser cookies being cached but no matching session in the new database because it's on a different server. Clearing browser cache and cookies for the domain solves this.
    .

    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. #3
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin login not workinng after domain transfer

    Thank you for the recommendation.
    There are no prefixes on the tables. So I am using define('DB_PREFIX', '');
    Our homepage is working so if I the database set incorrectly I assume it would not be working either.
    I cleared the cache and cookies it did not help. The page reloads after clicking Login and gives me the You entered the wrong username or password.
    I am having another problem, we are receiving payments for orders but not getting any confirmation emails or records of such orders in the database.

  4. #4
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin login not workinng after domain transfer

    I checked and there are now prefixes on the tables so define('DB_PREFIX', ''); should be correct. The homepage is working so I assume if the database was not setup correctly, I assume the homepage would not work properly.
    I cleared the cache and cookies but still getting an error You entered the wrong username or password. after the page reloads.
    I am having another problem, we are receiving payments but we are not getting any confirmation emails or any new order related records in the database.

    No errors are generated in the public_htm/log directory
    The only error I see is File not found [/home/angelfi1/public_html/site.webmanifest]

  5. #5
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin login not workinng after domain transfer

    I found one mistake, I was inserting the default Admin user into a wrong database. Duh. :-(

  6. #6
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin login not workinng after domain transfer

    Not sure however, why the Confirmation emails are not sent, still no errors in the log directory.

 

 

Similar Threads

  1. Replies: 9
    Last Post: 29 Nov 2016, 01:47 AM
  2. v154 Admin Login Not Working - Cross-Origin Domain Issue
    By bobthemolder in forum Basic Configuration
    Replies: 1
    Last Post: 28 Apr 2016, 03:42 PM
  3. v150 Can't login to Admin panel after adding "www" to the domain name
    By TSN99 in forum General Questions
    Replies: 1
    Last Post: 31 Dec 2015, 08:43 AM
  4. Currency Update broken after domain transfer
    By NadiaUSA in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 7 Apr 2011, 06:59 PM
  5. Can't login to admin after moving to new domain
    By meesh in forum General Questions
    Replies: 4
    Last Post: 27 May 2009, 06:08 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR