Jump to:

23377 Posts in 18296 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » User Defined Form - Error Creating Field

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

Page: 1 2
Go to End
Author Topic: 3395 Views
  • pietro
    Avatar
    Community Member
    18 Posts

    Re: User Defined Form - Error Creating Field Link to this post

    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.

    3395 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.