Hi Everyone.
I have just managed to solve the issue with my gift aid module and the update for CiviCRM comes out for 3.4.6 so i tested it on my test server worked ok, didnt check the gift aid module module though. I went to run the Gift Aid batch and got to the point of confirming the results and creating the batch and got this error:
Database Error Code: 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 's Ford EASTLEIGH, SO53 5RT ', 'SO53 5RT', 55.00, 13.75)' at line 3, 1064
Additional Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -2
[message] => DB Error: syntax error
[mode] => 16
[debug_info] => REPLACE INTO civicrm_value_gift_aid_submission
(entity_id, eligible_for_gift_aid, name, address, post_code, amount, gift_aid_amount)
VALUES (48172, 1, 'Mrs. Patricia Grant', '3 Maytree Road
Chandler's Ford
EASTLEIGH, SO53 5RT
',
'SO53 5RT', 55.00, 13.75) [nativecode=1064 ** 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 's Ford
EASTLEIGH, SO53 5RT
',
'SO53 5RT', 55.00, 13.75)' at line 3]
[type] => DB_Error
[user_info] => REPLACE INTO civicrm_value_gift_aid_submission
(entity_id, eligible_for_gift_aid, name, address, post_code, amount, gift_aid_amount)
VALUES (48172, 1, 'Mrs. Patricia Grant', '3 Maytree Road
Chandler's Ford
EASTLEIGH, SO53 5RT
',
'SO53 5RT', 55.00, 13.75) [nativecode=1064 ** 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 's Ford
EASTLEIGH, SO53 5RT
',
'SO53 5RT', 55.00, 13.75)' at line 3]
[to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="REPLACE INTO civicrm_value_gift_aid_submission
(entity_id, eligible_for_gift_aid, name, address, post_code, amount, gift_aid_amount)
VALUES (48172, 1, 'Mrs. Patricia Grant', '3 Maytree Road
Chandler's Ford
EASTLEIGH, SO53 5RT
',
'SO53 5RT', 55.00, 13.75) [nativecode=1064 ** 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 's Ford
EASTLEIGH, SO53 5RT
',
'SO53 5RT', 55.00, 13.75)' at line 3]"]
)
Can anyone tell me what this means?
Thank you
Chel