RE: Error messages when caching

From: Date: Tue, 09 Oct 2001 14:47:32 +0000
Subject: RE: Error messages when caching
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1639@lists.php.net to get a copy of this message
Did you define the path to the cache dir in Smarty.class.php ?? If so, except if you are not allowed to make directories, it should work. I wonder if SAFE MODE affects smarty that much, anyone ?? With Smarty 1.4.4 I got the following error messages when enabling caching. My cache directory has mode 777. The server is Linux with apache/1.3.20 and PHP 4.0.6. Warning: SAFE MODE Restriction in effect. The script whose uid is 1526 is not allowed to access ./cache/b3dde52363a5673de5377ca86fffbfeb/c4 owned by uid 30 in Smarty.class.php on line 1056 Warning: Smarty error: problem creating directory "./cache/b3dde52363a5673de5377ca86fffbfeb/c4" in Smarty.class.php on line 1081 Warning: fopen("./cache/b3dde52363a5673de5377ca86fffbfeb/c4/b3dde52363a5673de5377ca86 fffbfeb_c4ca4238a0b923820dcc509a6f75849b.cache","w") - No such file or directory in Smarty.class.php on line 992 Warning: Smarty error: problem writing './cache/b3dde52363a5673de5377ca86fffbfeb/c4/b3dde52363a5673de5377ca86fffbfe b_c4ca4238a0b923820dcc509a6f75849b.cache.' in Smarty.class.php on line 1081 Mit freundlichen Grüssen Werner Schweizer ________________________________________ Werner Schweizer Eichhornweg 2 CH-4802 Strengelbach Telefon: +41 (062) 751 96 24 http://www.wschweizer.ch mailto:W.Schweizer@BigFoot.com ________________________________________ --- You are currently subscribed to smarty as: arnaud.limbourg@cegetel.fr To unsubscribe send a blank email to $subst('Email.Unsub') Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/

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