Jump to content

Error when setting $smarty->caching = true;


Recommended Posts

I get this error

Fatal error: Smarty error: unable to write to $cache_dir '/home/cartucho/public_html/shop/tools/smarty/cache'.

Be sure $cache_dir is writable by the web server user. in /home/cartucho/public_html/shop/tools/smarty/Smarty.class.php on line 1095

 

When I set $smarty->caching = true;

 

I changed permissions in "cache" dir to 777, then I don't get this error. But the shop becomes crazy...

 

What may be the problem.

 

In many posts I see people saying you can change this under "preferences--> performance" but in my version 1.2.4 I don't have this option.

 

Thanks a lot in advance

RODOLFO

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