[horde] ActiveSync PHP errors after upgrade
Nels Lindquist
nlindq at maei.ca
Mon Nov 26 17:19:55 UTC 2018
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2018/11/23 2:06 p.m., Michael J Rubinsky wrote:
>
> Quoting Nels Lindquist <nlindq at maei.ca>:
>
>> On 2018/11/23 11:51 a.m., Michael J Rubinsky wrote:
>>>
>>> Quoting Nels Lindquist <nlindq at maei.ca>:
>>>
>>>> Since upgrading Horde with PEAR to the latest available
>>>> earlier this week, I'm seeing a bunch of error messages in
>>>> syslog of the form:
>>>>
>>>> HORDE: PHP ERROR: implode(): Invalid arguments passed [pid
>>>> 27975 on line 493 of
>>>> "/usr/share/pear/Horde/ActiveSync/State/Sql.php"].
>>>>
>>>> I have ActiveSync logging enabled for the domain in question,
>>>> but I'm not seeing any matching errors in the per-device
>>>> logs, so I'm not sure how worried to be.
>>>>
>>>> Some quick searching hasn't turned up anything.
>>>>
>>>> Environment is CentOS 6 with Webtatic PHP 5.6 packages
>>>> installed; PostgreSQL database.
>>>>
>>>> Horde Groupware Webmail edition 5.2.22 IMP version 6.2.22
>>>> Horde_ActiveSync version 2.39.4
>>>
>>> Are you sure you have the most up to date Horde_Core library?
>>> This was fixed back in July.
>>>
>>> https://github.com/horde/Core/commit/24e6e44e858e391c8c847c9c445c0057b
>>
>>>
30655e2#diff-3a683241c12c06bd12e14c869cd0983d
>>
>> From
>>>
>> "pear list -c horde":
>>
>> Horde_Core 2.31.6 stable
>>
>> I checked /usr/share/pear/Horde/Core/ActiveSync/Driver.php and
>> it definitely has the patch you linked applied.
>
> Can you provide a snippit of the synclog that shows the incoming
> change that causes this?
>
> Something like:
>
> [6741][2018-11-23T21:05:14+00:00] I: <Modify>
> [6741][2018-11-23T21:05:14+00:00] I: <ServerEntryId>
> [6741][2018-11-23T21:05:14+00:00] I: 398024
> [6741][2018-11-23T21:05:14+00:00] I: </ServerEntryId>
> [6741][2018-11-23T21:05:14+00:00] I: <Data>
> [6741][2018-11-23T21:05:14+00:00] I: <POOMMAIL:Categories>
> [6741][2018-11-23T21:05:14+00:00] I: <POOMMAIL:Category>
> [6741][2018-11-23T21:05:14+00:00] I: ActiveSync
> [6741][2018-11-23T21:05:14+00:00] I: </POOMMAIL:Category>
> [6741][2018-11-23T21:05:14+00:00] I: </POOMMAIL:Categories>
> [6741][2018-11-23T21:05:14+00:00] I: </Data>
> [6741][2018-11-23T21:05:14+00:00] >>>:
> Horde_Core_ActiveSync_Driver::changeMessage(INBOX, 398024 ...)
> [6741][2018-11-23T21:05:14+00:00] >>>: Adding flags to the IMAP
> server. [6741][2018-11-23T21:05:14+00:00] >>>: STATE: Updating
> state during flags [6741][2018-11-23T21:05:14+00:00] I:
> </Modify>
>
> If you can include the enclosing <SYNC> tag too, that would be
> best.
What's the most significant part of this snippet? I can't find any
reference to "Category" at all, though there are a couple of
references to "Categories" matching up with occurrences of the PHP
error, but many other occurrences of the PHP error logged with no
corresponding reference to "Categories". I wasn't seeing any
references to "changeMessage", adding flags or updating state in any
of the ActiveSync per-device logs at all until I set the log level to
detailed. I'm now seeing a few references to changeMessage, but they
don't correspond with anything to do with Categories.
- ----
Nels Lindquist
<nlindq at maei.ca>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlv8KzsACgkQh6z5POoOLgSiHACdHbRjhoq8YfUig0AdFgA7aQwd
jpcAoKNWWivzYJyot+/IFr68JOi70qnO
=Ni7Z
-----END PGP SIGNATURE-----
More information about the horde
mailing list