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

Bug #5457 Broken PEAR_Info
Submitted: 2005-09-19 17:04 UTC
From: Derek dot Simkowiak at panasonic dot aero Assigned: fa
Status: Closed Package: PEAR_Info
PHP Version: 5.0.5 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2006-02-25 23:46 UTC
Package:
Bug Type:
Summary:
From: Derek dot Simkowiak at panasonic dot aero
New email:
PHP Version: Package Version: OS:

 

 [2005-09-19 17:04 UTC] Derek dot Simkowiak at panasonic dot aero
Description: ------------ I have installed XAMPP for Windows and I'm trying to figure out what version of PEAR that came with it. I tried running PEAR_Info::show() but it dies. Test script: --------------- <?php require_once "PEAR/Info.php"; $info = new PEAR_Info(); $info->show(); ?> Expected result: ---------------- All of the PEAR_Info. Actual result: -------------- It shows the PEAR Credits but dies at PEAR Packages. Here is a cut'n'paste from my browswer: ----------------------- PEAR PEAR Credits PEAR Config bin_dir C:\php5 cache_dir C:\WINDOWS\TEMP\pear\cache cache_ttl 3600 data_dir C:\php5\pear\data doc_dir C:\php5\pear\docs ext_dir C:\Program Files\xampp\php\ext\ master_server pear.php.net php_bin C:\php5\php.exe php_dir C:\php5\pear preferred_state stable sig_bin c:\gnupg\gpg.exe sig_keydir C:\WINDOWS\pearkeys sig_type gpg test_dir C:\php5\pear\tests umask 0 verbose 1 PEAR Packages Index Warning: Invalid argument supplied for foreach() in C:\Program Files\XAMPP\php\pear\PEAR\Info.php on line 235 | ----------------------- This looks like it may be the same root cause at this bug in PEAR::Auth: http://pear.php.net/bugs/bug.php?id=4371 It results in a similar error message. Do you need to add an is_array()?

Comments

 [2005-09-30 17:41 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-10-07 09:35 UTC] dudus at nomade dot fr
I have the same probleme with Debian Sarge and php 5.0.5. Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Info.php on line 235
 [2005-10-19 23:39 UTC] jens at codes-concepts dot com
Same here. Fresh pear install under php-5.1 with lynx -source http://go-pear.org/ | php and only installed PEAR_Info
 [2006-02-25 23:46 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!