Jump to content

Migration Issue: Admin Login Not Working After Moving PrestaShop 8 to a New Domain


designshot

Recommended Posts

Hello PrestaShop Community,

I attempted to create an exact copy of my PrestaShop 8 store on a new domain, but I encountered multiple issues. Despite following the standard migration steps, I can no longer access the admin dashboard after logging in. The frontend works fine, but the backend login redirects me to the same login page without proceeding further.

Steps I followed:

  • Full backup of all shop files and the database.
  • Transferred files to the new domain.
  • Imported the database and updated app/config/parameters.php.
  • Updated the ps_shop_url table with the new domain.
  • Cleared cache (var/cache/).
  • Checked cookie keys
  • Ensured PHP version compatibility (same Hosting and settings ans the productive shop).
  • Enabled debug mode but no errors were displayed.
  • Tested disabling modules to see if the issue persists.

Issues & Symptoms:

  • 500 Internal Server Error appears in the browser’s Developer Tools when trying to access the admin panel.
  • Login fields disappear after entering correct credentials, but I remain on the login page.
  • The request redirects to /adminXYZ/index.php/modules/pseditionbasic/homepage?_token=..., but I land back on the login page.
  • Debug mode does not show any specific errors.
  • Log files do not provide clear indications of what is wrong.
  • I found similar issues in the forum, but no working solutions:
  • Migration PrestaShop 8 – Issue after moving to a new server
  • Login issues after changing domain

My Questions:

  • Are there known issues when migrating PrestaShop 8 to a new domain?
  • Could the same issue occur when restoring a backup on the same domain?
  • Are there specific debugging steps I can follow to identify the root cause?

Since I’ve already spent a lot of time on this issue without success, I’d really appreciate any advice or guidance on how to properly migrate the store.

Thank you in advance!

Best regards

Danijel

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...