birko19 Posted August 12, 2008 Share Posted August 12, 2008 Hello, my first post here I just started learning PHP not too long ago, and these days I'm using it quite often at work because we just received a website to host here and we have to make constant changes on it every now and then. Here's my dillima, I had to make small changes to the website, they are not really programming changes but rather changing images and so on, so as I located these images in the files and made the changes to the code, every time I run the website my changes do not take a place, and on top of all the site throws the following error: Warning: touch(): Utime failed: Permission denied in C:\Inetpub\integrativeonc.org\modules\smarty\core\core.write_compiled_resource.php on line 31 Every time I try to change something within a file and save it, it throws that line, so far I have that line repeated 3 times on the site, what is the deal and how do you get rid of it? I searched in google but all the answers that I got were that I have to chmod in order to fix the permissions, here's the thing, we are using IIS 6.0, and I don't notice any difference within the permissions when I compare the files that I changed with the files that I did not change, plus I don't get how a small change within a file like changing an image name can cause such error, any idea on how to fix this? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/119373-solved-permission-error/ Share on other sites More sharing options...
DarkWater Posted August 12, 2008 Share Posted August 12, 2008 Well first of all, eww, IIS. Second of all, you're using Smarty? Try clearing the compiled template cache. Link to comment https://forums.phpfreaks.com/topic/119373-solved-permission-error/#findComment-614937 Share on other sites More sharing options...
birko19 Posted August 12, 2008 Author Share Posted August 12, 2008 IIS is very buggy but when most of your web application are ASP.NET it great, I guess for PHP you gotta go with Apache... Anyways, the thing is I'm not very familiar with smarty and I only know a little bit of PHP, not very advance, so I'll follow your advice and see how it goes. Link to comment https://forums.phpfreaks.com/topic/119373-solved-permission-error/#findComment-614952 Share on other sites More sharing options...
birko19 Posted August 12, 2008 Author Share Posted August 12, 2008 DarkWater, that worked buddy, thank you so much for your help Do you have an idea on why that happened when I made my changes to the files? Link to comment https://forums.phpfreaks.com/topic/119373-solved-permission-error/#findComment-614956 Share on other sites More sharing options...
DarkWater Posted August 12, 2008 Share Posted August 12, 2008 It was looking for old versions of the files from the compiled templates I guess. Glad I could help. =) Please mark this topic as solved. Link to comment https://forums.phpfreaks.com/topic/119373-solved-permission-error/#findComment-614959 Share on other sites More sharing options...
birko19 Posted August 12, 2008 Author Share Posted August 12, 2008 Done, thank you Link to comment https://forums.phpfreaks.com/topic/119373-solved-permission-error/#findComment-614960 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.