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)    

 [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 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: It results in a similar error message. Do you need to add an is_array()?


 [2005-09-30 17:41 UTC] mj
 [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 | php and only installed PEAR_Info
 [2006-02-25 23:46 UTC] fa
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.