Hello,
I've built ZM 1.22.3 and when I add a monitor the presets come up with an known field error.
Is there a work around for this?
Thanks.
Darren
ZM 1.22.3 Presets
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
your welcome
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Here is the patch for that bug.
Regards,
Corey
Code: Select all
diff -U 3 -H -d -r -N -- ../ZoneMinder-1.22.3-Orig/web/zm_html_view_monitor.php web/zm_html_view_monitor.php
--- ../ZoneMinder-1.22.3-Orig/web/zm_html_view_monitor.php 2006-11-06 05:56:43.000000000 -0800
+++ web/zm_html_view_monitor.php 2006-12-13 17:47:35.308691325 -0800
@@ -113,7 +113,7 @@
}
if ( !empty($preset) )
{
- $result = mysql_query( "select Type, Device, Channel, Format, Host, Port, Path, Width, Height, Palette, MaxFPS, Controllable, ControlId, ControlDevice, ControlAddress, DefaultView, DefaultRate, DefaultScale from MonitorPresets where Id = '$preset'" );
+ $result = mysql_query( "select Type, Device, Channel, Format, Host, Port, Path, Width, Height, Palette, MaxFPS, Controllable, ControlId, ControlDevice, ControlAddress, DefaultRate, DefaultScale from MonitorPresets where Id = '$preset'" );
if ( !$result )
die( mysql_error() );
$preset = mysql_fetch_assoc( $result );
Corey