I'm trying to set the zm_html_settings.php to something other than 0 and the settings are not taking. I'm not even sure how they got set to zero to be honest. I had noticed earlier that I could not change the setting through the web page.
Although the SQL error is gone.
FC 3
php ver. 4.3.10-3.2
mysql-server 3.23.58-14
zm-1.20.2-RC2
Brightness, Contrast settings not taking
in file zm-1.20.0/web/zm_actions.php (or change him on you web dir)
find this code:
and replace line to
in original code was missing space before parameter -m
Enjoy!
find this code:
Code: Select all
$zmu_command = getZmuCommand("-m $mid -B$new_brightness -C$new_contrast -H$new_hue -O$new_colour" );
and replace line to
Code: Select all
$zmu_command = getZmuCommand(" -m $mid -B$new_brightness -C$new_contrast -H$new_hue -O$new_colour" );
Enjoy!
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: