Page 1 of 1
Montage review - invalid image path
Posted: Fri Feb 16, 2018 2:09 am
by timelyfiasco
Hi, I get the following error when opening montage review.
Code: Select all
2018-02-16 10:02:42.224107 web_php 795 ERR Invalid image path /usr/share/zoneminder/www/views/image.php
I have 3 monitors recording in 2 servers. I can open montage and see all the videos. But when I click montage review. the screen shows "no data".
/var/cach/zoneminder/images have no files in it. while .../events have contents. The folder permission is www-data.
/usr/share/zoneminder/views/image.php shows the error is from
Code: Select all
if ( empty($_REQUEST['path']) )
{
$errorText = "No image path";
}
but I dont know how to fi this. can anybody help?
my zm_path is /cgi-bin/nph-zms
events path is /events
images path is /images
Re: Montage review - invalid image path
Posted: Fri Feb 16, 2018 12:32 pm
by Magic919
Where are you getting ZM_PATH?
Do your events and images paths have that leading /?
Your events should fall under your web root of ZM_PATH_WEB.
Re: Montage review - invalid image path
Posted: Fri Feb 16, 2018 12:36 pm
by bbunge
By saying two servers do you mean a multi server setup?
Linux distro and version?
Instructions you used to install Zoneminder?
Re: Montage review - invalid image path
Posted: Mon Feb 19, 2018 2:07 am
by timelyfiasco
@Magic919
my ZM_PATH is /cgi-bin/nph-zms. There is a leading slash before images and events. I dont understand the last line. What is that?
@ bbunge
Yes, I mean multi server incase it matters. Im using debian 9.2.1. I followed
https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
BTW, all cameras are recording. and I can view live stream in montage. The problem only exist in using montage review.
Re: Montage review - invalid image path
Posted: Mon Feb 19, 2018 2:45 pm
by bbunge
timelyfiasco wrote: ↑Mon Feb 19, 2018 2:07 am
@Magic919
my ZM_PATH is /cgi-bin/nph-zms. There is a leading slash before images and events. I dont understand the last line. What is that?
@ bbunge
Yes, I mean multi server incase it matters. Im using debian 9.2.1. I followed
https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
BTW, all cameras are recording. and I can view live stream in montage. The problem only exist in using montage review.
I suggest reviewing the install instructions you used. I just ran them on Debian 9 and my montage review, with two USB camera, works.
If you, in fact, have two Debian servers running Zoneminder set up in a Multi Server operation you could have some permissions issues. While I've not done Multi Server on Debian I have on Ubuntu and the procedure should work for both. See:
https://wiki.zoneminder.com/Common_Issu ... _on_Ubuntu
You may also have a browser problem. If you are using Firefox you may need to adjust some settings in Firefox:
Enter about:config in the address bar
scroll down to
browser.cache.check_doc_frequency 3
change the 3 to a 1
browser.cache.disk.enable True -> False
network.http.max-connections-per-server -> put a value of 100
network.http.max-persistent-connections-per-proxy -> 100 again
network.http.max-persistent-connections-per-server -> 100 again
Restart Firefox