|
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 |
Komargon Smarty n00b
Joined: 19 Jul 2016 Posts: 2
|
Posted: Tue Jul 19, 2016 11:02 am Post subject: Help with 'unable to write file' error |
|
|
Hi,
I'm working on a web app with Embarcadero HTML5 Builder, smarty is provided with it.
My app work fine on my localhost test server (Easyphp on Win7)
But when I install my app on my web server (Linux Synology) I have this message :
Code: | Application raised an exception class SmartyException with message 'unable to write file /tmp/wrt578e07418ba793.86815759' |
I'm sure it is because of missing write permission on a specific folder. But which folder ? Could you help me to find his path ?
I checked permission on my app folder for the http user and write access is ok. I also give permission to the '@tmp' folder one step above with no success.
Any suggestions ? Thanks in advance. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Tue Jul 19, 2016 2:10 pm Post subject: |
|
|
You did not specify the accessible directory for Smarty caching.
Check your configuration. |
|
Back to top |
|
Komargon Smarty n00b
Joined: 19 Jul 2016 Posts: 2
|
Posted: Wed Jul 20, 2016 7:52 am Post subject: |
|
|
It works after editing ./rpcl/smartytemplate.inc.php
on line 94, to change the path of the compile directory to an existing one.
Thank you AnrDaemon |
|
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
|