|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
egokyniker Smarty Rookie
Joined: 24 Oct 2015 Posts: 10
|
Posted: Sat Oct 24, 2015 12:37 am Post subject: Fatal Error |
|
|
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 |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sat Oct 24, 2015 12:39 am Post subject: |
|
|
Address that question to your server administrator.
If you don't have a server administrator, hire one. Yesterday. |
|
Back to top |
|
mhdn2 Smarty Rookie
Joined: 12 Aug 2015 Posts: 11
|
Posted: Sat Oct 24, 2015 5:55 am Post subject: |
|
|
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 |
|
egokyniker Smarty Rookie
Joined: 24 Oct 2015 Posts: 10
|
Posted: Sat Oct 24, 2015 9:21 am Post subject: |
|
|
thanks. it was a great help |
|
Back to top |
|
mhdn2 Smarty Rookie
Joined: 12 Aug 2015 Posts: 11
|
Posted: Wed Oct 28, 2015 4:20 am Post subject: |
|
|
Awesome. Glad I could help |
|
Back to top |
|
|
|
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
|