Caching broken in 2.3.0 ?

From: Date: Mon, 12 Aug 2002 10:50:29 +0000
Subject: Caching broken in 2.3.0 ?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5654@lists.php.net to get a copy of this message
hello, I just upgraded to smarty 2.3.0 and noticed that caching no longer works (for me at least). I use the following script: $tpl = new Smarty(); $tpl->cache_dir='c:\\inetpub\\wwwroot\\templates_cache'; $tpl->caching = true; $tpl->cache_lifetime = 3600; $tpl->assign('foo', 'blah'); $tpl->display('file:c:\\inetpub\\wwwroot\\templates\\Test\\test.tpl.html', 'testcache'); this worked fine in smarty 2.1.1, the directory "testcache" and the subdirectories were created. Now smarty 2.3.0 gives the following error: fopen("c:\inetpub\wwwroot\templates_cache\testcache\%%206\%%2060290156\test. tpl.html.php", "r") - No such file or directory Location: C:\Inetpub\wwwroot\Smarty\Smarty.class.php (1401) can anyone confirm this? cheers, andreas -- mediazwo ag fon//+49/781/919 369 0 Kornstrasse 7 fax//+49/781/919 369 99 77652 Offenburg http://www.mediazwo.de

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