Adding new control settings

Forum for questions and support relating to the 1.24.x releases only.
foxtroop11
Posts: 41
Joined: Thu Jan 01, 2009 8:11 am

Post by foxtroop11 »

I hate to keep brining this up and it could very well be my install that I kinda rigged up. I made sure everything was removed minus two files on accident before installing this latest 1.24.

I went right to the control area and get the following error in the little box for setting up controls,

Control Capability -
Notice: Undefined variable: control in /var/www/zm/skins/classic/views/controlcap.php on line 163

When I change pages and then go back every box is somehow automatically selected now even though I didn't put a check mark in it. Like I said, it could be just me with this problem.

I can't copy and paste line 163, the forum is editing it.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I know about line 163 and have fixed it here ($control should be $newControl) but it is cosmetic only so won't affect anything.

It would be very odd of every checkbox is selected, usually it's the other way round if at all.
Phil
foxtroop11
Posts: 41
Joined: Thu Jan 01, 2009 8:11 am

Post by foxtroop11 »

I was looking at your patch but i'm not sure how I should edit the file. I'm having this issue with your newest rc version we talked about yesterday. Are you saying that I should just edit that file now with what you said and it should be fixed?

It is very strange what's happening now, it's like the complete opposite of before. I bring up add new control and really can't do anything because if I change a page it checks every block on the last page and even if I save that page and go onto the next one it won't save what I did on the last one. Wish I could explain better, but I still have to use phpmyadmin to edit control settings direct.

Just let me know how to edit that file and line 163 and I'll try it out, or maybe put the edited file and a download link and I'll try it.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I have just dropped another RC, 3437, which should have the control edit page fully working now. I found another issue which probably affected it.
Phil
newvisionantenna
Posts: 381
Joined: Sat Jan 17, 2009 7:49 pm
Location: Germany

Post by newvisionantenna »

Just wanted to let you and the other user know that your newest release corrects the control settings. It now works and I have no issues setting up controls. I'll roll this into my DVD.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Cool, thanks for the update.
Phil
Locked