Hello,
I ve installed Facebook Event module with FBconnect.. (using Drupal 7.10)
after created (as documentation the field , the event etc..) when i try to see the node i get the following SQL error :
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 '))' at line 1: SELECT u.uid AS uid, u.fbuid AS fbuid FROM {fbconnect_users} u WHERE (u.fbuid IN ()) ; Array ( ) in fb_event_update_event_members_rsvp() (line 420 of/....../sites/all/modules/fb_event/fb_event.module).
... so the error refers to this :
$result = db_select('fbconnect_users', 'u')
->fields('u', array(
'uid',
'fbuid',
))
->where('u.fbuid IN (:fbus)', array(':fbus' => array_keys($members)))
->execute();
PHP 5.3.3
MySQL : 5.0.77
finally trying to check the array $members ... its obviously empty...
Any help would be great ,
Thanks
Comments
Comment #1
vinoth.3v commentedadd this empty check statement to that function.
fix is updated to git.
Comment #2.0
(not verified) commentedserver specs