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 » PEAR » PEAR » Bug #5477

Bug in Downloader.php and Dependency2.php

Details

Submitted2005-09-21 21:26 UTC
Fromtom at rochen dot com
Assignedcellog
StatusNo Feedback
PackagePEAR
PHP Version4.4.0
OSCentOS release 4.1
Roadmaps(Not assigned)

Comments

[2005-09-21 21:26 UTC] tom at rochen dot com

Description:
------------
My last bug report didn't seem to be posted.

Notice: Only variables should be assigned by reference in PEAR/Dependency2.php on line 847
Notice: Only variable references should be returned by reference in PEAR/Downloader.php on line 243

Test script:
---------------
root@server [~]# pear install (ANY PACKAGE)

Expected result:
----------------
Uhh...no errors?

Actual result:
--------------
Notice: Only variables should be assigned by reference in PEAR/Dependency2.php on line 847
Notice: Only variable references should be returned by reference in PEAR/Downloader.php on line 243

[2005-09-21 21:31 UTC] tom at rochen dot com

PEAR Version: 1.4

[2005-09-22 14:06 UTC] tom at rochen dot com

root@server [~]# pear upgrade package2.xml

Notice: Only variable references should be returned by reference in PEAR/Downloader.php on line 243
parsePackageName(): invalid package name "package2.xml" in "package2.xml"
invalid package name/package file "package2.xml"
Cannot initialize 'package2.xml', invalid or missing package file
Package "package2.xml" is not valid
upgrade failed