[horde] ActiveSync triggered php error

Michael J Rubinsky mrubinsk at horde.org
Mon May 26 14:22:00 UTC 2014


Quoting Simon Wilson <simon at simonandkate.net>:

> Httpd log:
>
> [Mon May 26 15:56:07 2014] [error] [client 49.187.140.189] PHP Fatal
> error:  Call to a member function exists() on a non-object in
> /usr/share/pear/Horde/ActiveSync/Imap/Adapter.php on line 195
>
> Corresponding access request:
>
> 49.187.140.189 - simon at simonandkate.net [26/May/2014:15:56:07 +1000]
> "POST
> /Microsoft-Server-ActiveSync?User=simon at simonandkate.net&DeviceId=ApplDLXFT5X3DFJ2&DeviceType=iPad&Cmd=ItemOperations HTTP/1.1" 500 12  
> "-"
> "Apple-iPad2C2/1104.201"0/385094
>
> Sync log entry:
>
> 2014-05-26T15:56:07+10:00 INFO: [25465]
> Horde_Core_ActiveSync_Driver::authenticate() attempt for simon
> 2014-05-26T15:56:07+10:00 INFO: [25465] ITEMOPERATIONS request
> received for user simon
> 2014-05-26T15:56:07+10:00 INFO: [25465] Device entry exists for
> APPLDLXFT5X3DFJ2, updating userAgent and version.
> 2014-05-26T15:56:07+10:00 INFO: [25465] Request being handled for
> device: APPLDLXFT5X3DFJ2, Supporting protocol version: 14.1, Using
> Horde_ActiveSync v2.16.1
> 2014-05-26T15:56:07+10:00 INFO: [APPLDLXFT5X3DFJ2] Handling
> ITEMOPERATIONS command.
> 2014-05-26T15:56:07+10:00 DEBUG: [25465] I  <ItemOperations:ItemOperations>
> 2014-05-26T15:56:07+10:00 DEBUG: [25465] I   <ItemOperations:Fetch>
> 2014-05-26T15:56:07+10:00 DEBUG: [25465] I    <ItemOperations:Store>
> 2014-05-26T15:56:07+10:00 DEBUG: [25465] I      Mailbox
> 2014-05-26T15:56:07+10:00 DEBUG: [25465] I    </ItemOperations:Store>
> 2014-05-26T15:56:07+10:00 DEBUG: [25465] I    <AirSyncBase:FileReference>
> 2014-05-26T15:56:07+10:00 DEBUG: [25465] I
> 191AF69B-0088-47D2-AD66-6C9D08949C46


Where did this email come from? This FileReference value isn't  
anything that Horde (should) generate. It would normally be in a  
format like 'INBOX:1002:1.2' or similar.

That being said, the code does need some sanity checking for when the  
attachment can't be found.






-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140526/d52cee7b/attachment.bin>


More information about the horde mailing list