AW: [SMARTY] Smarty caching problem

From: Date: Tue, 13 Aug 2002 16:23:40 +0000
Subject: AW: [SMARTY] Smarty caching problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5684@lists.php.net to get a copy of this message
> the error i get is: > fopen("D:/www/Smarty-2.3.0/cache/\standard.tpl", "r") - No such file or > directory i think i found the reason. Smarty.class.php lines 1401ff looks like this: if (!($fd = @fopen($filename, 'r'))) { return false; } but instead of return false, because a cache-file never was created, an error is triggered. the "@" is ignored, because i defined a custom error handler. but i need this error handler. i don't know how to get it to work without ignoring E_WARNINGS in my custom error handler, which is not wanted, because of many other E_WARNINGS i want to trigger. thanks, rainer

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