Hi
Sometime ago I followed this guide and all worded fine.
https://wiki.zoneminder.com/How_to_expo ... the%20page.
Today I upgraded zoneminder ubuntu from repository, iconnor-ubuntu-zoneminder-master-bionic, from v1.35.4 to v1.35.6. Now when clicking on 'Video' from the event page the pop up is completely blank.
It should be like the image attached.
Max
Export event as video - pop up blank
-
- Posts: 7
- Joined: Wed Dec 07, 2016 5:19 pm
Export event as video - pop up blank
- Attachments
-
- 2.jpg (139.88 KiB) Viewed 2015 times
-
- 1.jpg (52.81 KiB) Viewed 2020 times
-
- Posts: 7
- Joined: Wed Dec 07, 2016 5:19 pm
Re: Export event as video - pop up blank
This is the apache error log. In /var/log/zm logs nothing shows
[Tue Aug 25 10:09:11.476288 2020] [php7:notice] [pid 18289] [client 172.24.99.216:42518] PHP Notice: Undefined variable: event in /usr/share/zoneminder/www/skins/classic/views/js/video.js.php on line 1, referer: http://172.24.99.207/zm/index.php?view= ... =1&popup=1
[Tue Aug 25 10:09:11.476442 2020] [php7:error] [pid 18289] [client 172.24.99.216:42518] PHP Fatal error: Uncaught Error: Call to a member function Id() on null in /usr/share/zoneminder/www/skins/classic/views/js/video.js.php:1\nStack trace:\n#0 /usr/share/zoneminder/www/skins/classic/includes/functions.php(170): require_once()\n#1 /usr/share/zoneminder/www/skins/classic/views/video.php(102): xhtmlHeaders('/usr/share/zone...', 'Video')\n#2 /usr/share/zoneminder/www/index.php(290): require_once('/usr/share/zone...')\n#3 {main}\n thrown in /usr/share/zoneminder/www/skins/classic/views/js/video.js.php on line 1, referer: http://172.24.99.207/zm/index.php?view= ... =1&popup=1
[Tue Aug 25 10:09:11.476288 2020] [php7:notice] [pid 18289] [client 172.24.99.216:42518] PHP Notice: Undefined variable: event in /usr/share/zoneminder/www/skins/classic/views/js/video.js.php on line 1, referer: http://172.24.99.207/zm/index.php?view= ... =1&popup=1
[Tue Aug 25 10:09:11.476442 2020] [php7:error] [pid 18289] [client 172.24.99.216:42518] PHP Fatal error: Uncaught Error: Call to a member function Id() on null in /usr/share/zoneminder/www/skins/classic/views/js/video.js.php:1\nStack trace:\n#0 /usr/share/zoneminder/www/skins/classic/includes/functions.php(170): require_once()\n#1 /usr/share/zoneminder/www/skins/classic/views/video.php(102): xhtmlHeaders('/usr/share/zone...', 'Video')\n#2 /usr/share/zoneminder/www/index.php(290): require_once('/usr/share/zone...')\n#3 {main}\n thrown in /usr/share/zoneminder/www/skins/classic/views/js/video.js.php on line 1, referer: http://172.24.99.207/zm/index.php?view= ... =1&popup=1
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Export event as video - pop up blank
Add this to the top of video.js.php:
Does that fix the problem?
Code: Select all
<?php
global $event;
?>
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Export event as video - pop up blank
I just pushed the fix, new packages building.
-
- Posts: 7
- Joined: Wed Dec 07, 2016 5:19 pm
Re: Export event as video - pop up blank
Excellent, thank you!