Re: [SMARTY] Cache Issues

From: Date: Thu, 23 Jan 2003 14:34:32 +0000
Subject: Re: [SMARTY] Cache Issues
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7308@lists.php.net to get a copy of this message
Make sure you have $cache_dir setup and proper write permissions there, much like $templates_c Monte On Thu, 2003-01-23 at 00:01, Met @ Uber wrote: > I'm attempting to use the cache feature of Smarty but I keep getting the > following errors. > > Warning: Smarty error: problem creating directory > "/%2FPaper%2F/%%117/%%1172603085" in > /usr/local/www/Paper/lib/Smarty.class.php on line 589 > > Warning: Smarty error: problem writing > '/%2FPaper%2F/%%117/%%1172603085/index.tpl.php.' in > /usr/local/www/Paper/lib/Smarty.class.php on line 589 > > The errors line the top of the displayed HTML page rather than stopping > the whole page. The only thing I have to do to cause this is to set > "$smarty->cache = true". I followed the directions for installing > Smarty which involved "mkdir templates_c", changing it's owner/group to > that of the web server (nobody:nobody in my case) and allowing full > control of that directory by its owner/group (chmod). Nonetheless, I > still get these errors. Any suggestions? I'm the server off of my > machine which is running RedHat Linux 8. > > Thanks in advance, > > ~ Metnetsky -- Monte Ohrt <monte@ispi.net>

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