Page 1 of 1

ok iam back... phill i send some bug

Posted: Fri Mar 05, 2004 9:37 pm
by fernando
ok first.. this is an old bug. zm uses monitor name to create folder events in disk....... mm ok and example.:
monitor named "new"
events are in /var/www/html/events/new ok
if you change the monitor name you will lost all the events, will be great to use camera Id has event folder.

i have to test it more deeply. but i thing something is wrong with ffmpeg sinse i cant set video atributes has size .. i dont know.

i will write some other things later..

phil what's new in the new release? i cant wait..

Re: ok iam back... phill i send some bug

Posted: Sat Mar 06, 2004 11:49 pm
by fernando
ok i found another bug.. i trie to filter on weekdays and i have and error.

this is the url semms ok. is a normal "MonitorId" iqual "1" "and" "Weekday" "equal to" "Monday"

http://192.168.0.10/index.php?view=even ... al2=Monday


i get and error..

this is the web source code.

<html>
<head>
<title>ZM - Eventos</title>
<link rel="stylesheet" href="zm_styles.css" type="text/css">
<script language="JavaScript">
function newWindow(Url,Name,Width,Height)
{
var Name = window.open(Url,Name,"resizable,scrollbars,width="+Width+",height="+Height);
}
function eventWindow(Url,Name,Width,Height)
{
var Name = window.open(Url,Name,"resizable,width="+Width+",height="+Height );
}
function filterWindow(Url,Name)
{
var Name = window.open(Url,Name,"resizable,scrollbars,width=560,height=250");
}
function closeWindow()
{
window.close();
// This is a hack. The only way to close an existing window is to try and open it!
var filterWindow = window.open( "/index.php?view=none", 'zmFilter', 'width=1,height=1' );
filterWindow.close();
}
function checkAll(form,name)
{
for (var i = 0; i < form.elements.length; i++)
if (form.elements[i].name.indexOf(name) == 0)
form.elements[i].checked = 1;
form.delete_btn.disabled = false;
}
function configureButton(form,name)
{
var checked = false;
for (var i = 0; i < form.elements.length; i++)
{
if ( form.elements[i].name.indexOf(name) == 0)
{
if ( form.elements[i].checked )
{
checked = true;
break;
}
}
}
form.delete_btn.disabled = !checked;
}
window.focus();
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '2004-03-08 00:00:00' )' )' at line 1