[horde] Content of ActiveSync DB tables not being filled again and some (maybe not related) PHP Errors
Ronny Forberger
ronnyforberger at ronnyforberger.de
Fri Sep 16 16:39:37 UTC 2022
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.
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.
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
More information about the horde
mailing list