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

Bug #324 pear -G gives Fatal Error (PHP-GTK not installed, but error is at engine level)
Submitted: 2003-11-29 13:43 UTC
From: mfischer at php dot net Assigned: cellog
Status: Closed Package: PEAR
PHP Version: 5.0.0b2 (beta2) OS: Linux Debian (sarge)
Roadmaps: (Not assigned)    
Subscription  


 [2003-11-29 13:43 UTC] mfischer at php dot net
Description: ------------ Big note: I am using beta2 but it is not listed in the "PHP version" selection. Reproduceable steps: beta2 installed without anything GTK related. Reproduce code: --------------- mfischer@sarge:~$ pear -G Expected result: ---------------- I don't expect this to work anyway, but the error message reveals a programming error and not the real error message (which should be something about class not being found) if you look at the line in the given file: return PEAR::raiseError("no such class: $uiclass"); Actual result: -------------- Fatal error: Only variables or references can be returned by reference in /home/mfischer/install/php5/lib/php/PEAR/Command.php on line 174

Comments

 [2003-11-29 13:46 UTC] mfischer at php dot net
Nm., I corrected the Version field by hand.
 [2003-11-29 16:40 UTC] cellog
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. fixed this and several other minor issues in PEAR_Command