bugPHP::PRINT::IPP - Bugs: bug #38742, http_class missing $this for...

 
 

bug #38742: http_class missing $this for _HttpError causing fatal error

Submitted by:  None
Submitted on:  Mon 15 Apr 2013 01:43:02 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 15 Apr 2013 08:49:07 PM UTC, comment #1:

committed by Harding

http_class.php ; revision: 1.9

Thanks to <UNKNOWN> for patch

Thomas Harding <harding>
Project Administrator
Mon 15 Apr 2013 01:43:02 PM UTC, original submission:

Several places in the code the $this-> reference is missing. This is relevant for:

Line 351:
return HttpError (("not connected"), E_USER_WARNING);

Line 373:
HttpError (sprintf (("%s: file is not readable"), $value),

Line 381 and line 394:
_HttpError (sprintf

Line 403:
return HttpError (("Error while puts POST operation"),

Line 412:
return HttpError (("Error while puts HTTP headers"),

Line 419:
return HttpError (("Error while ends HTTP headers"),

Line 413:
return HttpError (("error while sending body data"),

Line 450:
return HttpError (("cannot read file to upload"),
Line 455:
return HttpError (("error while sending body data"),
Line 556:
return _HttpError(
Line 574
self::_HttpError(

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #27883:  http_class.php added by None (16KiB - text/php - http_class updated with $this-> for _HttpError)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by harding (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Apr 2013 08:50:23 PM UTChardingStatusNone=>Fixed
    Mon 15 Apr 2013 08:49:07 PM UTChardingOpen/ClosedOpen=>Closed
    Mon 15 Apr 2013 01:43:02 PM UTCNoneAttached File-=>Added http_class.php, #27883

    Back to the top


    Powered by Savane 3.1-cleanup1