AST_VDhopper.pl producing SQL error.

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

AST_VDhopper.pl producing SQL error.

Postby keithm » Wed Oct 17, 2007 2:40 pm

Using mysql 4.1.20 on a Centos 4.4 server setup according to the SCRATCH_INSTALL instructions and Manager Manual.

Getting this error over and over in my cron logs. Any idea where I might look for what is setting this off?


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 list_id IN('') and ((gmt_offset_now IN('0.25','0.00','-0.25','-0.50','-0.7' at line 1 at /usr/share/astguiclient/AST_VDhopper.pl line 971.
executing: SELECT count(*) FROM vicidial_list where called_since_last_reset='N' and status IN() and list_id IN('') and ((gmt_offset_now IN('0.25','0.00','-0.25','-0.50','-0.75','-1.00','-1.25','-1.50','-1.75','-2.00','-2.25','-2.50','-2.75','-3.00','-3.25','-3.50','-3.75','-4.00','-4.25','-4.50','-4.75','-5.00','-5.25','-5.50','-5.75','-6.00','-6.25','-6.50','-6.75','-7.00','-7.25','-7.50','-7.75','-8.00','-8.25','-8.50','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 list_id IN('') and ((gmt_offset_now IN('0.25','0.00','-0.25','-0.50','-0.7' at line 1 at /usr/share/astguiclient/AST_VDhopper.pl line 971.
keithm
 
Posts: 11
Joined: Tue Oct 09, 2007 2:35 pm

Postby peacy » Wed Oct 17, 2007 4:26 pm

Is you campaign set up correctly? Do you have active lists attached to that campaign?
From the SQL it looks like that the campaign doesn't have any lists and doesn't have any statuses defined either. ("...status IN() and list_id IN('')...")
peacy
 
Posts: 55
Joined: Thu Jul 05, 2007 1:46 pm
Location: UK

Postby keithm » Wed Oct 17, 2007 4:38 pm

Yup. I re-added a unique list to the campaign and populated it with the dummy leads from the test_VICIDIAL_lead_file.txt and now I get this error:

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 list_id IN('8800') and ((gmt_offset_now IN('-1.75','-2.00','-2.25','-2.50'' at line 1 at /usr/share/astguiclient/AST_VDhopper.pl line 971.
executing: SELECT count(*) FROM vicidial_list where called_since_last_reset='N' and status IN() and list_id IN('8800') and ((gmt_offset_now IN('-1.75','-2.00','-2.25','-2.50','-2.75','-3.00','-3.25','-3.50','-3.75','-4.00','-4.25','-4.50','-4.75','-5.00','-5.25','-5.50','-5.75','-6.00','-6.25','-6.50','-6.75','-7.00','-7.25','-7.50','-7.75','-8.00','-8.25','-8.50','-8.75','-9.00','-9.25','-9.50','-9.75','-10.00','-10.25','-10.50','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 list_id IN('8800') and ((gmt_offset_now IN('-1.75','-2.00','-2.25','-2.50'' at line 1 at /usr/share/astguiclient/AST_VDhopper.pl line 971.
keithm
 
Posts: 11
Joined: Tue Oct 09, 2007 2:35 pm

Postby keithm » Wed Oct 17, 2007 4:44 pm

Oh god never mind i'm an idiot.

Hadn't added dial statuses (statusi?) to the campaign.

*sigh*.
keithm
 
Posts: 11
Joined: Tue Oct 09, 2007 2:35 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 234 guests