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

Specifiy Web Server user

 
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
techUser
Smarty n00b


Joined: 22 Oct 2019
Posts: 1

PostPosted: Tue Oct 22, 2019 2:48 pm    Post subject: Specifiy Web Server user Reply with quote

Server Environment: Windows 2012 R2/IIS 7.0

Issue:

When I update a template file on my webserver, I'm getting a file write error to the Smarty templates_c directory.

Code:
Fatal error: Smarty error: unable to write to $compile_dir 'J:\johnstonresearch\WWW_Clients\_dev\animalbiome\smarty_working\user\templates_c'. Be sure $compile_dir is writable by the web server user. in J:\johnstonresearch\libraries\PHP\BGOSmarty\Smarty-2.6.10\libs\Smarty.class.php on line 1088


The web server user (under IIS->Website->Authentication->Anonymous Authentication) does have write access? Maybe Smarty is using a different user account? How do I find out what user is running Smarty?

Is there a way to specify what user Smarty is running as?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Nov 05, 2019 8:07 pm    Post subject: Reply with quote

It mentioning the LOCAL SYSTEM USER under which the PHP is executed.
Not "web user".
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