1
uberrookie
class/module.errorhandler.php
  • 2011/4/23 17:25

  • uberrookie

  • Just popping in

  • Posts: 34

  • Since: 2011/3/29


Line 100 and 101 print:
Error Code: $e_code


ERROR: $errmsg[$e_code]

while it should print a errorcode and message.

change line 100 and 101 from:
echo 'Error Code: $e_code<br /><br /><br />';
        echo 
'<strong>ERROR:</strong> $errmsg[$e_code]<br /><br /><br />';
to
echo 'Error Code: '.$e_code.'<br /><br /><br />';
        echo 
'<strong>ERROR:</strong> '.$errmsg[$e_code].'<br /><br /><br />';

2
zyspec
Re: class/module.errorhandler.php
  • 2011/4/24 1:51

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Or even easier. Change single quote to double quote:
echo 'Error Code: $e_code<br /><br /><br />';
echo 
'<strong>ERROR:</strong> $errmsg[$e_code]<br /><br /><br />';
to:
echo "Error Code: $e_code<br /><br /><br />";
echo 
"<strong>ERROR:</strong> $errmsg[$e_code]<br /><br /><br />";

This should be submitted to the Sourceforge bug tracker at
http://sourceforge.net/tracker/?func=add&group_id=41586&atid=430840

3
iHackCode
Re: class/module.errorhandler.php

CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧