AW: RE: Error messages when caching

From: Date: Tue, 09 Oct 2001 15:09:20 +0000
Subject: AW: RE: Error messages when caching
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1641@lists.php.net to get a copy of this message
As I can see the directory b3dde52363a5673de5377ca86fffbfeb created with mode 701 in cache after my first try, I'm assuming it is working with the correct cache dir. It looks like it can create the first level of subdirectories, but not more. Doing the same on my local developping machine it creates a second level of subdirectories. This seems not to be possible on the provider site. The provider-server has SAVE_MODE on. How can I switch that to off ? Is it possible selectively on the cache directory ? -----Ursprüngliche Nachricht----- Von: LIMBOURG Arnaud [mailto:arnaud.limbourg@cegetel.fr] Gesendet: Dienstag, 9. Oktober 2001 16:48 An: smarty@lists.ispi.net Betreff: [smarty] RE: Error messages when caching 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/ --- You are currently subscribed to smarty as: W.Schweizer@SwissOnline.ch 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 (#1641) next »