[SMARTY] utime error???

From: Date: Fri, 22 Nov 2002 14:48:16 +0000
Subject: [SMARTY] utime error???
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6511@lists.php.net to get a copy of this message
Hi Everybody, Started using Smarty about a month ago with no problems ... hate to say that didn't last long enough. I got it working fine on my first project, however my second is posing some problems. Weird bit is they're both on the same server, using the same version (2.3.1), the same class configuration ... and this is what I'm getting on page load: Warning: Smarty error: problem writing 'templates_c/%%-17/%%-1784953003/body.tpl.php.' in /freelancedesign/smarty/Smarty.class.php on line 589 Warning: utime failed: Operation not permitted in /freelancedesign/smarty/Smarty.class.php on line 968 This happens for every tpl file (there are five of them) I include from the base "inside.tpl" file. I scoured the list archive and found nothing that talked about utime errors ... so I tried troubleshooting Smarty.class ... I set $force_compile to false, and only the first two includes produce this error. I set $compile_check to false, and it works fine. Only problem is updates to the content won't go through ... which actually was what triggered the problem in the first place: the files I had set when I first installed 2.3.1 worked fine, but once I changed them they started buggering on me. I've checked permissions on all my folders, they're fine, they're not the problem, the problem now is I can't find anything else to try to fix this. Any suggestions? Much appreciated, Joe ps. one last note: there is one file I include that's a txt file, and exists outside the templates directory. Different files are included depending on which particular page it is ... this is the code in the include: {capture name=text} {include file="../content/".$content.".txt"} {/capture} {$smarty.capture.text|regex_replace:"/\n\n\n\n/":"\n\t</p>\n\t<p>\n\t"|regex _replace:"/\n\n\n/":"\n\t</p>\n\t"|regex_replace:"/\n\n/":"\n\t<p>\n\t"} And this is an example error I get back: Warning: Smarty error: problem writing 'templates_c/%%191/%%1911841131/management.txt.php.' in /freelancedesign/smarty/Smarty.class.php on line 589 Warning: utime failed: Operation not permitted in /freelancedesign/smarty/Smarty.class.php on line 968 ____________ joe murphy joe design inc. design + development web + print www.freelancedesign.biz

« previous php.smarty.general (#6511) next »