Can no longer configure zones Hacked/Solved??

Forum for questions and support relating to the 1.27.x releases only.
Locked
iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Can no longer configure zones Hacked/Solved??

Post by iitywygms »

Hi All:

I added a new camera and went to configure the zones.
The text data shows up but the image is no longer present.
I have tried with many different browsers, linux and windows.
Nothing lets me bring up the camera image so I can define zones.
Any idea what this could be?
Zoneminder is installed on ubuntu 12.04 latest up to date version.
Last edited by iitywygms on Fri Aug 22, 2014 1:02 am, edited 1 time in total.
nikonaum
Posts: 2
Joined: Sun Aug 10, 2014 10:36 am

Re: Can no longer configure zones

Post by nikonaum »

iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Re: Can no longer configure zones

Post by iitywygms »

Okay. Thanks for the link.

All my directories have the correct permissions.
It must be related to

“Make sure you've added "/var/cache/zoneminder" to open_basedir in php.ini and restart apache server.”

Not exactly sure how to do this on my system.
I have
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini

Which one should I add it to?

My events, images and errors directories are on a separate drive.

kevin@xxxxxxxxxx:/D3$ ls -la
total 12
drwxrwxrwx 5 root root 64 Aug 4 20:18 .
drwxr-xr-x 29 root root 4096 Aug 11 19:43 ..
drwxrwxrwx 2 kevin kevin 8 Aug 6 2013 errors
drwxrwxrwx 10 www-data www-data 4096 Aug 3 14:15 events
drwxrwxrwx 2 www-data www-data 56 Aug 17 21:50 images

One other note. I recently changed this drive. When trying to use bind in fstab that no longer worked. I don't think that has anything to do with it but wanted to share that info.
I just put the paths to the directories in zoneminder configuration setup.
iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Re: Can no longer configure zones

Post by iitywygms »

I tried the latest update from iconner master.

I am now on v1.27.99.0
I still do not have a image to configure zones.

Help?
iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Re: Can no longer configure zones

Post by iitywygms »

I removed the update and rolled back to 1.27.0
I even purged zoneminder and did a fresh install.
Still no zone images. Im in kind of a bind here as I need to get this set up before I head out on business.
Sorry to be posting up here so often but I cant seem to get this worked out.
Any help would be truly appreciated.
Thanks to all.
iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Re: Can no longer configure zones

Post by iitywygms »

Does this offer a clue?
From apache2 error log.
Happens when I click on add zone.
I took out my ip address.

[Wed Aug 20 17:08:01 2014] [error] [client 192.168.2.102] File does not exist: /var/www/usr, referer: http://xxx.xxx.x.x/zm/index.php?view=zones&$
ThomasNovin
Posts: 29
Joined: Fri Jun 12, 2009 11:36 am

Re: Can no longer configure zones

Post by ThomasNovin »

“Make sure you've added "/var/cache/zoneminder" to open_basedir in php.ini and restart apache server.”
You probably don't have to do this. This variable is empty/not set through any ini-file on my system (un-changed Ubuntu 14.04.1) and it works fine like that.
iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Re: Can no longer configure zones

Post by iitywygms »

ThomasNovin wrote:
“Make sure you've added "/var/cache/zoneminder" to open_basedir in php.ini and restart apache server.”
You probably don't have to do this. This variable is empty/not set through any ini-file on my system (un-changed Ubuntu 14.04.1) and it works fine like that.
I have tried it with and without that set.
This is really confusing because I had been running the same setup for quite a while. It worked fine and then last week when I changed cameras and went to set up the zone it was blank.

The only thing I have changed is the drive that images and events are stored to. The path is the same but the drive is different.
Is there any other information I can offer to anyone to get this resolved?
iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Re: Can no longer configure zones Hacked/Solved??

Post by iitywygms »

Okay:

I got it to work in a strange way.

I looked at the apache2 error logs.
Every time I tried to setup a zone it gave an error in apache of a missing file. see above post from me.

So I had to create this directory structure.
/var/www/usr/share/zoneminder/images$ (I did not have /usr/share/zoneminder/images)
I then created a link to the actual folder loaction of images from the newly created images path.
I then set the correct permissions and viola. I now have images in zone setup.

This CANT be the right way to do this. But it works for now.
Can anyone explain what is going on here?????
iitywygms
Posts: 123
Joined: Thu Nov 08, 2012 5:19 am

Re: Can no longer configure zones Hacked/Solved??

Post by iitywygms »

If any of the experts could chime in it would be appreciated.
Would this be caused by a apache error or is this all zoneminder??
Locked