Copied to clipboard

Flag this post as spam?

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


  • Richard Cannock 1 post 21 karma points
    Mar 04, 2014 @ 18:22
    Richard Cannock
    0

    Backend login blank - Umbraco 7.0.1 - yepnope.min.js not found - host header

    Hi,

    Attempting to create a local developer install of UmbracoCms.7.0.1 on Windows Server 2012 R1 using MySQL 5.6 as the backend.

    I have create a new website in IIS on port 80 with a host header of:

    dev.thelacticzone.co.uk and a host file with the following entry:

    127.0.0.1 dev.thelacticzone.co.uk

    I can install fine, but upon attempting to login to the backend, I get a blank page and a script error as well.

    Using fiddler I can see the problem is (probably) related to 404 errors for

    GET http://dev.thelacticzone.co.uk/lib/yepnope/yepnope.min.js 404 Not Found (text/html) and GET http://dev.thelacticzone.co.uk/assets/css/umbraco.css 404 Not Found (text/html)

    which seem to be served up in the login page via the following links in the page served by //umbraco and yepnope is used to pre-load jquery etc.

    <script type="text/javascript">
            var Umbraco = {};
            Umbraco.Sys = {};
            Umbraco.Sys.ServerVariables = {
                "umbracoUrls": {                
                    "authenticationApiBaseUrl": "/umbraco/UmbracoApi/Authentication/",
                    "serverVarsJs": '/umbraco/ServerVariables'
                }
            };       
        </script>
    <script type="text/javascript" src="lib/yepnope/yepnope.min.js"></script>
    <script type="text/javascript" src="/umbraco/Application"></script>
    

    Both the umbraco and lib folders are visible in IIS, so this has to be an issue with relative paths and resolving those, but I am struggling to see why, and there is no mention in the umbraco manual installation guide of needing to make any subfolders an application in IIS.

    Any help would be much appreciated.

Please Sign in or register to post replies

Write your reply to:

Draft