Re: Email notifications appointments are not sent automatically
zyrixx <[email protected]> Sun, 8 Jul 2018 10:27:43 +0200
| Newsgroups | gmane.comp.horde.kronolith |
|---|---|
| Message-ID | <[email protected]> |
Am 07.07.2018 um 23:46 schrieb Michael J Rubinsky: > > Quoting zyrixx <[email protected]>: > >> Sorry for Doublepost, Jan. >> >> I'm a bit helpless now. >> >> I tried all possibilities. For one thing I have the script in the path >> >> / usr / bin / horde-alarms adjusted >> >> // $ baseFile = __DIR__. '/../lib/Application.php'; >> $ baseFile = '/var/www/horde/lib/Application.php'; >> >> And on the other hand I have tried several cronjobs. >> >> # Horde alarms >> * / 5 * * * * / usr / bin / horde-alarms >> >> # Horde alarms >> * / 5 * * * * www-data php / usr / bin / horde-alarms >> >> Last but not least, I have set the SMTP server data in the admin >> settings for the mailer and deposited the admin user with a password. >> >> >> If I run the script manually >> >> php / usr / bin / horde-alarms >> >> I have the following listing >> >> Fatal Error: >> Call to a member function getParam () on null >> In /var/www/horde/ingo/config/hooks.local.php on line 59 > > What is line 59 in your hooks file? /var/www/horde/ingo/config/hooks.local.php 56 // Example #2: Use IMP password/username. 57 $ob = $GLOBALS['registry']->call('mail/imapOb'); 58 return array( *59 'password' => $ob->getParam('password'),* 60 'username' => $ob->getParam('username') > >> >> 1. Horde_Alarm-> notify () / usr / bin / horde-alarms: 28 >> 2. Horde_Alarm-> listAlarms () /usr/share/php/Horde/Alarm.php:431 >> 3. Horde_Core_Factory_Alarm-> load () /usr/share/php/Horde/Alarm.php:113 >> 4. Horde_Registry-> callAppMethod () >> /usr/share/php/Horde/Core/Factory/Alarm.php:168 >> 5. Horde_Registry-> pushApp () /usr/share/php/Horde/Registry.php:1193 >> 6. Horde_Registry-> callAppMethod () >> /usr/share/php/Horde/Registry.php:1635 >> 7. Horde_Registry_Application-> init () >> /usr/share/php/Horde/Registry.php:1197 >> 8. Kronolith_Application -> _ init () >> /usr/share/php/Horde/Registry/Application.php:117 >> 9. Kronolith :: initialize () >> /var/www/horde/kronolith/lib/Application.php:86 >> 10. Horde_Injector-> createInstance () >> /var/www/horde/kronolith/lib/Kronolith.php:758 >> 11. Horde_Injector_Binder_AnnotatedSetters-> create () >> /usr/share/php/Horde/Injector.php:238 >> 12. Horde_Injector_Binder_Implementation-> create () >> /usr/share/php/Horde/Injector/Binder/AnnotatedSetters.php:78 >> 13. Horde_Injector_Binder_Implementation -> _ getInstance () >> /usr/share/php/Horde/Injector/Binder/Implementation.php:70 >> 14. ReflectionClass-> newInstanceArgs () >> /usr/share/php/Horde/Injector/Binder/Implementation.php:88 >> 15. Kronolith_CalendarManager -> __ construct () >> 16. Kronolith_CalendarManager -> _ checkDisplayCals () >> /var/www/horde/kronolith/lib/CalendarsManager.php:132 >> 17. Kronolith_CalendarManager -> _ getDisplayExternal () >> /var/www/horde/kronolith/lib/CalendarsManager.php:300 >> 18. Kronolith_Calendar's Manager-> get () >> /var/www/horde/kronolith/lib/CalendarsManager.php:525 >> 19. Kronolith_CalendarManager -> _ getAllExternal () >> /var/www/horde/kronolith/lib/CalendarsManager.php:189 >> 20. Horde_Registry-> hasMethod () >> /var/www/horde/kronolith/lib/CalendarsManager.php:471 >> 21. Horde_Registry -> _ doHasSearch () >> /usr/share/php/Horde/Registry.php:1016 >> 22. Horde_Registry_Api-> methods () >> /usr/share/php/Horde/Registry.php:1065 >> 23. Ingo_Api-> disabled () /usr/share/php/Horde/Registry/Api.php:86 >> 24. Horde_Registry-> pushApp () /var/www/horde/ingo/lib/Api.php:33 >> 25. Horde_Registry-> callAppMethod () >> /usr/share/php/Horde/Registry.php:1635 >> 26. Horde_Registry_Application-> init () >> /usr/share/php/Horde/Registry.php:1197 >> 27. Ingo_Application -> _ init () >> /usr/share/php/Horde/Registry/Application.php:117 >> 28. Ingo_Session :: create () /var/www/horde/ingo/lib/Application.php:78 >> 29. Ingo_Factory_Transport-> create () >> /var/www/horde/ingo/lib/Session.php:81 >> 30. Horde_Core_Hooks-> callHook () >> /var/www/horde/ingo/lib/Factory/Transport.php:43 >> 31. Ingo_Hooks-> transport_auth () >> /usr/share/php/Horde/Core/Hooks.php:61 >> >> php runs following >> >> php -v >> PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS ) >> Copyright (c) 1997-2017 The PHP Group >> Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies >> with Zend OPcache v7.0.30-0+deb9u1, Copyright (c) 1999-2017, by >> Zend Technologies >> >> >> It just does not want to work. Do you have a tip? >> >> >> Thanks >> >> >> Am 05.07.2018 um 22:50 schrieb Jan Schneider: >>> >>> Zitat von zyrixx <[email protected]>: >>> >>>> Hello, the set email notifications for the appointments in the >>>> calendar are only sent when I log in or out. >>>> >>>> What can I do? Thanksfor Answer. >>> >>> See 4.5 at >>> https://www.horde.org/apps/horde/docs/INSTALL#configuring-horde >>> >> >> -- >> kronolith mailing list >> Frequently Asked Questions: http://wiki.horde.org/FAQ >> To unsubscribe, mail: [email protected] > > > > > -- kronolith mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]