I have installed sfFacebookConnectPlugin using a tutorial, and encountered an Error probably from the plugin. I haven't done match else so I don't know where else the problem may be.
the error is: 500 | Internal Server Error | Doctrine_Connection_Mysql_Exception SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Facebook_' for key 2 I believe its a result of the $user->getCurrentFacebookUid(); returning NULL Can you help? this is the log: 1 sfPatternRoutingConnect sfRoute "sf_guard_signin" (/login) 2 sfPatternRoutingConnect sfRoute "sf_guard_signout" (/logout) 3 sfPatternRoutingConnect sfRoute "sf_guard_password" (/ request_password) 4 sfPatternRoutingConnect sfRoute "sf_facebook_connect_signin" (/fb-connect/signin) 5 sfPatternRoutingConnect sfRoute "sf_facebook_connect_ajax_signin" (/ fb-connect/ajax-signin) 6 sfPatternRoutingMatch route "homepage" (/) for / with parameters array ( 'module' => 'fapp', 'action' => 'index',) 7 sfFilterChainExecuting filter "sfRenderingFilter" 8 sfFilterChainExecuting filter "sfExecutionFilter" 9 fappActionsCall "fappActions->executeIndex()" 10 Doctrine_Connection_Mysqlexec : SET NAMES 'UTF8' - () 11 Doctrine_Connection_Statementexecute : SELECT COUNT(*) AS num_results FROM (SELECT s.id <http://s.id> FROM sf_guard_user s INNER JOIN sf_guard_user_profile s2 ON s.id <http:// s.id> = s2.user_id WHERE s2.facebook_uid = ? AND s.is_active = ? GROUP BY s.id <http://s.id> ) dctrn_count_query - (, 1) 12 sfFacebookConnectNo user exists with current facebook_uid 13 sfFacebookConnectNo user exists with current email hash 14 Doctrine_Connection_Statementexecute : INSERT INTO sf_guard_user (algorithm, is_active, is_super_admin, username, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) - (sha1, 1, 0, Facebook_, 2010-03-31 17:24:52, 2010-03-31 17:24:52) 15 Doctrine_Connection_Mysql_ExceptionSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Facebook_' for key 2 16 sfWebResponseSend status "HTTP/1.1 500 Internal Server Error" 17 sfWebResponseSend header "Content-Type: text/html; charset=utf-8" -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe, reply using "remove me" as the subject.
