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

Fatal 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 -> General
View previous topic :: View next topic  
Author Message
egokyniker
Smarty Rookie


Joined: 24 Oct 2015
Posts: 10

PostPosted: Sat Oct 24, 2015 12:37 am    Post subject: Fatal Error Reply with quote

hello
i get the error:
Fatal error: Smarty error: unable to write to $compile_dir '/home/***/tpl/templates_c'. Be sure $compile_dir is writable by the web server user. in /home/***/lib/smarty/Smarty.class.php on line 1088

I donīt know how to change write access. In which file i have to change it and how?
Please note: i donīt use FTP.
Our webserver is in our network

Thanks
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Sat Oct 24, 2015 12:39 am    Post subject: Reply with quote

Address that question to your server administrator.
If you don't have a server administrator, hire one. Yesterday.
Back to top
View user's profile Send private message
mhdn2
Smarty Rookie


Joined: 12 Aug 2015
Posts: 11

PostPosted: Sat Oct 24, 2015 5:55 am    Post subject: Reply with quote

Sounds like a folder permissions issue. You probably need to set the folder with the files that Smarty is trying to write (tpl, or perhaps the whole Smarty folder) to to 755.

http://www.dummies.com/how-to/content/how-to-change-file-permissions-using-filezilla-on-.html

Try right click -> properties on the folder and see if you get something that looks like that "change file attributes" screenshot at the bottom of the page I linked. Change it to look like that, hit okay, then try loading your page again.
Back to top
View user's profile Send private message
egokyniker
Smarty Rookie


Joined: 24 Oct 2015
Posts: 10

PostPosted: Sat Oct 24, 2015 9:21 am    Post subject: Reply with quote

thanks. it was a great help
Back to top
View user's profile Send private message
mhdn2
Smarty Rookie


Joined: 12 Aug 2015
Posts: 11

PostPosted: Wed Oct 28, 2015 4:20 am    Post subject: Reply with quote

Awesome. Glad I could help Cool
Back to top
View user's profile Send private message
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 -> 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