wep_php
Posted: Mon May 11, 2020 1:57 am
When clicking on live image in montage mode, the live image comes up, but there are no recent events.
2020-05-10 18:50:58 web_php 3129 ERR Sort field Id not in SQL Fields /usr/share/zoneminder/www/ajax/status.php 291
2020-05-10 18:50:58 web_php 3129 ERR SQL-ERR 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC limit 20' at line 1', statement was 'SELECT `Id`, `MonitorId`, `Name`, `Cause`, `Notes`, `StartTime`, date_format( StartTime, '%y/%m/%d %H:%i:%S' ) as StartTimeShort, `EndTime`, `Width`, `Height`, `Length`, `Frames`, `AlarmFrames`, `TotScore`, `AvgScore`, `MaxScore` FROM Events WHERE Events.MonitorId = :selector0 ORDER BY DESC limit 20' params:1 /usr/share/zoneminder/www/includes/database.php 152
2020-05-10 18:50:58 web_php 3129 ERR SQL-ERR dbFetchAll no result, statement was 'SELECT `Id`, `MonitorId`, `Name`, `Cause`, `Notes`, `StartTime`, date_format( StartTime, '%y/%m/%d %H:%i:%S' ) as StartTimeShort, `EndTime`, `Width`, `Height`, `Length`, `Frames`, `AlarmFrames`, `TotScore`, `AvgScore`, `MaxScore` FROM Events WHERE Events.MonitorId = :selector0 ORDER BY DESC limit 20'params: 1 /usr/share/zoneminder/www/includes/database.php 185
It works as expected in the latest release 1.34, but current 1.35 breaks it. I think the one a week ago also breaks it.
When I installed 1.35, it said the db was updated successfully.
2020-05-10 18:50:58 web_php 3129 ERR Sort field Id not in SQL Fields /usr/share/zoneminder/www/ajax/status.php 291
2020-05-10 18:50:58 web_php 3129 ERR SQL-ERR 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC limit 20' at line 1', statement was 'SELECT `Id`, `MonitorId`, `Name`, `Cause`, `Notes`, `StartTime`, date_format( StartTime, '%y/%m/%d %H:%i:%S' ) as StartTimeShort, `EndTime`, `Width`, `Height`, `Length`, `Frames`, `AlarmFrames`, `TotScore`, `AvgScore`, `MaxScore` FROM Events WHERE Events.MonitorId = :selector0 ORDER BY DESC limit 20' params:1 /usr/share/zoneminder/www/includes/database.php 152
2020-05-10 18:50:58 web_php 3129 ERR SQL-ERR dbFetchAll no result, statement was 'SELECT `Id`, `MonitorId`, `Name`, `Cause`, `Notes`, `StartTime`, date_format( StartTime, '%y/%m/%d %H:%i:%S' ) as StartTimeShort, `EndTime`, `Width`, `Height`, `Length`, `Frames`, `AlarmFrames`, `TotScore`, `AvgScore`, `MaxScore` FROM Events WHERE Events.MonitorId = :selector0 ORDER BY DESC limit 20'params: 1 /usr/share/zoneminder/www/includes/database.php 185
It works as expected in the latest release 1.34, but current 1.35 breaks it. I think the one a week ago also breaks it.
When I installed 1.35, it said the db was updated successfully.