[horde] Content of ActiveSync DB tables not being filled again and some (maybe not related) PHP Errors

Michael J Rubinsky mrubinsk at horde.org
Fri Sep 16 18:01:34 UTC 2022


Quoting Ronny Forberger <ronnyforberger at ronnyforberger.de>:

> Hello,
>
> I have installed Horde 5.2.23 on Debian with IMP, Kronolith, Turba and Nag.
>
> My ActiveSync is not working, I have an NginX reverse proxy with  
> mod_security deployed in front of Apache 2.4 serving Horde.
>
> In the logs I am getting some PHP errors:
>
>> Sep 16 18:22:28 mail01 HORDE: [kronolith] PHP ERROR: Non-static  
>> method Date_Calc::dateToDays() should not be called statically [pid  
>> 216197 on line 2068 of "/usr/share/php/Date/Calc.php"]
>> Sep 16 18:22:28 mail01 HORDE: 1.  
>> Horde_Core_Block_Layout_View->toHtml()  
>> /usr/share/horde/services/portal/index.php:35
>> Sep 16 18:22:28 mail01 HORDE: 2. Horde_Core_Block->getContent()  
>> /usr/share/php/Horde/Core/Block/Layout/View.php:98
>> Sep 16 18:22:28 mail01 HORDE: 3. Horde_Core_Block->_call()  
>> /usr/share/php/Horde/Core/Block.php:175
>> Sep 16 18:22:28 mail01 HORDE: 4.  
>> Kronolith_Block_Summary->_content()  
>> /usr/share/php/Horde/Core/Block.php:278
>> Sep 16 18:22:28 mail01 HORDE: 5. Kronolith_Day->diff()  
>> /usr/share/horde/kronolith/lib/Block/Summary.php:157
>> Sep 16 18:22:28 mail01 HORDE: 6. Date_Calc::dateDiff()  
>> /usr/share/horde/kronolith/lib/Day.php:116
>> Sep 16 18:22:28 mail01 HORDE: 7. Horde_ErrorHandler::errorHandler()  
>> /usr/share/php/Date/Calc.php:2068
>> Sep 16 18:22:28 mail01 HORDE:
>> Sep 16 18:22:28 mail01 HORDE: [nag] PHP ERROR: stripos():  
>> Non-string needles will be interpreted as strings in the future.  
>> Use an explicit chr() call to preserve the current behavior [pid  
>> 216197 on line 83 of  
>> "/usr/share/php/Horde/Autoloader/ClassPathMapper/PrefixString.php"]
>> Sep 16 18:22:28 mail01 HORDE:  1.  
>> Horde_Core_Block_Layout_View->toHtml()  
>> /usr/share/horde/services/portal/index.php:35
>> Sep 16 18:22:28 mail01 HORDE:  2.  
>> Horde_Core_Block_Collection->getBlock()  
>> /usr/share/php/Horde/Core/Block/Layout/View.php:81
>> Sep 16 18:22:28 mail01 HORDE:  3. class_exists()  
>> /usr/share/php/Horde/Core/Block/Collection.php:117
>> Sep 16 18:22:28 mail01 HORDE:  4. spl_autoload_call()
>> Sep 16 18:22:28 mail01 HORDE:  5. Horde_Autoloader->loadClass()
>> Sep 16 18:22:28 mail01 HORDE:  6. Horde_Autoloader->mapToPath()  
>> /usr/share/php/Horde/Autoloader.php:64
>> Sep 16 18:22:28 mail01 HORDE:  7.  
>> Horde_Autoloader_ClassPathMapper_PrefixString->mapToPath()  
>> /usr/share/php/Horde/Autoloader.php:110
>> Sep 16 18:22:28 mail01 HORDE:  8.  
>> Horde_Autoloader_ClassPathMapper_PrefixString->_ipos()  
>> /usr/share/php/Horde/Autoloader/ClassPathMapper/PrefixString.php:57
>> Sep 16 18:22:28 mail01 HORDE:  9. stripos()  
>> /usr/share/php/Horde/Autoloader/ClassPathMapper/PrefixString.php:83
>> Sep 16 18:22:28 mail01 HORDE: 10. Horde_ErrorHandler::errorHandler()
> I am using the Debian packages for Horde installation.

None of these errors would be from an ActiveSync related request, they  
are all related to displaying the specific "blocks" in the portal  
page. Possibly due to running a newer version of PHP.


> Unfortunately, during error searching I deleted all content of all  
> activesync_* tables on MySQL Horde database. And now when trying to  
> access it, the table contents are not filled anymore. I have run the  
> horde-db-migrate script and restarted my Apache2.

If you deleted the contents of the activesync tables, you will have to  
repair all the activesync devices since the server no longer has any  
information about their state.

If you are having issues after repairing a device, you can provide us  
with a sync log to further diagnose. See the active sync configuration  
tab in Horde for enabling the sync log.

> I am wondering, why my ActiveSync is not working. It worked already  
> before. The Android GMail App is just saying "There was a problem,  
> please try again and contact your IT Administrator".
>
> I have enabled DEBUG logging on Horde. I can't find anything in the  
> logs, why ActiveSync is not working.
>
> Maybe you could help me even with how to fix the PHP errors?
>
> Thanks in advance.
>
> Best regards,
>
> Ronny Forberger
>
> -- 
> Ronny Forberger
> ronnyforberger at ronnyforberger.de
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
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: not available
Type: application/pgp-keys
Size: 9386 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20220916/1342b652/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20220916/1342b652/attachment.sig>


More information about the horde mailing list