Closed (fixed)
Project:
Google Friend Connect
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2010 at 22:47 UTC
Updated:
19 Oct 2010 at 21:10 UTC
When logging in by clicking the Friend Connect this error message is generated:
PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 ''{removed}''' at line 1: SELECT 1 FROM {friendconnect} WHERE fcid = :fcid'; Array ( [:fcid] => {removed} ) in friendconnect_register_user() (line 174 of .../sites/all/modules/friendconnect/friendconnect.inc)
There is a typo on line 174 of friendconnect.inc, an extra apostrophe in the query.
I've attempted to create a patch file. Please feel free to comment (first patch submitted).
daniel
| Comment | File | Size | Author |
|---|---|---|---|
| 7.x-1.x-dev_oct-ixm-sql-typo-fix.patch | 541 bytes | DanielWashbrook |
Comments
Comment #1
branana commentedComment #2
dave reidThanks again! Committed to CVS for D7.
http://drupal.org/cvs?commit=431946