PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_Download » Bug #4049

Fatal error: Call to a member function on a non-object in /usr/share/pear/HTTP/

Details

Submitted2005-04-04 11:03 UTC
Fromleonard at locomo dot nl
Assignedmike
StatusClosed
PackageHTTP_Download
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[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