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:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

My controller does not redirect correctly - multiform

Go to End

3 Posts   1881 Views


Community Member, 125 Posts

8 October 2010 at 8:10am

Hi all,
I have created a controller which has multiform on it.
The form shows fine but it doesn't redirct on submission correctly. I get a 404 error


class FBController extends Controller 
	static $allowed_actions = array (); 
	function FacebookSetupMF() {
             return new FacebookSetupMF($this, 'FacebookSetupMF');

form shows correctly at
but when I submit it goes to

and I get a Page not found?


Community Member, 66 Posts

20 July 2012 at 9:53am

Edited: 20/07/2012 9:53am

Did you ever find a solution to this? I am having exactly this challenge :)


Forum Moderator, 1391 Posts

22 July 2012 at 1:56am

In this example SilverStripe is looking for a page called FacebookSetupMF, when in fact this is meant as an Action parameter for your controller telling it to call the FacebookSetupMF() function instead.

So you have to tell your controller to allow that:

static $allowed_actions = array ('FacebookSetupMF');