the user/simple-fb-connect page is blank; the login seems to work via the fb button (it logs me into Facebook), but does not create a user in drupal.

Comments

masipila’s picture

Hi,

could you please provide the following information for further analysis:

Go to Drupal status report at admin/reports/status

On this status report there should be a section called "Facebook PHP SDK v4" with a value like "Version 4.0.xx detected" (where xx is the exact version number of the SDK library). Alternatively, this status report will tell you if the SDK library is not detected.

--> Please inform what is the value that you see on the status report

Cheers,
Markus

msharff1000’s picture

OK: Facebook PHP SDK v4 Version 4.0.23 detected.

masipila’s picture

Hmm... I understood that you get a completely white screen (so called white screen of death, wsod) which means that we have had PHP fatal error.

Do you have access to your webserver's error log? If you are using apache, the file is called error.log. Can you see any errors there?

Do you see any errors in Drupal "recent log entries"?

Markus

msharff1000’s picture

I don't have the server log, but the drupal log shows a message from Mollom that coincides with my clicking on the simple-fb-connect tab:

API keys are valid.
Request: POST http://rest.mollom.com/v1/site/2771709e09b29cadfab9289030d3343c
platformName = 'Drupal'
platformVersion = '7.35'
clientName = 'Mollom'
clientVersion = '7.x-2.13' log shows a message from Mollom stating the API keys are valid

msharff1000’s picture

i just disabled the mollom module to see if any difference could be detected - no difference for simple-fb-connect, but the log showed 'orphaned actions' related to mollom:

2 orphaned actions (mollom_action_unpublish_comment, mollom_action_unpublish_node) exist in the actions table. Remove orphaned actions

(btw, I don't know if i would refer to this as WSOD -- the back button gets me to a perfectly working drupal site.)

saitanay’s picture

Status: Active » Closed (cannot reproduce)

I believe this has nothing to do with simple_fb_connect module.

msharff1000 , could you add some details?

After you approve the permission on facebook, what exactly is happening? Do you see your Drupal site url in the address bar and a white screen?

If the site is available on a public url, is there any chance you could post the url here, or PM to me via the contact form here so I can try it out?

Best
Tanay

masipila’s picture

Status: Closed (cannot reproduce) » Active

Saitanay, I believe this is a valid bug. Changing status back to active.

I don't think that we have a collission with Mollom. It is normal that Mollom module is checking the API keys from mollom.com every now and then. I believe it just happened at the same time.

msarff1000, could you please clear all Drupal caches and try if that helps? I also sent you my skype id so you can contact me for troubleshooting.

Markus

masipila’s picture

Hi,

I added some error handling to the latest DEV version.

msarff1000, could you please test the latest DEV as follows:

1) Disable Simple FB Connect module

2) Uninstall completely

3) Remove the module from sites/all/modules

4) Fetch the latest DEV version from Git with the following command:
go to directory sites/all/modules and then enter the following command:
git clone --branch 7.x-2.x http://git.drupal.org/project/simple_fb_connect.git

5) Enable the module

6) Configure the module by entering App ID and App Secret

7) Test if you are now able to log in / create new user via Facebook login.

If you still encounter issues, please check the Recent Log Messages, there should now be more error logging.

Cheers,
Markus

msharff1000’s picture

I disabled/unistalled and re-installed the new dev version as per your instructions -- same behaviour, the log shows the simple_fb_connect type, but there are no new entries.

masipila’s picture

Do you use Skype? Would it be possible for you to ping me (markus.a.sipila) so that we could have a short shared screen session with you?

Thanks for your patience!

Markus

masipila’s picture

Status: Active » Closed (cannot reproduce)

I had a Skype call with msharff1000. The issue was that the server was running an older version of PHP. Facebook PHP SDK v4 requires PHP 5.4 or higher.

I'll add this version information to the module handbook / installation instructions.

Markus

saitanay’s picture

Title: user/simple-fb-connect blank, login goes through but doesn't add user » user/simple-fb-connect blank, login goes through but doesn't add user - PHP <v5.4 compatiibility