Undefined index: filter

Forum for questions and support relating to the 1.24.x releases only.
Locked
plink212
Posts: 1
Joined: Sun Aug 23, 2009 7:08 pm

Undefined index: filter

Post by plink212 »

I am trying to create a new filter under 1.24.2
when i do this i get an error message in the filter window of
Notice: Undefined index: filter in /var/www/zoneminder.insipid.org.uk/htdocs/skins/classic/views/filter.php on line 163
I have tried reinstalling but keep getting stuck here, I am guessing this is a db problem but a zmupdate does not seem to fix it.

Little help

Tim
Liath
Posts: 4
Joined: Mon Mar 29, 2010 10:53 pm

Post by Liath »

I'm also having an issue with this. This is on Ubuntu 9.10:
Linux zm-ubuntu 2.6.31-20-generic-pae #58-Ubuntu SMP Fri Mar 12 06:25:51 UTC 2010 i686 GNU/Linux

Zoneminder is: v1.24.1

The page:
http://--IP--/zm/index.php?view=filter&page=1

Error display:

Code: Select all

Notice: Undefined index: filter in /usr/share/zoneminder/skins/classic/views/filter.php on line 163
Between "Use Filter" and "Sort by"

Is this an issue with Ubuntu? Is this something I can repair on my own?

I could pull up the file myself and paste in the line in question... if someone would like.

And, here it is:

Code: Select all

<?php
for ( $i = 0; $i < count($_REQUEST['filter']['terms']); $i++ )
{
?>
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Hi.

Have you tried removing all filters you currently have?
Liath
Posts: 4
Joined: Mon Mar 29, 2010 10:53 pm

Post by Liath »

mastertheknife wrote:Hi.

Have you tried removing all filters you currently have?
Thing is, none of the filters even show up. There is an error in the php code and it doesn't show any of the filters or the controls for them.
karsta62
Posts: 17
Joined: Wed Dec 01, 2010 5:25 am

Post by karsta62 »

I have the same issue. with 1.24.1 and ubuntu 9.10.
I can't even delete any filters. The delete button is there but does nothing.
I wonder where the filters are (file or database). Can they be deleted by hand somehow?
Locked