Jump to content

Error: Smarty, unable to write file

Geo Burlibasa

Recommended Posts

Fatal error: Uncaught --> Smarty: unable to write file /home/WEBSITE/public_
html/cache/smarty/compile/53/b7/5e/53b75ec1dab53fa5bccd348c0fb8d3d480680628.file.header.tpl.php <-- thrown in /home/WEBSITE/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 74



I receive the error above total randomly. Sometimes the website works with no problem, and sometimes it shows that error. If I refresh after getting the error then it's all good.

I checked the folder cache/smarty/compile and there is only one folder that has another subfolder that has another subfolder containing only 1 file, but not the one that the error says.


Permissions on folders:

cache - 755

cache/smarty - 755

cache/smarty/compile - 755

All folders in cache/smarty/compile - 771

All files in cache/smarty/compile - 644


Prestashop version:


Server information

Server information Linux #1 SMP Fri Oct 21 11:58:14 EDT 2016 x86_64

Server software version Apache/2.4.23

PHP version 5.4.45

Memory limit 512M

Max execution time 120


I really do not know what to do, can somebody help me with any kind of information? At least where shall I look.


Thank you!



Link to comment
Share on other sites

  • 5 months later...

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