Copied to clipboard

Flag this post as spam?

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


  • Gert 80 posts 286 karma points
    Sep 30, 2015 @ 12:23
    Gert
    0

    Error when selection the PageNotFound node on production

    Hi Tim,

    I tested your PageNotFound package on my development machine and all works fine.

    I copied the PageNotFoundManager.dll and the PageNotFoundManager plugin to the production website. When I select a page not found page and press the OK button I get an error.

    enter image description here

    In the log file the following error occures:

    2015-09-30 14:10:07,820 [35] ERROR Umbraco.Web.UI.CdfLogger - [P6252/T20/D12] Could not load file contents from /App_Plugins/PageNotFoundManager/Directives/pnfmContentPicker.js. Domain is not white-listed.

    Any idea how to solve this problem? Thanks!

    Regards, Gert.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Sep 30, 2015 @ 20:55
    Tim Geyssens
    100

    Could you check the permissions on the pagenotfoundmanager.config file found in the app_plugins dir of the page not found manager, it's probably because you copied and didn't install it trough the package manager. So permissions aren't correct

  • Gert 80 posts 286 karma points
    Oct 01, 2015 @ 07:27
    Gert
    0

    Ok, giving the file pagenotfoundmanager.config write permissions solved the problem. Thanks Tim.

    Regards, Gert.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Oct 01, 2015 @ 07:37
    Tim Geyssens
    0

    Great, thanks for confirming :)

  • Gert 80 posts 286 karma points
    Oct 01, 2015 @ 07:50
    Gert
    0

    Tim,

    Unfortunately the selected page not found page is not shown but I get the servers 404 page, although the selected node was saved in the pagenotfoundmanager.config and I als restarted the website.

    <?xml version="1.0" encoding="utf-8"?>
    <notFoundPages>
      <notFoundPage parent="1093">1093</notFoundPage>
    </notFoundPages>
    

    What am I missing here? Thanks.

    Gert.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Oct 01, 2015 @ 09:14
    Tim Geyssens
    1

    You may find that you don't get your error pages and IIS takes over. To get Umbraco to handle your errors for 404 insert the following element before the end of the system.webServer section of the web.config.

    <httpErrors existingResponse="PassThrough"/>
    
  • Gert 80 posts 286 karma points
    Oct 01, 2015 @ 09:23
    Gert
    0

    Thanks Tim, that did the trick!

    Regards, Gert.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Oct 01, 2015 @ 10:33
    Tim Geyssens
    0

    No prob glad it's working (and don't forget to vote for the project if you like it ;) )

  • Gert 80 posts 286 karma points
    Oct 01, 2015 @ 10:48
    Gert
    0

    OK, I will ;-)

  • 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