Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Problem with Smarty Cache: Cache is on, but folder is empty

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
felipemoixeta
Smarty n00b


Joined: 27 Aug 2015
Posts: 2

PostPosted: Thu Aug 27, 2015 8:30 am    Post subject: Problem with Smarty Cache: Cache is on, but folder is empty Reply with quote

Please help, I have smarty cache on, but folder is empty and Prestashop http://www.photoglass.cz to slow. Rights of the empty folder cache/smarty/cache is 755. Printscreens are here: http://www.photoglass.cz/downloads/cache.zip
Back to top
View user's profile Send private message Send e-mail
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1572

PostPosted: Thu Aug 27, 2015 4:20 pm    Post subject: Reply with quote

"755" what?
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5067
Location: Hamburg / Germany

PostPosted: Thu Aug 27, 2015 10:45 pm    Post subject: Reply with quote

The permissions of the cache folder should be 0771.

But gets the page still get displayed?
Any errors in the PHP errorlog file?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1572

PostPosted: Fri Aug 28, 2015 1:00 am    Post subject: Reply with quote

U.Tews wrote:
The permissions of the cache folder should be 0771.

"771" what? there's no such things as permissions in the void. there's always user and group attached to them.
Also, how do you know that he's not running PHP in CGI mode for example? Or suexec? What if 771 is actually undesirable?
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7366
Location: Lincoln Nebraska, USA

PostPosted: Tue Sep 01, 2015 2:32 am    Post subject: Reply with quote

Check your php error log, see if any write errors exist. The user executing php needs write access to the cache dir.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP