Copied to clipboard

Flag this post as spam?

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


  • Tommy Albinsson 121 posts 254 karma points
    Dec 12, 2013 @ 14:12
    Tommy Albinsson
    0

    Forms dissappeared/blank in frontend!? version 1.1.10

    Hi!

    On tuesday all forms dissappeared from our site. No errors are given in any log. In umbraco backend everything seems to work and I can access the forms without any problem.

    With dissappeared I mean that everything is blank when I enter the page on the site the forms does not show up anymore.

    I am using the contour macro to fetch the form in my templates.

        <umbraco:Macro FormGuid="GUID" Alias="umbracoContour.RenderForm" runat="server"></umbraco:Macro>
    

    Does anyone know why everything vanished?

  • Comment author was deleted

    Dec 12, 2013 @ 14:19

    How does the markup of the rendered page look, also nothing?

  • Comment author was deleted

    Dec 12, 2013 @ 14:19

    It uses the same logic to fetch forms in backoffice so... you didn't enable caching on the form macro or something similar?

  • Comment author was deleted

    Dec 12, 2013 @ 14:20

    Try saving a form in the backoffice and see if that does anything

  • Tommy Albinsson 121 posts 254 karma points
    Dec 12, 2013 @ 14:25
    Tommy Albinsson
    0

    All that is rendered on all the forms are a previous and next button.

    This is all that is rendered

  • Tommy Albinsson 121 posts 254 karma points
    Dec 12, 2013 @ 14:26
    Tommy Albinsson
    0

    Click on the 1 to see what it looks like.

    And the html looks like this.

    <div id="contour">
    
    <div class="contourNavigation">
    <input type="submit" name="ctl00$ctl00$ContentPlaceHolder$RenderForm_5$b_prev" value="Previous" id="ContentPlaceHolder_RenderForm_5_b_prev" class="contourButton contourPrev"><input type="submit" name="ctl00$ctl00$ContentPlaceHolder$RenderForm_5$b_next" value="Next" id="ContentPlaceHolder_RenderForm_5_b_next" class="contourButton contourNext"></div></div>
    
  • Tommy Albinsson 121 posts 254 karma points
    Dec 12, 2013 @ 14:26
    Tommy Albinsson
    0

    I did try to save the form again, but nothing happens. The macro..

    This is how the macro looks, did not edit anything

  • Comment author was deleted

    Dec 12, 2013 @ 14:58

    Please send login details to tg at umbraco dot com and I'll take a look asap

  • Comment author was deleted

    Dec 12, 2013 @ 16:07

    So appaers to have been due to additions of inline c# code to the page where the contour usercontrol was used... you wouldn't have this issue with the razor macro but since it's an old version

  • Tommy Albinsson 121 posts 254 karma points
    Dec 13, 2013 @ 09:25
    Tommy Albinsson
    0

    Tim is correct, in our master template it was the addition of inline C# code between

    <% %>
    

    that caused the error. Moving the code to a macro solved the problem.

Please Sign in or register to post replies

Write your reply to:

Draft