Re: [SMARTY] Problem with compiled Templates dirrectory
| From: | Robert | Date: | Sun, 26 Dec 2004 19:59:13 +0000 |
| Subject: | Re: [SMARTY] Problem with compiled Templates dirrectory | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12076@lists.php.net to get a copy of this message | ||
CaptainE wrote:
Hello there, I hope someone can help me here with my following problem: I have created a site local on my sytem (Debian Linux) and the whole thing worked very well. After I have uploaded it to the public webserver, I changend the write permissions, so that smarty could create the compiled templates. But when I call the site, I get this error message: Warning: Smarty error: problem writing temporary file '/home/www/web0/html/schkool.de/smarty/compile/deep_blue/wrt41cb1ac9737cb' in /home/www/web0/html/schkool.de/smarty/Smarty.class.php on line 1088 there are also more of those messages only with other filnemes, becaues I'm using multiple Templates for this site. When I'm looking in the compile directory there was created some files, but their names are only the first 8 characters of the names smarty wanted to use. Also there are none of this files starting with an '%'. The created files have the size of 0 bytes. I have tried to upload the compiled templates from my local machine and then everything workd as expected. But that could not be the only conclusion, or what? As I figured out, that it is defintiv not a problem of writepermissions I don't know where the problem is, at the os, the webserver or parhaps php. Some more infos: OS on the webserver: Suse Linux 9.0 PHP version: 4.3.9 with Safe_mode on Webserver: Apache 2.0.48 Greetings Steffen Eppler I know that on OSX I had to chown the directory to the www:www account because the server needed to be able to write those files. Sometimes it is nobody:nobody as well. I think there is something in the beginning of the Smarty docs about this as well.HTH Robert