Jump to content

Smarty Cache unable to write


giudenapoli

Recommended Posts

Hello there,

I have this error on my Prestashop 1.6.1.1

This is the error message:

"Fatal error: Uncaught --> Smarty: unable to write file /home/myuser/public_html/cache/smarty/compile/4a/3c/6c/4a3c6c34d6582e9dd10c9ea936bfa79244272a04.file.possearch-instantsearch.tpl.php <-- thrown in /home/myuser/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 74"

I already checked for permissions and disk size with my Hosting provider and it's ok.

Sometimes randomly I have this error too:

PHP Fatal error:  Uncaught  --> Smarty: unable to write file /home/myuser/public_html/myfolder/cache/smarty/cache/productscategory/1251/315/0/1/1/3/1/10/c1/a0/1d/wrt583dba1d624b19_41638485 <-- 
  thrown in /home/myuser/public_html/myfolder/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46

 

Any solutions to fix this error message or hide for now this error?

Thank you in advance!

Link to comment
Share on other sites

How are the permissions OK?

- are the directories 775 and files 644?

- if yes, they owned by the user which belongs to the apache group (user not being root and in most situation not being www-data)?

Add your user to the apache group (possibly www-data) and try again.

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