Jump to content

Recommended Posts

Hi

I am trying to do my accounts and when I try to look at orders older than the ones currently on the first page of orders it just says 502 Bad Gateway, it is happening on my order page and on one of my catalog pages that has many items, it seems everything beyond that initial page is inaccessible. 

Is there something I need to do to correct it ?

Thanks

Link to comment
Share on other sites

Hi,

 

This error usually occurs when an external link on the page (or a resource the page makes use of) is not accessible for the moment. For example, if you have your database is not not the same box as your prestashop installation, or on an nginx installation with a load lower balancer value.

 

I would firstg suggest to clear all the cache both on the browser side as well as PS end and see if this solves.

If not, have a look at the mySql server to see if it is on the same box as your PS installation (common case with cloud hosting)

 

Please pass through those two above and if still not solved, please let us know with more descriptive information such as your PS version and hosting details (server nginx? cloud hosting?)

Link to comment
Share on other sites

502 are internal server errors. Please check your server settings and set cookie-sessions on your back-office settings from 480 to 120. Clear domain cookies on browser and try again.

 

 

Server settings for Prestashop 1.5.

 

  • magic_quotes_gpc = off
  • memory_limit = 128M min. (better 256M)
  • max_execution_time = 300
  • max_input_time = 300
  • upload_max_filesize = 20M
  • post_max_size = 20M
  • max_input_vars = 5000
  • allow_url_fopen = on
  • safe_mode = off
  • cURL - for Paypal and other services with API can to be work
  • mod_rewrite = on
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...