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
    Sep 27, 2020 @ 16:01
    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 539 posts 2101 karma points
    Sep 27, 2020 @ 16:32
    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
    Sep 27, 2020 @ 16:46
    Savage-Dahl
    0

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

  • Yakov Lebski 539 posts 2101 karma points
    Sep 27, 2020 @ 16:53
    Yakov Lebski
    0

    Can you what error appears in logs?

  • Savage-Dahl 9 posts 73 karma points
    Sep 27, 2020 @ 16:59
    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 539 posts 2101 karma points
    Sep 27, 2020 @ 17:05
    Yakov Lebski
    0

    enter image description here

  • Savage-Dahl 9 posts 73 karma points
    Sep 27, 2020 @ 17:10
    Savage-Dahl
    0

    enter image description here

  • Yakov Lebski 539 posts 2101 karma points
    Sep 27, 2020 @ 17:14
    Yakov Lebski
    0

    You need see what happen on template Home line 137

  • Savage-Dahl 9 posts 73 karma points
    Sep 27, 2020 @ 17:16
    Savage-Dahl
    0

    @RenderSection(BaseTemplate.cshtml)

  • Yakov Lebski 539 posts 2101 karma points
    Sep 27, 2020 @ 18:28
    Yakov Lebski
    0

    Looks like it wrong line

  • Savage-Dahl 9 posts 73 karma points
    Sep 27, 2020 @ 18:30
    Savage-Dahl
    0

    Line 136 div class="pagetitle">

    Line 137 @RenderSection(BaseTemplate.cshtml)

    Line 138 /div>

  • Marc Goodson 2123 posts 14214 karma points MVP 8x c-trib
    Sep 27, 2020 @ 19:10
    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
    Sep 27, 2020 @ 21:07
    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