• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Issues after migrating Prestashop to a new server - getting 302 sometimes

MajidC

New Pleskian
Server operating system version
ubuntu
Plesk version and microupdate number
18.0.62
I'm working on a Prestashop web shop and it's live for a few years. Now we want to move it to another, better, VPS server. Server is configured and prepared before, then the files copied, and database imported. I point the site to a new IP on Cloudflare and the new site is active.

Almost everything works great, but I noticed one big issue with cart updates. Here we use one-page checkout. When updating options like delivery options, payment methods, etc. It sends ajax request and refreshes the cart, and it works perfectly on the old server.

On the new one, it's strange, because sometimes it updates the cart with no problems, ajax request is 200. But sometimes, it doesn't. The code in console is 302 Found, and there is no response, so it doesn't refresh the cart. While testing, when changing options several times, it sometimes responds with 200, next change is 302, next maybe 200, maybe 302, etc.

I tried with cache purging in Prestashop, purged cache in Cloudflare, tried turning off/on the Cloudflare proxy, turning off/on SSL and many things I've found googling this, but no success.

When I point the domain back to the old IP address, it works perfectly again.
Everything is copied/cloned from the old server, but only this one issue is giving us headache...
 
Hello, @MajidC. We are sorry to hear about the troubles you are experiencing after the migration. It is very unlikely, however, for that specific behavior to be related to Plesk's configuration. Although we have users that manage PrestaShop websites, it might be more efficient to check the issue with PrestaShop's community.
 
Back
Top