modify filters error (500)

Forum for questions and support relating to 1.33.x development only.
Post Reply
Cramac1
Posts: 27
Joined: Wed Aug 29, 2018 11:29 am

modify filters error (500)

Post by Cramac1 » Sat Mar 30, 2019 7:28 pm

Hello.
when you try to change the filter, error 500 crashes

Code: Select all

[Sat Mar 30 22:13:38.975152 2019] [php7:notice] [pid 26550] [client 176.59.46.156:51350] PHP Fatal error:  Uncaught Error: Call to undefined function ZM\\csrf_get_secret() in /usr/share/zoneminder/www/includes/Filter.php:221\nStack trace:\n#0 /usr/share/zoneminder/www/includes/actions/filter.php(80): ZM\\Filter->control('stop')\n#1 /usr/share/zoneminder/www/index.php(215): require_once('/usr/share/zone...')\n#2 {main}\n  thrown in /usr/share/zoneminder/www/includes/Filter.php on line 221, referer: http://site.ru/zm/index.php?view=filter&Id=3&action=&object=filter&filter%5BName%5D=DeleteOld7Day&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=Archived&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=0&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3C&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=7+days+ago&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bobr%5D=1&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bval%5D=13&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bval%5D=&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bcnj%5D=or&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bval%5D=7&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bcbr%5D=1&filter%5BQuery%5D%5Bsort_field%5D=Id&filter%5BQuery%5D%5Bsort_asc%5D=1&filter%5BQuery%5D%5Blimit%5D=100&filter%5BAutoExecuteCmd%5D=%2Fbin%2Fls&filter%5BAutoDelete%5D=1&filter%5BAutoMoveTo%5D=0&filter%5BBackground%5D=1
[Sat Mar 30 22:13:56.641987 2019] [php7:notice] [pid 7578] [client 176.59.46.156:51353] PHP Fatal error:  Uncaught Error: Call to undefined function ZM\\csrf_get_secret() in /usr/share/zoneminder/www/includes/Filter.php:221\nStack trace:\n#0 /usr/share/zoneminder/www/includes/actions/filter.php(80): ZM\\Filter->control('stop')\n#1 /usr/share/zoneminder/www/index.php(215): require_once('/usr/share/zone...')\n#2 {main}\n  thrown in /usr/share/zoneminder/www/includes/Filter.php on line 221, referer: http://site.ru/zm/index.php?view=filter&Id=3&action=&object=filter&filter%5BName%5D=DeleteOld7Day&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=Archived&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=0&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3C&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=7+days+ago&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bobr%5D=1&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bval%5D=13&filter%5BQuery%5D%5Bterms%5D%5B2%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bcnj%5D=or&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bval%5D=2&filter%5BQuery%5D%5Bterms%5D%5B3%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bval%5D=&filter%5BQuery%5D%5Bterms%5D%5B4%5D%5Bcbr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B5%5D%5Bcnj%5D=or&filter%5BQuery%5D%5Bterms%5D%5B5%5D%5Bobr%5D=0&filter%5BQuery%5D%5Bterms%5D%5B5%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B5%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B5%5D%5Bval%5D=7&filter%5BQuery%5D%5Bterms%5D%5B5%5D%5Bcbr%5D=1&filter%5BQuery%5D%5Bsort_field%5D=Id&filter%5BQuery%5D%5Bsort_asc%5D=1&filter%5BQuery%5D%5Blimit%5D=100&filter%5BAutoExecuteCmd%5D=%2Fbin%2Fls&filter%5BAutoDelete%5D=1&filter%5BAutoMoveTo%5D=0&filter%5BBackground%5D=1
v1.33.4.

User avatar
iconnor
Posts: 1046
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: modify filters error (500)

Post by iconnor » Wed Apr 03, 2019 1:18 pm

Lastest master may fix this.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests