6.0.0-alpha12
6/12/25

[#11477] PHP errors on opening mails via POP3
Summary PHP errors on opening mails via POP3
Queue IMP
Queue Version 5.0.23
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester m.grobecker (at) portunity (dot) de
Created 10/08/2012 (4630 days ago)
Due
Updated 10/15/2012 (4623 days ago)
Assigned
Resolved 10/09/2012 (4629 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/15/2012 08:44:05 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (develop):

commit 0605a111e2b6a65484d911939f6e3cdc127dd15c
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Oct 8 18:46:39 2012 -0600

     [mms] Fix POP3 regression that broken envelope data parsing (Bug #11477).

     Conflicts:
             framework/Imap_Client/package.xml

  framework/Imap_Client/package.xml |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/0605a111e2b6a65484d911939f6e3cdc127dd15c
10/09/2012 03:26:51 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit 0605a111e2b6a65484d911939f6e3cdc127dd15c
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Oct 8 18:46:39 2012 -0600

     [mms] Fix POP3 regression that broken envelope data parsing (Bug #11477).

     Conflicts:
             framework/Imap_Client/package.xml

  framework/Imap_Client/package.xml |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/0605a111e2b6a65484d911939f6e3cdc127dd15c
10/09/2012 12:49:05 AM Michael Slusarz Comment #4
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Fixed in Horde_Imap_Client v1.5.9.  This was not an issue in 
Horde_Imap_Client 2.x.
10/09/2012 12:46:58 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_4):

commit ac8f5a5e97a2ba1b880e15e08e6f78bdb8bc44a9
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Oct 8 18:46:39 2012 -0600

     [mms] Fix POP3 regression that broken envelope data parsing (Bug #11477).

  framework/Imap_Client/package.xml |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/ac8f5a5e97a2ba1b880e15e08e6f78bdb8bc44a9
10/09/2012 12:46:55 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (FRAMEWORK_4):

commit d7232dc7bf5f74c45175ebbcc3787085a28cd6f7
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Oct 8 18:46:13 2012 -0600

     Bug #11477: Fix POP3 regression in Horde_Imap_Client 1.x

  .../lib/Horde/Imap/Client/Socket/Pop3.php          |    7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/d7232dc7bf5f74c45175ebbcc3787085a28cd6f7
10/08/2012 02:44:04 PM m (dot) grobecker (at) portunity (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ PHP errors on opening mails via POP3
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When opening mails in IMP via POP3 everytime a mail is opened a red 
box appears telling "Communication error with server" and the 
following error messages appear in error log instead of showing the 
mail:

PHP Fatal error:  __clone method called on non-object in 
/usr/share/php/Horde/Imap/Client/Data/Envelope.php on line 90
PHP Fatal error:  spl_autoload(): Class Horde_Db_Value_Binary could 
not be loaded in /usr/share/php/Horde/SessionHandler/Storage/Sql.php 
on line 130

I tracked this error back:

When opening an IMAP mailbox all mail headers are returned by the IMAP 
classes as an instance of "Horde_Mail_Rfc822_Address", when opening 
the same mailbox with POP3 headers are returned as a simple Array 
(which has no clone method and therefore fails with the error message 
above).

Saved Queries