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

Bug #16580 Incorrect install/upgrade path.
Submitted: 2009-09-09 07:47 UTC
From: tonurics Assigned: till
Status: Closed Package: Mail_Queue (version 1.2.3)
PHP Version: 5.2.5 OS: Debian 5.0 (Lenny)
Roadmaps: (Not assigned)    
Subscription  


 [2009-09-09 07:47 UTC] tonurics (Tonurics Knight)
Description: ------------ Mail_Queue 1.2.3 is upgraded (I assume installed as well) to the wrong PEAR path. Causing catastrophic failure and the end of times. Test script: --------------- <?php require_once('Mail/Queue.php'); ?> Expected result: ---------------- Mail_Queue should be installed here: /usr/share/php/Mail/Queue.php Actual result: -------------- Mail_Queue is erroneously installed here: /usr/share/php/Mail/Mail/Queue.php The Mail_Queue will not be found and cause any files requiring it to fail.

Comments

 [2009-09-09 08:00 UTC] tonurics (Tonurics)
A stopgap solution for those having trouble until things are fixed, is to append "/usr/share/php/Mail/" to the include path before including Mail_Queue. Like so: <?php set_include_path(get_include_path().PATH_SEPARATOR.'/usr/share/php/Mail/'); require_once('Mail/Queue.php'); ?>
 [2009-09-09 15:00 UTC] till (Till Klampaeckel)
-Status: Open +Status: Closed -Assigned To: +Assigned To: till
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/ Hey, it's fixed already, but instead of 1.2.4, I was told to re-release 1.2.3. The fix is: pear install -f Mail_Queue Sorry for the inconvenience! Till