Jump to content

504 Error after upgrade to 1.6.1.5


something394124

Recommended Posts

Hello!

 

After I upgraded prestashop to 1.6.1.5 on my test domain, the css in the theme bugged out.

I solved this by turning off "Smart Cache for css" in the BO, then clearing the cache of both PS and my browser.

 

Now everything works perfectly.. Or atleast almost!

 

The only problem I encounter now, is when I try to access the "Modules" page in the BO, the page tries to load for 300 seconds, then times out, giving me a "Error 504 - Gateway timeout" (as seen in attached image)

 

Nothing else is wrong in either front office nor back office, and no error logs are to be found in the root or /log/ folder.

 

Any help would be greatly appreciated!

 

 

Kind regards

post-1036875-0-51218800-1460630132_thumb.png

Link to comment
Share on other sites

Ok, this is weird...

 

When I turned "Smart cache for css" and "Smart cache for javascript" back on, the front office css dissappeared, but I could now access the modules page.

I then turned those to options back off and the front office got repaired, and now I am unable to access the "Modules" page again..

 

Something happened in 1.6.1.5, but what?

Edited by d3m0t3x (see edit history)
Link to comment
Share on other sites

This is a common problem when a new version of Prestashop is released.  They release the version, but usually fail to update their server side cache for things like the 1-click upgrade module.

 

And when it comes to changes with CSS and Javascript, you almost always have to clear your cache. 

Link to comment
Share on other sites

Thanks for the quick reply, guys!

 

I'll try to get back into the "Modules" page, and disable all of the non-prestashop modules to see if that has any effect.

Meanwhile I have cache disabled, and keep clearing my browser cache along the way.

 

I'll post an update as I go.

 

Thanks

Link to comment
Share on other sites

After much searching and testing I found the root of the problem. (atleast I think so)

After upgrading prestashop to 1.6.1.5, the one-click-upgrade module deleted most of the files in "/tools/swift" folder

and also the "/modules/mailjet" folder. After re-uploading the files from a 1.6.1.4 backup, the problem was solved!

 

- Joakim

Link to comment
Share on other sites

  • 6 months later...

Same problem here. After upgrade to 1.6.1.7 I've got error

 

Fatal error: Cannot redeclare class Swift in /home/www/ajaxjihlava.cz/subdomeny/www/tools/swift/Swift.php on line 32

 

It happens on "request new password" form and also on order confirmation (I think it happens everytime an email is send on confirmation)

 

I was trying to override tools/swift/ files with older version, but it cause several more errors with mailjet module so it's not solution :(

 

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