Warning: Table './dff_live/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:40:\"Creating default object from empty value\";s:5:\"%file\";s:63:\"/srv/drupalforfacebook.org/profiles/custom/modules/fb/fb.module\";s:5:\"%line\";i:1079;}', 3, '', 'http://www.drupalforfacebook.org/fb_cb/NNN/node/2497', '', '107.22.25.119', 1371628670) in /srv/drupalforfacebook.org/includes/database.mysqli.inc on line 134 Call Stack: 0.0002 129256 1. {main}() /srv/drupalforfacebook.org/index.php:0 0.2173 7154972 2. theme() /srv/drupalforfacebook.org/index.php:35 0.2173 7164712 3. call_user_func_array() /srv/drupalforfacebook.org/includes/theme.inc:709 0.2173 7164932 4. template_preprocess_page() /srv/drupalforfacebook.org/includes/theme.inc:709 0.2356 7310060 5. theme() /srv/drupalforfacebook.org/includes/theme.inc:1835 0.2356 7310380 6. call_user_func_array() /srv/drupalforfacebook.org/includes/theme.inc:668 0.2356 7310556 7. theme_blocks() /srv/drupalforfacebook.org/includes/theme.inc:668 0.2356 7310584 8. block_list() /srv/drupalforfacebook.org/includes/theme.inc:1641 0.2356 7310856 9. module_invoke() /srv/drupalforfacebook.org/modules/block/block.module:522 0.2356 7311308 10. call_user_func_array() /srv/drupalforfacebook.org/includes/module.inc:461 0.2356 7311528 11. fb_connect_block() /srv/drupalforfacebook.org/includes/module.inc:461 0.2383 7447332 12. drupal_alter() /srv/drupalforfacebook.org/profiles/custom/modules/fb/fb_connect.module:277 0.2385 7448188 13. call_user_func_array() /srv/drupalforfacebook.org/includes/common.inc:2907 0.2386 7448364 14. fb_permission_fb_required_perms_alter() /srv/drupalforfacebook.org/includes/common.inc:2907 0.2386 7448380 15. fb_get_app_data() /srv/drupalforfacebook.org/profiles/custom/modules/fb/contrib/fb_permission.module:47 0.2386 7449012 16. drupal_error_handler() /srv/drupalforfacebook.org/profiles/custom/modules/fb/contrib/fb_permission.module:1079 0.2387 7451728 17. watchdog() /srv/drupalforfacebook.org/includes/common.inc:665 0.2390 7453104 18. module_invoke() /srv/drupalforfacebook.org/includes/bootstrap.inc:965 0.2391 7454004 19. call_user_func_array() /srv/drupalforfacebook.org/includes/module.inc:461 0.2391 7454180 20. dblog_watchdog() /srv/drupalforfacebook.org/includes/module.inc:461 0.2391 7454528 21. db_query() /srv/drupalforfacebook.org/modules/dblog/dblog.module:146 0.2392 7456904 22. _db_query() /srv/drupalforfacebook.org/includes/database.mysql-common.inc:41 0.2395 7458520 23. trigger_error() /srv/drupalforfacebook.org/includes/database.mysqli.inc:134 Can login with Facebook, can't login with Drupal. |

Can login with Facebook, can't login with Drupal.

If a user signs up / logs in with Facebook, a drupal username is created. Great!
They are now logged in, and a drupal "human friendly" name has been created, but, no email goes out to the new user, nothing else really happens.
How can they log in later without Facebook with their new drupal username when they have not set a password or received an email?
If they go to Quickstance.com/user/(ID)/edit to change there password it asks for the "current password"
What would that be?

Did I miss something?

Thanks for all your help Dave, outstanding module!

Theoretically

Theoretically this

http://quickstance.com/user/###/edit

is where your user would finish filling in their details and set their password since the "account details" email with the set password link doesnt gets sent anymore because of Drupal for Facebook for some reason. IDK why? Unfortunately at this page they want the current password to set a new one so your trapped basically. Ughhhh So annoying!

email extended perm helps

If you demand the email extended permission, the new account will have an email. Without that, there's no way to send the user an email.

Drupal will act funny sometimes when an account has no email, but we have little choice.

I'm interested other workarounds for the problems you mention. For now my only ideas are to prompt for the email extended perm, or do not create accounts automatically (let them fill out form with their email address).

Reply

I did demand the email extended permission and it did port from Facebook into the user account (Great!) but for some weird reason Drupal doesn't send out an email with the their new username and password. There should be a way I can direct them to the edit page where they can set their password for the first time for the local Drupal site without requiring the "current password" which no one has given them, or at least send them an email that says great you've logged on with Facebook but your still not done click this link to set your password.

nice feature request

Agreed that would be a nice feature. It should send an email but probably not the same text as is normally sent. That is, admins should be able to customize the email that goes to accounts created via Facebook Connect.

Drupal provides an API for creating a user account, but that API does not send the email. user.module does that when an account is created via the registration form.