Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

chmod error

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
psylock
Smarty n00b


Joined: 14 May 2004
Posts: 3

PostPosted: Fri May 14, 2004 2:59 pm    Post subject: chmod error Reply with quote

Hello,

I'v got a writable error on cache file templates_c :

"Fatal error: Smarty error: unable to write to $cache_dir '/home/yves/http/psylock/www/application1/cache'. Be sure $cache_dir is writable by the web server user. in /home/yves/http/psylock/cgi-bin/smarty/Smarty.class.php on line 1102"

Cache and and templates_c are une chmode 775. And this error always came back.
Back to top
View user's profile Send private message Send e-mail
mohrt
Administrator


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

PostPosted: Fri May 14, 2004 3:02 pm    Post subject: Reply with quote

Does the web server user own the cache dir, or belong to the group that owns the cache_dir ? Try chmod 777 once to test if the problem persists.
Back to top
View user's profile Send private message Visit poster's website
psylock
Smarty n00b


Joined: 14 May 2004
Posts: 3

PostPosted: Fri May 14, 2004 5:31 pm    Post subject: Reply with quote

My shelterer gave me the rights for cache and templates_c.
With the 777 it goes.

sorry for bad english i am french =)
Back to top
View user's profile Send private message Send e-mail
psylock
Smarty n00b


Joined: 14 May 2004
Posts: 3

PostPosted: Fri May 14, 2004 9:34 pm    Post subject: Reply with quote

http://www.phpinsider.com/smarty-forum/viewtopic.php?t=1350&highlight=unable+write+cache

yups sorry mohrt ^^ thanks
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks 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