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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

facebook login module > forms saving issue


Go to End


2 Posts   957 Views

Avatar
JonShutt

Community Member, 244 Posts

17 July 2013 at 3:00pm

Hi, i've installed the the "facebook connect" module, on SS3, working fine with a few tweaks.

However, whenever I try and save a form, either a front end custom form, or any forms in the cms, it results in an error "There seems to have been a technical problem. Please click the back button, refresh your browser, and try again"

I'm assuming that it's not setting the right level of security setting the session somehow, i'll keep looking, but if anyone has any experience please let me know any ideas!

Jon

Avatar
JonShutt

Community Member, 244 Posts

17 July 2013 at 3:07pm

So, it all stems from 'framework/forms/form.php'

$token = $this->getSecurityToken();
		if(!$token->checkRequest($request)) {
			$this->httpError(400, _t("Form.CSRF_FAILED_MESSAGE",
				"There seems to have been a technical problem. Please click the back button,"
				. " refresh your browser, and try again."));
		}

for some reason, it's not creating a token when logged in using facebook connect...