Can't delete filter

Forum for questions and support relating to the 1.31.x releases only.
Locked
sil3ntcor3
Posts: 6
Joined: Wed Oct 11, 2017 6:18 pm

Can't delete filter

Post by sil3ntcor3 »

I'm trying to delete several filters I created. When I select the filter and click the delete button, nothing happens and the filter is still present.

Thanks for any help in advance.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Can't delete filter

Post by rockedge »

what are the zoneminder and operating system versions ?
sil3ntcor3
Posts: 6
Joined: Wed Oct 11, 2017 6:18 pm

Re: Can't delete filter

Post by sil3ntcor3 »

Zoneminder v1.31.1 and Ubuntu 16.04.3 LTS
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Can't delete filter

Post by rockedge »

I had this happen with version 1.30.1 but I can not find the notes as to what it was and how to fix it. I will try to duplicate it as I am about to do a new install with the same version of ZM and Ubuntu. See if I can get ZM to fail in the same manner.
sil3ntcor3
Posts: 6
Joined: Wed Oct 11, 2017 6:18 pm

Re: Can't delete filter

Post by sil3ntcor3 »

Thanks.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Can't delete filter

Post by rockedge »

are you using mariadb or mysql for the database?
sil3ntcor3
Posts: 6
Joined: Wed Oct 11, 2017 6:18 pm

Re: Can't delete filter

Post by sil3ntcor3 »

MySQL
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Can't delete filter

Post by rockedge »

I have not been able to duplicate the error but I used mariadb.....I will change db to MySQL and try it again!

did you add this line to the my.conf?

Code: Select all

sql_mode = NO_ENGINE_SUBSTITUTION
sil3ntcor3
Posts: 6
Joined: Wed Oct 11, 2017 6:18 pm

Re: Can't delete filter

Post by sil3ntcor3 »

That line is there but I don't recall adding it or if it was there by default.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Can't delete filter

Post by rockedge »

it should be there for the newer versions of mysql. can you drop the ZM database and create a new one and import the sql file?
sil3ntcor3
Posts: 6
Joined: Wed Oct 11, 2017 6:18 pm

Re: Can't delete filter

Post by sil3ntcor3 »

So I ended up building a new VM and using mariadb and everything is working great now.
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Can't delete filter

Post by rockedge »

:D
Locked