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

Comments

branana’s picture

Status: Active » Reviewed & tested by the community
dave reid’s picture

Status: Reviewed & tested by the community » Fixed

Thanks again! Committed to CVS for D7.

http://drupal.org/cvs?commit=431946

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.