Summary | PHP Fatal error on sorting a mailbox by FROM column |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | aria (at) bsc (dot) gwu (dot) edu |
Created | 12/05/2012 (4591 days ago) |
Due | |
Updated | 12/06/2012 (4590 days ago) |
Assigned | |
Resolved | 12/05/2012 (4591 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
(previously declared abstract in Horde_Imap_Client_Tokenize) in
/usr/share/php5/PEAR/Horde/Imap/Client/Tokenize.php on line 29
In short: the code is not broken - your PHP version is. However, I
have released Horde_Imap_Client 2.3.2 to revert this for now.
and I no longer get the PHP error.
Regarding
http://lists.horde.org/archives/horde/Week-of-Mon-20121203/045767.html
for the record, I am using SLES 11-SP2 with PHP 5.3.8 as provided by
the distribution. Most larger organizations have contracted
agreements with distribution provers, in my case SUSE for support ans
security patches. In order for the servers to remain in a supportable
level, and from the point of view of security auditors, I cannot just
remove the distribution version of PHP and replace it with the latest
version. SUSE will support the version provided on their distribution
and will continue to provide the patches and security fixes through
their channels.
I hope that you would consider the dilemma that I and others are in
with regards to versions of PHP and other supporting software. I do
understand that you cannot be held responsible for the bugs in other
software.
Thank you for correcting this bug.
(previously declared abstract in Horde_Imap_Client_Tokenize) in
/usr/share/php5/PEAR/Horde/Imap/Client/Tokenize.php on line 29
In short: the code is not broken - your PHP version is. However, I
have released Horde_Imap_Client 2.3.2 to revert this for now.
new 2.3.1 level, I can no longer login (IMP authentication via IMAP
server). The login page apperars, but when I submit, I receive PHP
error:
Fatal error: Can't inherit abstract function Iterator::next()
(previously declared abstract in Horde_Imap_Client_Tokenize) in
/usr/share/php5/PEAR/Horde/Imap/Client/Tokenize.php on line 29
I reverted back to 2.3.0 level and the problem went away.
Thanks.
Version ⇒ Git master
State ⇒ Resolved
Queue ⇒ Horde Framework Packages
commit b756b2689e88d4a991e3cbabb9c5fd1d0fad4206
Author: Michael M Slusarz <slusarz@horde.org>
Date: Wed Dec 5 15:08:57 2012 -0700
[mms] Fix client-side address sorting (
Bug #11820)..../lib/Horde/Imap/Client/Socket/ClientSort.php | 12 ++++++------
framework/Imap_Client/package.xml | 2 ++
2 files changed, 8 insertions(+), 6 deletions(-)
http://git.horde.org/horde-git/-/commit/b756b2689e88d4a991e3cbabb9c5fd1d0fad4206
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ PHP Fatal error on sorting a mailbox by FROM column
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
in the PEAR/Horde/Imap/Client/Socket/ClientSort.php module when sorting a
mailbox by the 'From' column AND when IMP is connected to an IMAP server
with the SORT capability turned off (or a server that does not support SORT
capability).
Sorting by the FROM column will result in PHP error:
PHP Fatal error: Cannot use object of type Horde_Mail_Rfc822_Address as
array in /usr/share/php5/PEAR/Horde/Imap/Client/Socket/ClientSort.php on
line 225
I have confirmed this using two IMAP servers. I connected to a Cyrus IMAP
server and used the following setting in my IMP backends.local.php file:
$servers['imap']['capability_ignore'] = array('SORT');
Thanks.