Page 1 of 1

Cron Error: SQL Syntax (2.4-266)

PostPosted: Thu Jul 29, 2010 11:47 pm
by bmorrison
Hello,

I just installed vicibox with the lastest from the svn. Root's mail is getting hit with this every minute:

Code: Select all
DBD::mysql::st execute failed: 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 ') and ((gmt_offset_now IN('99') ) )' at line 1 at /usr/share/astguiclient/AST_VDhopper.pl line 1624.
executing: SELECT count(*) FROM vicidial_list where called_since_last_reset='N' and () and ((gmt_offset_now IN('99') ) )  ; 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 ') and ((gmt_offset_now IN('99') ) )' at line 1 at /usr/share/astguiclient/AST_VDhopper.pl line 1624.


BUILD: 100726-1017

PostPosted: Fri Jul 30, 2010 6:54 am
by mflorell
Do you have a campaign active on your system?

I just added some code in SVN to prevent this error, but if you have a properly configured campaign this error should not be happening.

PostPosted: Fri Jul 30, 2010 8:27 am
by bmorrison
There is no campaign.

I'll add one and kill the errors.

Thanks!