Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Permissions problem with template_C in WinSrv2012r2 IIS8.5

 
Post new topic   Reply to topic    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
Dwza
Smarty Rookie


Joined: 09 Jan 2015
Posts: 5

PostPosted: Tue Jan 31, 2017 9:20 am    Post subject: Permissions problem with template_C in WinSrv2012r2 IIS8.5 Reply with quote

I have a small problem running smarty on WinSrv2012r2 IIS 8.5.

Actually everything is running like expacted... smarty->display shows me the cached template.

The only thing is when i render the template new it doesnt write into the cache. It simply adds an empty file with some header informations in it. So my tool only works when i do my changes in the tpl and than edit this in the cache file as well.
I dont get any errors...

Seems to me like a permisson problem. But i granted all permissions to the users that even can view this. I added full permissions to IIS_USRS, IUSR, Administrators, Users and everyone. But this still does not work.

Any ideas ?
Back to top
View user's profile Send private message
bsmither
Smarty Pro


Joined: 20 Dec 2011
Posts: 191
Location: West Coast

PostPosted: Sun Sep 02, 2018 8:12 pm    Post subject: Reply with quote

In your PHP code, please have this statement:
Code:
$smarty->testInstall();

Please let us know what the output is.
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1361

PostPosted: Sun Sep 02, 2018 10:22 pm    Post subject: Reply with quote

It was over a year ago. I'm sure by this time they have solved their problem.
Back to top
View user's profile Send private message
bsmither
Smarty Pro


Joined: 20 Dec 2011
Posts: 191
Location: West Coast

PostPosted: Sun Sep 02, 2018 10:42 pm    Post subject: Reply with quote

That just now (well, yesterday) showed up as being an unread post in the index.

Must have been a burp in the forums.
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1361

PostPosted: Tue Sep 04, 2018 3:11 pm    Post subject: Reply with quote

No, it was just a spammer post which I deleted.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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