Closed pafcioooo closed 6 years ago
Ok I forgot to look into roundcube/logs/errors, here is:
[27-Jun-2018 21:04:24 Europe/Warsaw] PHP Parse error: syntax error, unexpected '?>', expecting ')' in /home/poczta/public_html/roundcubemail/plugins/calendar/config.inc.php on line 214
[27-Jun-2018 21:04:50 Europe/Warsaw] PHP Parse error: syntax error, unexpected '?>', expecting ')' in /home/poczta/public_html/roundcubemail/plugins/calendar/config.inc.php on line 214
[27-Jun-2018 21:06:36 Europe/Warsaw] PHP Parse error: syntax error, unexpected '?>', expecting ')' in /home/poczta/public_html/roundcubemail/plugins/calendar/config.inc.php on line 214
[27-Jun-2018 21:09:11 Europe/Warsaw] PHP Fatal error: Uncaught Error: Call to undefined function Q() in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php:2898
Stack trace:
#0 /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php(2961): calendar->mail_agenda_event_row(Array, 'current')
#1 /home/poczta/public_html/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(440): calendar->mail_messagebody_html(Array)
#2 /home/poczta/public_html/roundcubemail/program/include/rcmail_output_html.php(1208): rcube_plugin_api->exec_hook('template_object...', Array)
#3 [internal function]: rcmail_output_html->xml_command(Array)
#4 /home/poczta/public_html/roundcubemail/program/include/rcmail_output_html.php(1013): preg_replace_callback('/<roundcube:([-...', Array, '<roundcube:obje...')
#5 /home/poczta/public_html/roundcubemail/program/include/rcmail_output_html.php(634): rcmail_output_html->parse_xml('<roundcube:obje...')
#6 /home/poczta/public_html/roundcubemail/program/include/rcmail_output_html.php(488): rcmail_output_html->parse('messag in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php on line 2898
[27-Jun-2018 21:09:32 Europe/Warsaw] PHP Fatal error: Uncaught Error: Call to undefined function rcube_autocomplete_init() in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php:498
Stack trace:
#0 /home/poczta/public_html/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(493): calendar->calendar_view()
#1 /home/poczta/public_html/roundcubemail/index.php(295): rcube_plugin_api->exec_action('calendar.index')
#2 /home/poczta/public_html/roundcubemail/public_html/index.php(26): include('/home/poczta/pu...')
#3 {main}
thrown in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php on line 498
[27-Jun-2018 21:09:49 Europe/Warsaw] PHP Fatal error: Uncaught Error: Call to undefined function Q() in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php:565
Stack trace:
#0 /home/poczta/public_html/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(440): calendar->preferences_list(Array)
#1 /home/poczta/public_html/roundcubemail/program/steps/settings/func.inc(1265): rcube_plugin_api->exec_hook('preferences_lis...', Array)
#2 /home/poczta/public_html/roundcubemail/program/steps/settings/edit_prefs.inc(28): rcmail_user_prefs('calendar')
#3 /home/poczta/public_html/roundcubemail/index.php(303): include_once('/home/poczta/pu...')
#4 /home/poczta/public_html/roundcubemail/public_html/index.php(26): include('/home/poczta/pu...')
#5 {main}
thrown in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php on line 565
[27-Jun-2018 21:18:35 Europe/Warsaw] PHP Fatal error: Uncaught Error: Call to undefined function rcube_autocomplete_init() in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php:498
Stack trace:
#0 /home/poczta/public_html/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(493): calendar->calendar_view()
#1 /home/poczta/public_html/roundcubemail/index.php(295): rcube_plugin_api->exec_action('calendar.index')
#2 /home/poczta/public_html/roundcubemail/public_html/index.php(26): include('/home/poczta/pu...')
#3 {main}
thrown in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php on line 498
[27-Jun-2018 21:19:16 Europe/Warsaw] PHP Fatal error: Uncaught Error: Call to undefined function Q() in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php:565
Stack trace:
#0 /home/poczta/public_html/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(440): calendar->preferences_list(Array)
#1 /home/poczta/public_html/roundcubemail/program/steps/settings/func.inc(1265): rcube_plugin_api->exec_hook('preferences_lis...', Array)
#2 /home/poczta/public_html/roundcubemail/program/steps/settings/edit_prefs.inc(28): rcmail_user_prefs('calendar')
#3 /home/poczta/public_html/roundcubemail/index.php(303): include_once('/home/poczta/pu...')
#4 /home/poczta/public_html/roundcubemail/public_html/index.php(26): include('/home/poczta/pu...')
#5 {main}
thrown in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php on line 565
There was ?> entry in plugins/calendar/config.inc.php (which is also in .dist file). I have removed it. Now symptoms are the same, but in roundcube/logs/errors there is only this:
[27-Jun-2018 21:26:16 Europe/Warsaw] PHP Fatal error: Uncaught Error: Call to undefined function rcube_autocomplete_init() in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php:498
Stack trace:
[27-Jun-2018 21:26:16 Europe/Warsaw] PHP Fatal error: Uncaught Error: Call to undefined function rcube_autocomplete_init() in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php:498
Stack trace:
#0 /home/poczta/public_html/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(493): calendar->calendar_view()
#1 /home/poczta/public_html/roundcubemail/index.php(295): rcube_plugin_api->exec_action('calendar.index')
#2 /home/poczta/public_html/roundcubemail/public_html/index.php(26): include('/home/poczta/pu...')
#3 {main}
thrown in /home/poczta/public_html/roundcubemail/plugins/calendar/calendar.php on line 498
If I search github for the rcube_autocomplete_init() it find this in bc.php file which was part of roundcube/program/include folder but in 1.3.6 the is no such file.
I found #19 and #15 had similiar problems. Esspecially in #15 it is mentioned that there are some patches for version 1.3 of Roundcube, but it seems that thay are not put into this repository and mentioned there repository https://gitlab.awesome-it.de/kolab/roundcube-plugins/commit/967eac96c7b898cf44ba7193815117fc2aac618d is unavailable.
OK. So in #15 @fasterit pointed me to a new repo https://github.com/dotplex/roundcube_calendar that has Roundcube 1.3.x patch. After applying files from this repo:
It works, which is excellent write now, so I close the issue. Errors will go into new issues.
One more thing. I do not know but suddenly both not working in 2. are working. So problem solved to the bones;-)
Still sometimes it happens that: