Re: Problems with Webserver

John Crummy <[email protected]> Mon, 12 Apr 2021 12:17:38 -0700
Newsgroups gmane.comp.kde.devel.kroupware
Message-ID <b40845a844c42c939a0006bc5c70b13e__24905.9080540732$1618255503$gmane$org@minable.ca>
Jochen,

I ran into this this morning when I ran an update as well. I ended up 
just commenting out line 862 in 
/usr/share/roundcubemail/plugins/calendar/calendar.php. The line is 
related to adding birthdays to calendars, so this is a bit of a band-aid 
solution, but it isn't a function I particularly need anyways.

One note is that I also had to modify 
/usr/share/roundcubemail/plugins/calendar/drivers/kolab/kolab_driver.php, 
line 857. Roundcube was loading, but I was getting errors coming up 
periodically and it wasn't 100% working.

The line was modified to be:

if ((!empty($event['recurrence_id']) || !empty($event['isexception'])) 
&& !empty($master['exceptions'])) {

(an extra set of parentheses were removed)

I seems that some things weren't fully tested before getting merged in.

John

On 2021-04-12 11:50, Jochen May wrote:

> Hello,
> 
> for a couple of days i get sometimes a HTTP 500 error when i try to 
> sync via Caldav and Davx on my android phone. But the access to the 
> webmail system was working.
> After a today update and reboot of the server i even can not access the 
> webmail system - i get straight a HTTP 500 error. In the error.log from 
> roundcube i found this [1]. Could this the problem and if yes, how can 
> i fix it?
> 
> Thanks and Regards
> Jochen
> 
> [1]
> [12-Apr-2021 20:44:40 Europe/Berlin] PHP Fatal error:  Can't use 
> function return value in write context in 
> /usr/share/roundcubemail/plugins/calendar/calendar.php on line 862
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://lists.kolab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/users