Rodolfo Posted July 29, 2011 Share Posted July 29, 2011 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 More sharing options...
rocky Posted July 30, 2011 Share Posted July 30, 2011 You should use chmod 755 for that directory, not chmod 777. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now