Re: [SMARTY] help with error

From: Date: Mon, 14 Apr 2003 07:20:49 +0000
Subject: Re: [SMARTY] help with error
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9239@lists.php.net to get a copy of this message
On Sun, Apr 13, 2003 at 10:00:31PM -0400, Paul Lockaby wrote: > Hi, > > I get the following error: > > Warning: Invalid argument supplied for foreach() in > /www/lockaby/test/php-bin/smarty/Smarty.class.php on line 2354 yes, that error is known. it seems to be same as mentionend in: http://marc.theaimsgroup.com/?l=smarty-general&m=104957127719982&w=2 and http://marc.theaimsgroup.com/?l=smarty-dev&m=104742950807464&w=2 the problem is, that $this->_cache_info is overwritten be config_load(). i have a fix, but didn't have time to test it enough with all settings. the fix will show up in cvs RSN. greetings messju > It doesn't happen the first time a template is compiled, but each > subsequent compile results in that error. I can provide any more > information required. I will tell you, though, that this page consists > of only one template and a configuration file that is loaded from PHP. > > ~Paul > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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