I don't use the web scheduling as the code came after I started using OpenAudit. I've also found it to be a bit touchy and likely to explode at any moment; As you've discovered.
Having said that I don't think the undefined index is your problem. The web scheduling portion of OpenAudit doesn't handle [url=http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html]MySQL strict mode[/url].
Edit audit_sched_add_ajax.php and change the following around line 150: [code] $db = GetOpenAuditDbConnection(); mysql_query($sql,$db) or die("Could not add/update schedule: " . mysql_error() . "<br>$sql");[/code]
To this: [code] $db = GetOpenAuditDbConnection(); $result = mysql_query("SET @@session.sql_mode=''",$db); mysql_query($sql,$db) or die("Could not add/update schedule: " . mysql_error() . "<br>$sql");[/code]
See what that does.
|