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

Help with 'unable to write file' 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 -> Installation and Setup
View previous topic :: View next topic  
Author Message
Komargon
Smarty n00b


Joined: 19 Jul 2016
Posts: 2

PostPosted: Tue Jul 19, 2016 11:02 am    Post subject: Help with 'unable to write file' error Reply with quote

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
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Jul 19, 2016 2:10 pm    Post subject: Reply with quote

You did not specify the accessible directory for Smarty caching.
Check your configuration.
Back to top
View user's profile Send private message
Komargon
Smarty n00b


Joined: 19 Jul 2016
Posts: 2

PostPosted: Wed Jul 20, 2016 7:52 am    Post subject: Reply with quote

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 Smile
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 -> Installation and Setup 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