Hi all,

I am having trouble with facebook connect. I keep getting this error message:

Fbconnect : Facebook PHP library file modules/fbconnect/facebook-client/facebook.php not found see README.TXT

However, I have checked twice and DEFINATELY have copied the facebook.php file to that location!!! Any ideas?

Comments

vm’s picture

shouldn't it be in sites/all/modules/fbcomment/ .... or did you omit that portion of the path?

spudette77’s picture

It is located in modules/fbconnect/facebook-client/facebook.php. Is this not correct (I am VERY new at this.... the learning curve is VERY steep!!!)

I didn't put it into sites/all

vm’s picture

contributed modules go into sites/all/modules contributed themes into sites/all/themes

This makes it much easier to backup your site when an update is required.

spudette77’s picture

Well that sucks! I didn't realise that so I haven't done it for any of the modules I have installed!!! Does this mean that if I have it in sites/all, all of my domains running on drupal can access the same modules?

benjamin.pauley’s picture

I did the same thing when developing on a test bed site. I was actually able to move all of my contributed modules to sites/all/modules and get everything recognized and working again by running update.php.

vm’s picture

should have only had to revisit administer -> modules which triggers drupal to reread all .info files.

benjamin.pauley’s picture

Good to know--I suspect I've taken to running update.php superstitiously, without always knowing why I thought it was the thing to do.

spudette77’s picture

Cheers, for this, I will transfer all my files to the sites/ folder.

vm’s picture

not all, only contrib.

core modules stay in the core modules folder.

spudette77’s picture

Thanks for that insight. I have just copied the fbconnect module into sites/all/modules directory and the error message is gone! Cheers... it is amazing what happens when you do things right!

vm’s picture

if you are running multisites yes, all would allow those modules to be availble to all installs running on same code base. If you aren't runnig multisites then all can be used too.

nevets’s picture

I tried the version mentioned in this comment: http://drupal.org/node/635568#comment-2319556.

The version on Drupal and this version worked fine. Make sure you follow all the installation steps in the readme file.

spudette77’s picture

I will try this version and see how it goes, cheers