Bug 143849 - Pear command gives errors in Common.php
Summary: Pear command gives errors in Common.php
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 3
Hardware: i586
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-30 00:47 UTC by Rodrigo Damazio
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 4.3.11-2.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-19 07:51:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rodrigo Damazio 2004-12-30 00:47:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20040922

Description of problem:
pear command will not work with any options given. It always gives
repeated errors about "illegal offset type in common.php" in lines 91
and 108. Looking at those lines, there seems to be nothing wrong.
Possibly a php bug.

Version-Release number of selected component (if applicable):
php-pear4.3.10-3.2

How reproducible:
Always

Steps to Reproduce:
1. Run command 'pear' with any options (e.g. help)


Actual Results:  (repeated error lines not shown)
Warning: Illegal offset type in Common.php on line 91
 
Warning: Illegal offset type in Common.php on line 108
PHP Fatal error:  Cannot instantiate non-existent class: 
pear_frontend_cli in /usr/share/pear/PEAR/Command.php on line 144


Expected Results:  A help screen, or any output relative to the
options given.

Additional info:

Didn't happen in version 4.3.9-3.
Happens even after downloading the PEAR package from pear.php.net and
replacing the files.

Comment 1 Joe Orton 2005-04-19 07:51:33 UTC
Fixed in 4.3.11 update, thanks for the report:

http://www.redhat.com/archives/fedora-announce-list/2005-April/msg00033.html


Note You need to log in before you can comment on or make changes to this bug.