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

Bug #12987 improper calls to class_exists
Submitted: 2008-01-28 15:35 UTC
From: weirdan Assigned: weirdan
Status: Closed Package: PEAR (version 1.7.0RC2)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: 1.7.0    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 + 8 = ?

 
 [2008-01-28 15:35 UTC] weirdan (Bruce Weirdan)
Description: ------------ There are improper calls to class_exists (file name used instead of classname). I found five instances of this error: PEAR\Command\Install.php|line 519 col 14| if (!class_exists('PEAR/PackageFile.php')) { PEAR\Command\Package.php|line 304 col 14| if (!class_exists('PEAR/PackageFile.php')) { PEAR\Command\Pickle.php|line 118 col 14| if (!class_exists('PEAR/PackageFile.php')) { PEAR\Downloader.php|line 212 col 14| if (!class_exists('PEAR/ChannelFile.php')) { PEAR\Downloader.php|line 256 col 14| if (!class_exists('PEAR/Dependency2.php')) { They did not manifest themselves because files were included via require_once when condition failed.

Comments

 [2008-01-29 03:20 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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.