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 06:03 UTC Modified: 2005-05-17 05:35 UTC
From: leonard at locomo dot nl Assigned: mike
Status: Closed Package: HTTP_Download
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-04-04 06: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 10:55 UTC] mike
Don't call HTTP_Download::setFile() statically.
 [2005-05-17 05: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.