Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

problem with clear_cache()

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
danielking
Smarty Rookie


Joined: 02 May 2003
Posts: 5

PostPosted: Fri May 02, 2003 4:40 am    Post subject: problem with clear_cache() Reply with quote

[php]
<?
@mysql_close();
$end=explode(" ",microtime());
$end=$end[1]+$end[0];
$proctime=$end-$start;
$ka->clear_cache('footer.tpl');
$ka->assign(array(
"proctime"=>$proctime
));
$ka->display("footer.tpl");
?>
[/php]

$ka->caching=true

every time $proctime was surely not the same, but this script displayed the same thing. the function clear_cache() seemed take no effect.
either "chmod"ing all files and subdirs to 777 in cache directory or deleting them was useless.
Back to top
View user's profile Send private message
danielking
Smarty Rookie


Joined: 02 May 2003
Posts: 5

PostPosted: Fri May 02, 2003 9:06 am    Post subject: Reply with quote

i solved this problem
there was something wrong with setting the cache path, hoho
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP