Home » PEAR » PEAR » Bug #324
pear -G gives Fatal Error (PHP-GTK not installed, but error is at engine level)
Details
| 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) |
Comments
[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
[2003-11-29 13:46 UTC] mfischer at php dot net
Nm., I corrected the Version field by hand.