Page 1 of 1

error when deleting events

Posted: Thu Aug 11, 2011 12:36 pm
by jsbsmd
running zm 1.24.4 on ubuntu 10.04

Is there a way from a command line to delete all events from a specific camera?
I have 6200 events, and when i try to view all so i can delete them, I get the following error.

The website encountered an error while retrieving http: //192.168.0.191/zm/index.php?view=events&page=0&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=2&sort_field=StartTime&sort_asc=1&limit=. It may be down for maintenance or configured incorrectly.


I can however delete 1 page at a time.

Re: error when deleting events

Posted: Thu Aug 11, 2011 11:08 pm
by bb99
Can't give you a definitive reason why but my simple answer was to change "WEB_EVENTS_PER_PAGE" to 4000.

Re: error when deleting events

Posted: Fri Aug 12, 2011 2:26 pm
by jsbsmd
thanks, i ended up doing a filter search and that was able to list all 6000 events, which i could then delete.

maybe this is a bug?

Re: error when deleting events

Posted: Fri Aug 12, 2011 7:45 pm
by jameswilson
Not a bug it will be a php timeout issue. Your logs will confirm.