zennedOut
- Join Date:
- Nov 2005
- Location:
- los angeles
- Posts:
- 2,973
- Plugin Contributions:
- 8
thoughts on ADMIN/includes/functions/html_output.php
v156.
there are a number of die statements here. which would be MUCH more beneficial if they had a backtrace on them; ie.
debug_print_backtrace();
die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>Function used:<br><br>zen_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</b>');
it would be nice to use the @lat9 enable error logging to create a log file, if we do not want to print it to a screen, but unfortunately that currently requires a php error to make use of it (which this is not).
my question is whether it is worth wild and/or beneficial to modify the existing script to include the backtrace for v156 and display on the screen, or to try and create a log file, or to hope for better backtrace info in v2 version of ZC and leave as is.
thoughts?