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.

General Questions /

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

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

User Defined Form - Error Creating Field


Go to End
Reply


9 Posts   3650 Views

Avatar
pietro

Community Member, 18 Posts

5 October 2010 at 10:00am

Edited: 05/10/2010 10:05am

hi there, i am wondering if this issue was solved? I tried to solve it few months ago but i gave up, there is an open ticket but it has been inactive for 4 months. http://open.silverstripe.org/ticket/5709

i am having the same problem rach999 described above. my error console goes as follow, i am using SS 2.4.1, userform 0.3.0, (i also tried the latest trunck released on 2010-09-28 without success):

ERROR [User Error]: Uncaught SS_HTTPResponse_Exception: I can't handle sub-URLs of a Form object.
IN GET /admin/EditForm/field/Fields/addfield?NewID=1&Type=EditableFormHeading
Line 305 in /hermes/web02/b4/moo.talksolarorg/sapphire/core/control/RequestHandler.php

Source
======
296: /**
297: * Throws a HTTP error response encased in a {@link SS_HTTPResponse_Exception}, which is later
caught in
298: * {@link RequestHandler::handleAction()} and returned to the user.
299: *
300: * @param int $errorCode
301: * @param string $errorMessage
302: * @uses SS_HTTPResponse_Exception
303: */
304: public function httpError($errorCode, $errorMessage = null) {
* 305: throw new SS_HTTPResponse_Exception($errorMessage, $errorCode);
306: }
307:
308: /**
309: * Returns the SS_HTTPRequest object that this controller is using.
310: *
311: * @return SS_HTTPRequest

Trace
=====
<ul>RequestHandler->httpError(404,I can't handle sub-URLs of a Form object.)
line 165 of RequestHandler.php

RequestHandler->handleRequest(SS_HTTPRequest)
line 152 of RequestHandler.php

RequestHandler->handleRequest(SS_HTTPRequest)
line 147 of Controller.php

Controller->handleRequest(SS_HTTPRequest)
line 283 of Director.php

Director::handleRequest(SS_HTTPRequest,Session)
line 127 of Director.php

Director::direct(/admin/EditForm/field/Fields/addfield)
line 127 of main.php

</ul>

thank you in advance,

pietro.

Go to Top