Gabriele Carbonai
Gabriele Carbonai

Reputation: 459

Prestashop 1.7.4.4 administration 500 error, work only with dev mode on

from few days I have this wired problem with Prestashop administration. When I try to open the page, it's not working.

Then for understand why, I turn on the _PS_MODE_DEV_ and... it's work perfectely!

I upgrade the Prestashop to 1.7.5 but still have the same problem

Now I can not have on _PS_MODE_DEV_ in production or switching when I need to go in administration.

I try to check server and PHP logs, but nothing is reported.

What is happen? how can I solve it?

this are some information:

server Info Linux #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64
Server software: Apache
PHP Version: 7.2.10-0ubuntu0.18.04.1
Memory limit: 240M
Max execution time: 360
Max upload files: 128M

Thanks in advance

Upvotes: 0

Views: 2166

Answers (1)

ethercreation
ethercreation

Reputation: 1273

When you have this kind of problem, the best solution is to remove the cache:

On Prestashop 1.6: delete the contents of the cache / smarty / cache and cache / smarty / compile folders

On Prestashop 1.7: delete the var / cache folder

Regards,

Upvotes: 3

Related Questions