Re: [SMARTY-DEV] No error message when attempting to load a non-existing prefilter

From: Date: Tue, 21 Jan 2003 21:50:22 +0000
Subject: Re: [SMARTY-DEV] No error message when attempting to load a non-existing prefilter
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-574@lists.php.net to get a copy of this message
Ah, if you use load_filter('pre','foo'); in 2.3.1 the error message is blank. It looks like it was fixed in CVS though, it works there. <b>Fatal error</b>: Smarty plugin error: could not load plugin file 'prefilter.foobar.php' in <b>/export/home/staff/mohrt/www/php/smarty/Smarty.class.php</b> on line <b>2067</b><br /> On Tue, 2003-01-21 at 15:09, Katana wrote: > Hello, > > I just spent a moment looking for the reason why I was getting a > "Fatal error: Smarty plugin error: in /usr..." > > In fact, it looks like the $message variable used by trigger_error is > empty when you attempt to load a non-existant prefilter... I think it > could easily be fixed right ? > > Katana (previously Bertrand Dunogier) -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.dev (#574) next »