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

Bug #5477 Bug in Downloader.php and Dependency2.php
Submitted: 2005-09-21 21:26 UTC
From: tom at rochen dot com Assigned: cellog
Status: No Feedback Package: PEAR
PHP Version: 4.4.0 OS: CentOS release 4.1
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 : 43 + 24 = ?

 
 [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

Comments

 [2005-09-21 21:31 UTC] tom at rochen dot com
PEAR Version: 1.4
 [2005-09-22 01:49 UTC] cellog
Although I was unable to reproduce the problem, I'm pretty sure I've fixed this. If you can, would you checkout cvs of pear, pear upgrade package2.xml and try again? Thanks
 [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
 [2005-09-22 14:40 UTC] cellog
you misunderstand :) $ cvs -d :pserver:anonymous@cvs.php.net:/repository login Password: phpfi [you will need to double check the password] $ cvs -d :pserver:anonymous@cvs.php.net:/repository co pear-core $ cd pear-core $ pear up package2.xml $ pear install <any package> The above is what "check out pear-core and run 'pear up package2.xml' and then test again" means. Greg
 [2005-09-28 22:46 UTC] cellog
please try this with PEAR 1.4.1