My /var/www/zm/images directory has nothing in it. I tried making it writable and restarting zoneminder to no avail. Your help is greatly appreciated and thank you for such an awesome DVR![Sat Jul 06 18:04:17 2013] [error] [client 192.168.1.51] File does not exist: /var/www/zm/images/Zones1.jpg, referer: http://<mydomainname>/index.php?view=zone&mid=1&zid=1
Zone Image blank
Zone Image blank
When I go to edit or add a zone, the "Zone Image" is blank. I can move the zone points, but it is very difficult to work with having no reference to the image. My apache log shows
Re: Zone Image blank
I had the same issue.
The problem is that zm isn't allowed to read/write files outside the path defined in
On my machine /srv/httpd/zoneminder/image was symlinked to somewhere outside the open_basedir.
please check that.
The problem is that zm isn't allowed to read/write files outside the path defined in
Code: Select all
open_basedir (php.ini)
please check that.
Re: Zone Image blank
If you changed the default folders for events, images and sounds under the options tab then you must put sym links in the default path linking to your desired path. See the suggestion by CKrypto near the bottom of this thread: http://www.zoneminder.com/forums/viewto ... 29&t=20902
That worked for me!
Good luck!
Jon
That worked for me!
Good luck!
Jon
Re: Zone Image blank
On my setup /var/www/zm/images is not symlinked and I have not changed the default options. The apache logs indicate that it is looking for the "Zones1.jpg" image in the correct directory, but it does not exist. What process is supposed to be creating this image and when does it occur? During startup or when the zones hyperlink is pressed for the monitor? I'm not sure where to look. Thank you for your help.
Re: Zone Image blank
Hi - Similar problem - following this post http: // www.zoneminder.com / forums / viewtopic.php?f=21&t=18604
Re: Zone Image blank
What you need to link where depends on if you're using a package or if you compiled it yourself.
For example, using the ubuntu 1.25 package, zoneminder lives in /usr/share/zoneminder .
SOOOooo, if you want to move your events and images files someplace intelligent, you need to symlink
/usr/share/zoneminder/events -> (new events home)
/usr/share/zoneminder/images -> (new images home)
Make sure user www-data has read/write permissions to those new areas.
Then go to the zm options screen, under paths, make sure "dir_events" is set to just "events" (that's the default) and "dir_images" is set to just "images".
Restart apache (for good measure) & zm. Try and add a zone, should get an image now when adding zones.
For example, using the ubuntu 1.25 package, zoneminder lives in /usr/share/zoneminder .
SOOOooo, if you want to move your events and images files someplace intelligent, you need to symlink
/usr/share/zoneminder/events -> (new events home)
/usr/share/zoneminder/images -> (new images home)
Make sure user www-data has read/write permissions to those new areas.
Then go to the zm options screen, under paths, make sure "dir_events" is set to just "events" (that's the default) and "dir_images" is set to just "images".
Restart apache (for good measure) & zm. Try and add a zone, should get an image now when adding zones.