warnings when writing compiled templates
| From: | Bjørn Eikeland | Date: | Tue, 08 Apr 2003 02:30:17 +0000 |
| Subject: | warnings when writing compiled templates | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9183@lists.php.net to get a copy of this message | ||
I've just installed smarty 2.4.2 on my web host, but the when the template
needs to be compiled I get the following to warnings:
chmod failed: Operation not permitted in
/pub/home/bjorn110/htdocs/smarty/Smarty.class.php on line 1994
utime failed: Operation not permitted in
/pub/home/bjorn110/htdocs/smarty/Smarty.class.php on line 1518
I have chmodded the templates_c/ foldeer to 777 (Host doesnt allow chown)
and the compiled template file is written and works just fine. If the file
is written and is readable by the browser and the filesystem changes the
timestamp for the compiled template when its written can I safely comment
out those two lines? The system apears to be working, templates recompile if
changed, and I dont get the errors if the template isnt changed.
thanks,
Bjorn