FaceBook Connect

Ok I have been working on the facebook connect.  I have developer code and have canvased my site through facebook.  I get the following error when trying either a facebook connect or trying to add my site as an application:

 

Warning: require_once(BX_DIRECTORY_PATH_MODULES/classes/Module.php) [function.require-once]: failed to open stream: No such file or directory in /home/gasriffs/public_html/modules/boonex/facebook_connect/index.php on line 21

Fatal error: require_once() [function.require]: Failed opening required 'BX_DIRECTORY_PATH_MODULES/classes/Module.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gasriffs/public_html/modules/boonex/facebook_connect/index.php on line 21

It appears it is looking for a file called module.php, which does not exist.  IS this a file that should be created or is it suppossed to auto create?

 

Tally

Quote · 6 Sep 2009

line 21: "require_once( BX_DIRECTORY_PATH_MODULES . $aModule['path'] . '/classes/' . $aModule['class_prefix'] . 'Module.php');"

In this line the file index.php try to include the file:

/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php

simply:

BX_DIRECTORY_PATH_MODULES = /modules/

$aModule['path'] = facebook_connect

/classes/ = static text

$aModule['class_prefix'] = the prefix class declared in module config file in this case BxFaceBookConnect

then add Module.php text to the end.


Have you changed some variables in facebook_connect's files? Seems that $aModule['path'] variable aren't evaluated...

Quote · 6 Sep 2009

No I haven't chnaged anything, and I agree with your assessment, I guess the question is how do I get it to assess the line and come up with the required, require once?

 

 

Tally

Quote · 6 Sep 2009

Do you have this error while opening the admin section or try to login with fb account?

If it's while opening admin section, please post the URL that you will be redirect for extension administration.. will be something like this:

URL/modules/?r=facebook_connect/administration/

thank

Quote · 6 Sep 2009

When I select the connect to facebook off the Dolphin Login Area, it goes to Facebook, asks me to allow this application, then goes to the error screen.

 

Tally

Quote · 7 Sep 2009

Ok I have it and thanks to Dolphin Installers for the answer.  In the Facebook Connect tab on the Facebook developers site, it is critical that the base url be put in without Http://www.

 

From the problem I have I would guess it tells the facebook script at what point to start parsing the script to find the correct directories. (or something along those lines)

 

Tally

Quote · 7 Sep 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.