sql syntax error

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

sql syntax error

Postby marcoe » Thu Aug 05, 2010 2:33 pm

Hello, I'm getting this error every minute:

From root@vicidial.site Wed Jul 28 00:55:02 2010
X-Original-To: root
Delivered-To: root@vicidial.site
From: root@vicidial.site
To: root@vicidial.site
Subject: Cron <root@vicidial> /usr/share/astguiclient/AST_VDhopper.pl -q
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Date: Wed, 28 Jul 2010 00:55:02 -0300 (BRT)

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.


It will stop after I create the first campaign. I can't recall if this happened before, but since my last download of the .ISO I've been noticing this behavior.

I'm using the trunk VERSION: 2.4-265 BUILD: 100723-1519
ISO: ViciBox Redux 2.0.2
Asterisk: 1.4.27.1-vici

This is nothing to be too concerned, but I guess we have to help making this software better in every way.
marcoe
 
Posts: 60
Joined: Tue Feb 23, 2010 2:06 pm
Location: Brazil

Postby mflorell » Thu Aug 05, 2010 4:38 pm

Thanks for posting. I believe that I fixed that bug when it was first reported last week, so it will be in the most recent SVN/trunk(2.4) codebase. If you update then it should not happen anymore.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby marcoe » Thu Aug 05, 2010 4:46 pm

That's great, thanks.
marcoe
 
Posts: 60
Joined: Tue Feb 23, 2010 2:06 pm
Location: Brazil


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 332 guests