Jump to content

Fatal error: Uncaught --> Smarty: unable to write file


Recommended Posts

Dear members,

 

Like, some other members, I have a problem with the site, currently, nothing works.

The error looks like this:


Fatal error: Uncaught --> Smarty: unable to write file /home/dinghy/domains/dinghyracingcentre.nl/public_html/cache/smarty/compile/7b/7b/5e/wrt55b8da263645c3_80602249 <-- thrown in /home/dinghy/domains/dinghyracingcentre.nl/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46

I googled the error and stumbled upon some topics here, it seems that this is a permission issue.

However, changing permission dind't really help.

 

Things Ive tried:

1. cache/smarty , permission is 777, changed in 755 or 655 didnt help.

2. emptied cache. Didnt help.

3. Restored cache, didnt help.

4. The permission for /tools/smarty/sysplugins is 755.
5. Cleared cache of browser, still same issue.

 

 

However, Im not really sure this is related, but about an hour ago I did this:

in Classes/Tools.php

	public static function changeFileMTime($file_name)
	{
		touch($file_name);
	}

changed into

	public static function changeFileMTime($file_name)
	{
	
	}

Could this be related to the issue ?
However the site worked fine.

 

Advice is welcome.

Thanks in advance.

 

 

PS.

Im using prestashop 1.6

Edited by C2S (see edit history)
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...