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

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

Login

Who's Online

163 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits