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';
        echo 
'ERROR: $errmsg[$e_code]';

to
echo 'Error Code: '.$e_code.'';
        echo 
'ERROR: '.$errmsg[$e_code].'';

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';
echo 
'ERROR: $errmsg[$e_code]';

to:
echo "Error Code: $e_code";
echo 
"ERROR: $errmsg[$e_code]";


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

159 user(s) are online (65 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

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

Latest GitHub Commits