1971 Posts in 1275 Topics by 607 members
|Go to End|
24 January 2010 at 10:49pm Last edited: 31 January 2010 11:29pm
I've got a few SS sites now and on ALL of them if I got to www.mysite.co.uk/form I get the error page... anyone else have this issue?
I don't even have a 'form' page but weird that it doesn't then just go to the 'page not found'.
This is error has come though in email reports too so somehow it is trying to be accessed....
Error: Form form created without a controller
At line 126 in /home/sites/mysite.co.uk/public_html/sapphire/forms/Form.php
Form form created without a controller
Line 126 of Form.php
Line 274 of Director.php
Line 121 of Director.php
Line 118 of main.php
31 January 2010 at 11:30pm
weird that it happens on all my sites is this an SS thing or have I caused it? can any one else confirm the same happens?
3 February 2010 at 7:31pm Last edited: 3 February 2010 8:33pm
Well, not so much bug as a consequene of how silverstripe handles direction rules. Since Form is a valid controller, it tries to pass the request to a form controller, which fails.
It's a bit low level - I think the core devs need to have a think about how this is handled.
13 February 2010 at 1:24pm
Thanks for the explanation, but why I am receiving the error,
why is someone trying to access that page when there is no link to a "form" page on my site..?
If I try and create a page called "form" it just defaults to "form2", i keep getting the error emailed to me...
|Go to Top|