Hi, I just upgrade to beta5. I now see the following error

Fatal error: Cannot use string offset as an array in /hda3/usr/www/dev/trunk/drupal-6.2/sites/all/modules/fbconnect/fbconnect.module on line 379

You can see it on the site http://www.ayeornay.com/user/ when you try the login tab.

I have the default settings for the module. All help appreciated.

CommentFileSizeAuthor
#1 Image 5.png13.78 KBLaNets

Comments

LaNets’s picture

StatusFileSize
new13.78 KB

Hi,

Check in your phpinfo if you have the cURL extension actived.

njehlen’s picture

I was getting the same error - installing cURL fixed this for me.

aon’s picture

it worked. thank you sir!

PGiro’s picture

Haven't looked at b5 yet but are you saying you added a dependency on curl in beta 5 ?

If so, can this be revised ? major hosting providers in France such as OVH do not allow cURL access (although drupal_get_url() does work because it uses sockets... go figure !)

LaNets’s picture

I did several tests and apparently the Facebook PHP library encounter some problems if the cURL extension is not activated.
This problem should be solved by Facebook in future versions of the PHP library.

PGiro’s picture

Could you gie me some pointers on facebook's site ? I'll open a thread in the OVH forums so they do something about it. Thanks

LaNets’s picture

Status: Active » Closed (won't fix)

It seems the wordpress plugin encounter the same problem when the Curl extension is not activated.
More details
here.