|
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 |
techUser Smarty n00b
Joined: 22 Oct 2019 Posts: 1
|
Posted: Tue Oct 22, 2019 2:48 pm Post subject: Specifiy Web Server user |
|
|
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 |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Tue Nov 05, 2019 8:07 pm Post subject: |
|
|
It mentioning the LOCAL SYSTEM USER under which the PHP is executed.
Not "web user". |
|
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
|