I am currently running into an issue using Smarty on my development machine. I just installed IIS 5.1 alongside PHP 4.42. I have set up Smarty like I have in the past on *nix machines (where I have had no problems).
The error I am getting when I am trying to execute my script is:
Warning: fetch(C:/Inetpub/wwwroot/admin/smarty/templates_c/\%%1E^1E1^1E1D5291%%page.main.html.php): failed to open stream: No such file or directory in C:\Inetpub\smarty\libs\Smarty.class.php on line 1258
Warning: fetch(): Failed opening 'C:/Inetpub/wwwroot/admin/smarty/templates_c/\%%1E^1E1^1E1D5291%%page.main.html.php' for inclusion (include_path='.;c:\php4\pear') in C:\Inetpub\smarty\libs\Smarty.class.php on line 1258
Of course, if I disable Warnings in php.ini, I get absolutely nothing.
Now, I figured this to be a Windows Permissions error. So I did what little I knew to do, and tried to set the folders for templates_c and cache to writeable in the IIS Management Snap In. That didn't work. I did a google search and came across a similar issue someone else had. It said:
"Problem was caused by some deny entry in advanced properties...
(right click templates_c folder in explorer -> security -> advanced -> Remove the "deny" listings to anonymous users)"
The problem I am having is, when I right click on templates_c (or any other folder) and go to PROPERTIES, there is no SECURITY tab. The only thing close to it is a WEB SHARING tab (which I also used to no avail to get my folders writeable).
Can anyone tell me what I'm doing wrong? My system is XP Pro SP2, IIS 5.1.