6.0.0-git
2019-04-21

[#10579] php error on new message with request_read_receipt
Summary php error on new message with request_read_receipt
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester rsalmon (at) mbpgroup (dot) com
Created 2011-09-30 (2760 days ago)
Due
Updated 2011-09-30 (2760 days ago)
Assigned
Resolved 2011-09-30 (2760 days ago)
Milestone
Patch No

History
2011-09-30 17:30:42 Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
2011-09-30 17:28:13 Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10579: Fix setting MDN flag on sent message after compose

  3 files changed, 5 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/47976ef30000336f67da407066f6dcb533b31632
2011-09-30 09:30:07 rsalmon (at) mbpgroup (dot) com Comment #2 Reply to this comment
using git,
sorry, error occurs on line 1338, not 1358.
2011-09-30 09:22:17 rsalmon (at) mbpgroup (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ php error on new message with request_read_receipt
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
using dynamic mode, compose a new message, check request_read_receipt 
and send.

HORDE [imp] PHP ERROR: strcasecmp() expects parameter 1 to be string, 
array given [pid 26057 on line 1358 of 
"/usr/share/pear/Horde/Imap/Client/Socket.php"]


I've added the following code Horde/Imap/Client/Socket.php:1358
++  if (!is_string($val)) { horde::debug($val);}


2011-09-30T10:36:49+02:00 DEBUG: Variable information:
array(1) {
   [0]=>
   string(8) "$mdnsent"
}

Backtrace:
  1. IMP_Ajax_Application->doAction() 
/var/vweb/horde/horde/services/ajax.php:60
  2. Horde_Core_Ajax_Application->doAction() 
/var/vweb/horde/horde/imp/lib/Ajax/Application.php:75
  3. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:95
  4. IMP_Ajax_Application->sendMessage()
  5. IMP_Compose->buildAndSendMessage() 
/var/vweb/horde/horde/imp/lib/Ajax/Application.php:1604
  6. IMP_Imap->append() /var/vweb/horde/horde/imp/lib/Compose.php:736
  7. IMP_Imap->__call() /var/vweb/horde/horde/imp/lib/Compose.php:736
  8. call_user_func_array() /var/vweb/horde/horde/imp/lib/Imap.php:338
  9. Horde_Imap_Client_Base->append()
10. Horde_Imap_Client_Socket->_append() 
/usr/share/pear/Horde/Imap/Client/Base.php:1417
11. Horde::debug() /usr/share/pear/Horde/Imap/Client/Socket.php:1358

Saved Queries