Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba


Go to End

21 Posts   6032 Views


Community Member, 173 Posts

16 October 2010 at 1:46am

hmm, i still get stuck with this. Now i get the following if i try to "login as an other person": The action 'FacebookLoginForm' does not exist in class Security

in error_log.txt it says:

[15-Oct-2010 02:43:33] Warning at sapphire/core/control/Controller.php line 464: Already directed to; now trying to direct to (

There must be a loop that has to be exit or must die. But i can not find where?

@willr: does facebook-connect work aot of the box for you?

Greetings, Carsten.


Community Member, 173 Posts

16 October 2010 at 2:18am


Seems only to be working on live page, not on stage mode.

1. get the latest build from:

2. Change line 217 of FacebookConnect.php from

Group::add_to_group_by_code($member, $group);
$member->addToGroupByCode($member, $group);

Thats it!


Forum Moderator, 5523 Posts

16 October 2010 at 2:50pm

dacar, thanks for pointing that out. Committed the fix into the module -

Capt. Morgan

Community Member, 30 Posts

31 January 2011 at 1:16am

I had some problems getting the sign in button to work from a widget. I guess it's because the onBeforeInit() is run on Controller, and we're later getting CurrentFacebookMember from Widget_Controller. I did a little workaround by having the widget forward the request to the current page. Maybe there's a better solution for it, but this worked for me.

class FacebookLoginWidget extends Widget {
	public static $title = '';
	public static $cmsTitle = 'FB Sign in';
	public static $description = 'Sign in using members Facebook cridentials.';
	public function CurrentFacebookMember() {
		return $this->CurrentPage()->getCurrentFacebookMember();


Community Member, 121 Posts

22 July 2011 at 12:58pm

hi guys

I'm having the same problem as Dacar. The login part is working but not being picked up by SS. So after I have logged in facebook realises I am logged in but SS doesn't. I tried debug::show and all i got back was, so it seems that the facebook session isn't even being intialized. any ideas anyone? thanks


Debug (FacebookConnect->onBeforeInit() in line 198 of FacebookConnect.php)

Go to Top