Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul 184 posts 646 karma points
    Jun 05, 2017 @ 07:18
    Paul
    0

    Forum fails to work for until site is republished

    Hi Kevin,

    edit original post changed

    So I've now worked out that the issue I'm experience is actually the same as that found here: https://our.umbraco.org/projects/collaboration/simpily-forums/bugs-instructions-and-ideas/79343-could-not-find-the-surface-controller

    Essentially the site needs to be republished in order to refresh the cache in order for the Forum not to throw a 'Could not find the surface controller' error. Exactly as described by James here: https://our.umbraco.org/projects/collaboration/simpily-forums/bugs-instructions-and-ideas/79343-could-not-find-the-surface-controller

  • M 40 posts 273 karma points
    Jun 06, 2017 @ 07:54
    M
    100

    Hi Paul,

    I've managed to get around this error by changing line 49 of RenderPostEditor.cshtml from

    using (Html.BeginUmbracoForm<SimpilyForumsController>("PostReply", null, new { @class = "form-horizontal forum-reply-form" }))
    

    to

    using (Html.BeginUmbracoForm("PostReply", "SimpilyForums", new { @class = "form-horizontal forum-reply-form" }))
    

    HTH :)

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Jun 06, 2017 @ 08:34
    Kevin Jump
    0

    Hi

    Glad you got a fix, I missed that other post - its very strange not 100% sure what is going on their but I think i will update the package to use the FQN version of the controller, and have a play.

    I am in the middle of a bit of a forum package thing too. so I will see what i can do in that.

    Kevin

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies