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.
View Event & delete Event broken after last update
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: View Event & delete Event broken after last update
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: View Event & delete Event broken after last update
Worked for me too!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:to:Code: Select all
function($r){return $r >= 0 ? true : false;},
I might be wrong, but it can't hurt to try it.Code: Select all
function($r){return $r >= 0 ? true : false;}
Thanks
Re: View Event & delete Event broken after last update
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
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
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: View Event & delete Event broken after last update
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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: View Event & delete Event broken after last update
Thanks.knight-of-ni wrote: ↑Thu Oct 22, 2020 12:14 pmThat 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.
Correct manually