Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.4

Bug #4049 Fatal error: Call to a member function on a non-object in /usr/share/pear/HTTP/
Submitted: 2005-04-04 11:03 UTC
From: leonard at locomo dot nl Assigned: mike
Status: Closed Package: HTTP_Download
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 49 - 8 = ?

 
 [2005-04-04 11:03 UTC] leonard at locomo dot nl
Description: ------------ HTTP_Download 1.0.0 When attempting a download from a non existent URL I get: Fatal error: Call to a member function on a non-object in /usr/share/pear/HTTP/Download.php on line 305 The affected line is: $this->HTTP->sendStatusCode(404); Expected result: ---------------- Display of a 404 error. Actual result: -------------- Fatal error: Call to a member function on a non-object in /usr/share/pear/HTTP/Download.php on line 305

Comments

 [2005-04-22 15:55 UTC] mike
Don't call HTTP_Download::setFile() statically.
 [2005-05-17 10:35 UTC] mike
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.