Page 1 of 1

No data in Montage review

Posted: Wed Nov 30, 2016 9:24 am
by cecchisandrone
Hello,

I set my two cameras in Modect mode and they are correctly displayed in Montage view and detecting events. The problem is that I'm unable to see events in Montage review, I have a strange No Data even if in the timeline I see events and in the www folder there are a lot of images and events. What can be? I see no error in the logs.

Thanks for your help.

Image

Re: No data in Montage review

Posted: Fri Dec 02, 2016 5:24 am
by zraith
I just fixed this on my setup.

I was setting auth_relay to none. Everything worked except the History montage view.

I set AUTH_RELAY back to hashed. Everything broke.

By ensuring the timezone in: /etc/php/7.0/apache2/php.ini
date.timezone = America/Indiana/Indianapolis

and setting the server timezone to the same timezone with:
sudo dpkg-reconfigure tzdata
and finally a reboot.

Now everything works. :)

Re: No data in Montage review

Posted: Fri Dec 02, 2016 5:25 am
by zraith
Here is the post that tipped me off:
viewtopic.php?t=23020

Re: No data in Montage review

Posted: Fri Dec 02, 2016 9:04 am
by cecchisandrone
I tried what you said but it doesn't work :(

In any case I have no authentication for the moment so maybe it's another issue.

Re: No data in Montage review

Posted: Fri Dec 02, 2016 9:22 am
by cecchisandrone
I found the issue while looking at the Apache logs (I had a 500 error in the chrome console). It was reporting:

Code: Select all

[Wed Dec 23 18:07:04.916641 2015] [:error] [pid 14024] [client 16x.x.x.x:24638] PHP Fatal error:  Call to undefined function imagecreatefromjpeg() in /usr/share/zoneminder/www/views/image.php on line 117
Then I found the solution here: viewtopic.php?t=23073&start=60.
Executing:

Code: Select all

sudo apt-get install php-gd
did the trick.

Thanks anyway!