Copied to clipboard

Flag this post as spam?

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


  • Savage-Dahl 9 posts 73 karma points
    23 days ago
    Savage-Dahl
    0

    Hi

    I am using Umbraco Cloud (V8) and trying fix my homepage. I changed a template name and got this runtime error. I changed is back/rolled back the website and I still get this error.

    Server Error in '/' Application

    enter image description here

    I did change the web.config file but nothing changed.

    Can anyone help me? Thanks

  • Yakov Lebski 412 posts 1615 karma points
    23 days ago
    Yakov Lebski
    0

    Can you turn off custom errors in web.config

      <customErrors mode="Off" />
    

    or see the logs to see the error

  • Savage-Dahl 9 posts 73 karma points
    23 days ago
    Savage-Dahl
    0

    I did but I get the same page, so i think i messed that up somewhere.

  • Yakov Lebski 412 posts 1615 karma points
    23 days ago
    Yakov Lebski
    0

    Can you what error appears in logs?

  • Savage-Dahl 9 posts 73 karma points
    23 days ago
    Savage-Dahl
    0

    Not sure where they are on the cloud. I am very new to Umbraco.

    I can send you the code.........but i can't seem to direct message you

  • Yakov Lebski 412 posts 1615 karma points
    23 days ago
    Yakov Lebski
    0

    enter image description here

  • Savage-Dahl 9 posts 73 karma points
    23 days ago
    Savage-Dahl
    0

    enter image description here

  • Yakov Lebski 412 posts 1615 karma points
    23 days ago
    Yakov Lebski
    0

    You need see what happen on template Home line 137

  • Savage-Dahl 9 posts 73 karma points
    23 days ago
    Savage-Dahl
    0

    @RenderSection(BaseTemplate.cshtml)

  • Yakov Lebski 412 posts 1615 karma points
    23 days ago
    Yakov Lebski
    0

    Looks like it wrong line

  • Savage-Dahl 9 posts 73 karma points
    23 days ago
    Savage-Dahl
    0

    Line 136 div class="pagetitle">

    Line 137 @RenderSection(BaseTemplate.cshtml)

    Line 138 /div>

  • Marc Goodson 1280 posts 8669 karma points MVP 5x c-trib
    23 days ago
    Marc Goodson
    0

    Hi Savage-Dahl,

    Just an odd thought struck me when reading this - when you renamed your template and renamed it back - did you accidentally include the .cshtml of the filename in the name of the template.

    eg you now have a template called BaseTemplate.cshtml in a file called

    BaseTemplate.cshtml.cshtml

    instead of the template just being called BaseTemplate?

    regards

    Marc

  • Savage-Dahl 9 posts 73 karma points
    23 days ago
    Savage-Dahl
    0

    originally the word i changed was null to home.cthtml

Please Sign in or register to post replies

Write your reply to:

Draft