From: tuff <tu...@br...> - 2003-09-22 07:24:47
|
Hi all, I noticed that the new XoopsErrorHandler class of x-2.0.4 generates a number of "Undefined index" error, while most the undefined variables are generated by Smarty. For example if a page has no right blocks to display, the follow line will be shown if php-debug is turned on: Notice [PHP]: Undefined index: xoops_rblocks in file class/smarty/Smarty.class.php line 626 Or if a specific variable is not assigned, a msg appears just like this: Notice [PHP]: Undefined index: foo in file templates_c/sometheme^templates^somefile.html line 69 Since this kind of "error" may not be fixed without a heavy rewrite of Smarty, is it possible to strip them out by the XoopsErrorHandler class? Cheers, tuff http://www.brandycoke.com/ |