[Tickets #11741] Re: ActiveSync for inbox only works during setup

bugs at horde.org bugs at horde.org
Mon Dec 3 15:58:06 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11741
------------------------------------------------------------------------------
  Ticket             | 11741
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | ActiveSync for inbox only works during setup
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2012-12-03 15:58) wrote:

> synclog

This is the problem:

2012-12-03T09:01:11+01:00 DEBUG: Updating state during flags
2012-12-03T09:01:11+01:00 ERR: Parameter count mismatch, expecting 0, got 6

This means that the SQL statement that is updating the map table  
thinks there should be no bound parameters, but we are passing 6 of  
them. Looking at the code, I don't see any reason why it would think  
that. The SQL statement, does, indeed, have 6 parameter placeholders.

Can you place:

  Horde::debug($sql);

after the try on line 444 but before the $this->_db->insert($sql,  
$params); on linke 445 in file  
ActiveSync/lib/Horde/ActiveSync/State/Sql.php and post the results  
(they will be output in a file named horde_debug.txt in your system's  
temp directory).





More information about the bugs mailing list