Re: function to help with debug of IT[X] generated pages

From: Date: Tue, 28 Aug 2001 18:18:58 +0000
Subject: Re: function to help with debug of IT[X] generated pages
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-295@lists.php.net to get a copy of this message
> If you have some time to have a look at it, it would be nice to tell me > where it doesn't work. Remember that addBlockFile is a feature that was not > working before I made these changes so be careful with these diffs. addBlockfile works fine as long as the blockfile doesn't contain any blocks. If it does, the script crashes at line 424 of IT.php <pre> foreach ($this->blockvariables[$block] as $allowedvar => $v) </pre> with the following: Warning: Invalid argument supplied for foreach() in /path/to//IT.php on line 424 which indicates that the variables within the block in the blockfile were not indexed. I will look into this and try to find a fix. Watch this space... Regards, Moody

« previous php.pear.general (#295) next »