Jump to content

smarty cache cause error 500


Marcos82

Recommended Posts

with prestashop 1.7.64 and php73  when we modify templates / modules or CSS, the site goes into error 500. to solve I have to physically delete the cache folder from the filesystem.
Anyone know how to solve?

 

Marco

Link to comment
Share on other sites

i add this information.
when i do "clean cache", the file /var/cache/prod/appParameters.php
Appear with '0' permission

ls -lash
total 144K
4.0K drwxr-xr-x  3 user:user  4.0K Jul  6 15:13 .
4.0K drwxr-xr-x 19 user:user 4.0K Jul  6 15:13 ..
4.0K ----------  1 user:user   939 Jul  6 15:13 appParameters.php
 96K -rw-r--r--  1 user:user   94K Jul  6 15:13 class_index.php
 16K -rw-r--r--  1 user:user   14K Jul  6 15:13 class_stub.php
4.0K drwxr-xr-x  3 user:user  4.0K Jul  6 15:13 doctrine
 16K -rw-r--r--  1 user:user   13K Jul  6 15:13 namespaced_class_stub.php

if i do a chmod 644 all works good. 

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