Page 2 of 2
Re: View Event & delete Event broken after last update
Posted: Mon Oct 19, 2020 12:09 pm
by knight-of-ni
There was bug in the bootstrap-table plugin 1.18.0, which was causing the wrong event deleted. In my case it was trying to delete an event that didn't even exist.
Over the weekend I rolled back the plugin to a git version newer than 1.17.1 but older than 1.18.0. The goal is to avoid the problem with the newest version but not re-introduce old bug that we already worked through.
Re: View Event & delete Event broken after last update
Posted: Mon Oct 19, 2020 8:37 pm
by yaronimo
knight-of-ni wrote: ↑Mon Oct 19, 2020 2:27 am
My knee-jerk reaction to that error message is to remove the trailing comma on line 218 in event.php:
from:
Code: Select all
function($r){return $r >= 0 ? true : false;},
to:
Code: Select all
function($r){return $r >= 0 ? true : false;}
I might be wrong, but it can't hurt to try it.
Worked for me too!
Thanks
Re: View Event & delete Event broken after last update
Posted: Thu Oct 22, 2020 5:26 am
by Sapozhnik
Another problem.
Of I try watch any event I get error
Parse error: syntax error, unexpected ')' in /usr/share/zoneminder/www/skins/classic/views/event.php on line 219
Re: View Event & delete Event broken after last update
Posted: Thu Oct 22, 2020 12:14 pm
by knight-of-ni
Sapozhnik wrote: ↑Thu Oct 22, 2020 5:26 am
Another problem.
Of I try watch any event I get error
Parse error: syntax error, unexpected ')' in /usr/share/zoneminder/www/skins/classic/views/event.php on line 219
That error was fixed already:
https://github.com/ZoneMinder/zoneminde ... fa3cc09ff7
Just delete the extra comma (or wait for the next package to come out) and you will be good to go.
Re: View Event & delete Event broken after last update
Posted: Thu Oct 22, 2020 2:08 pm
by Sapozhnik
knight-of-ni wrote: ↑Thu Oct 22, 2020 12:14 pm
Sapozhnik wrote: ↑Thu Oct 22, 2020 5:26 am
Another problem.
Of I try watch any event I get error
Parse error: syntax error, unexpected ')' in /usr/share/zoneminder/www/skins/classic/views/event.php on line 219
That error was fixed already:
https://github.com/ZoneMinder/zoneminde ... fa3cc09ff7
Just delete the extra comma (or wait for the next package to come out) and you will be good to go.
Thanks.
Correct manually