• I’m helping some friends out with their webpage and haven’t touched it yet other than added pages. They said they uploaded it to their FTP so I checked and it was. This is the intrepidity theme. The problem I’m encountering is that the home page won’t load and it shows no sign of the style sheet. The other pages load just fine. The website is whatsgood206.com. You can check whatsgood206.com/statement and see it loads just fine. Anyone know why the server isn’t noticing the stlyesheet or isn’t loading?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Edit: Scratch all that, the site started to load in the browser. Check the WordPress install, something goofy is going on with the plugins.

    – – – – – – –

    Looks like the front end Varnish server took a dive or the back end is just not working.

    You’ll need to get on the server and take a look at the web server logs.

    $ telnet whatsgood206.com 80
    Trying 66.96.147.119...
    Connected to whatsgood206.com.
    Escape character is '^]'.
    GET / HTTP/1.0
    
    HTTP/1.1 200 OK
    Date: Sat, 19 Nov 2011 13:10:09 GMT
    Content-Type: text/html
    Connection: close
    Server: Nginx / Varnish
    Last-Modified: Thu, 14 Dec 2006 00:53:53 GMT
    ETag: "3bb2cf-f-42485f3019399"
    Accept-Ranges: bytes
    Content-Length: 15
    Vary: Accept-Encoding
    
    <HTML>
    </HTML>
    Connection closed by foreign host.

    But this at least gets a non-WordPress 404.

    $ telnet whatsgood206.com 80
    Trying 66.96.147.119...
    Connected to whatsgood206.com.
    Escape character is '^]'.
    GET /statement HTTP/1.0
    
    HTTP/1.1 404 Not Found
    Date: Sat, 19 Nov 2011 13:11:02 GMT
    Content-Type: text/html
    Connection: close
    Server: Nginx / Varnish
    Last-Modified: Wed, 26 Oct 2011 19:53:07 GMT
    ETag: "3bb2ce-9ea-4b039013a8984"
    Accept-Ranges: bytes
    Content-Length: 2538
    Vary: Accept-Encoding
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    <html>
    
    	<head>
    	    <title>404 Error - Page Not Found</title>
    
    		<script type="text/javascript" language="JavaScript">
    <!--
    var domainname = window.location.hostname;
    var google_afd_request = {
        client: 'ca-dp-oversee_ncd',
        domain_name: domainname,
        referrer: document.referrer,
        session_token: 'create'
    };
    var param_name = '';
    var param_value = '';
    var frame;
    
    var registrar_frameset = function(params) {
        if (params['a_id']) {
            param_name = 'a_id';
        }
        else if (params['o_id']) {
            param_name = 'o_id';
        }
        param_value = params[param_name];
        frame = document.getElementById(params['frame']);
    
        document.write('<title>' + domainname + '</title>\n');
        document.write('<meta name="keywords" content="' + domainname + '">\n');
        document.write('<meta name="description" content="' + domainname + '">\n');
    
        var token_url = 'https://pagead2.googlesyndication.com/apps/domainpark/show_afd_ads.js';
        document.write('<script type="text/javascript" language="JavaScript" ' +
                       'src="' + token_url + '"></' + 'script>\n');
    }
    
    function google_afd_ad_request_done(response) {
        var url = 'https://dsnextgen.com/?domainname=' + domainname +
                  (param_name ? ('&' + param_name + '=' + param_value) : '') +
                  '&session_token=' + response.session_token;
        if (frame) {
            frame.name = domainname;
            frame.location = url;
        }
        else {
                    document.write('<table style="border: 1px dashed rgb(204, 204, 204);" align="center" border="0" cellpadding="6" cellspacing="0" width="800"> <tr> <td style="font-family: Arial,Helvetica,sans-serif; font-size: 12px;"> <h1 style="margin:0px;">Page Not Found</h1> <p style="margin-top:0px;">The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please try the following:</p> <ul> <li>If you typed the page address in the Address bar, make sure that it is spelled correctly.</li> <li>Click the Back button in your browser to try another link.</li> <li>Use a search engine like <a href="https://www.google.com">Google</a> to look for information on the Internet.</li> </ul> </td> </tr> </table>');
            document.write('<iframe src="' + url + '" frameborder="0" height="800" scrolling="auto" width="100%"></iframe>');
        }
    }
    -->
    		</script>
    
    		<script type="text/javascript" language="JavaScript">
    			  registrar_frameset({a_id: 101686});
    		</script>
    	</head>
    
    </html>
    Connection closed by foreign host.

    Blake,

    I home this may help…but I ran into similar error code posted by Jan:

    $ telnet whatsgood206.com 80
    Trying 66.96.147.119...
    Connected to whatsgood206.com.
    Escape character is '^]'.
    GET /statement HTTP/1.0
    
    HTTP/1.1 404 Not Found
    Date: Sat, 19 Nov 2011 13:11:02 GMT
    Content-Type: text/html
    Connection: close
    Server: Nginx / Varnish
    Last-Modified: Wed, 26 Oct 2011 19:53:07 GMT
    ETag: "3bb2ce-9ea-4b039013a8984"
    Accept-Ranges: bytes
    Content-Length: 2538
    Vary: Accept-Encoding
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    <html>
    
    	<head>
    	    <title>404 Error - Page Not Found</title>
    
    		<script type="text/javascript" language="JavaScript">
    <!--
    var domainname = window.location.hostname;
    var google_afd_request = {
        client: 'ca-dp-oversee_ncd',
        domain_name: domainname,
        referrer: document.referrer,
        session_token: 'create'
    };
    var param_name = '';
    var param_value = '';
    var frame;
    
    var registrar_frameset = function(params) {
        if (params['a_id']) {
            param_name = 'a_id';
        }
        else if (params['o_id']) {
            param_name = 'o_id';
        }
        param_value = params[param_name];
        frame = document.getElementById(params['frame']);
    
        document.write('<title>' + domainname + '</title>\n');
        document.write('<meta name="keywords" content="' + domainname + '">\n');
        document.write('<meta name="description" content="' + domainname + '">\n');
    
        var token_url = 'https://pagead2.googlesyndication.com/apps/domainpark/show_afd_ads.js';
        document.write('<script type="text/javascript" language="JavaScript" ' +
                       'src="' + token_url + '"></' + 'script>\n');
    }
    
    function google_afd_ad_request_done(response) {
        var url = 'https://dsnextgen.com/?domainname=' + domainname +
                  (param_name ? ('&' + param_name + '=' + param_value) : '') +
                  '&session_token=' + response.session_token;
        if (frame) {
            frame.name = domainname;
            frame.location = url;
        }
        else {
                    document.write('<table style="border: 1px dashed rgb(204, 204, 204);" align="center" border="0" cellpadding="6" cellspacing="0" width="800"> <tr> <td style="font-family: Arial,Helvetica,sans-serif; font-size: 12px;"> <h1 style="margin:0px;">Page Not Found</h1> <p style="margin-top:0px;">The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please try the following:</p> <ul> <li>If you typed the page address in the Address bar, make sure that it is spelled correctly.</li> <li>Click the Back button in your browser to try another link.</li> <li>Use a search engine like <a href="https://www.google.com">Google</a> to look for information on the Internet.</li> </ul> </td> </tr> </table>');
            document.write('<iframe src="' + url + '" frameborder="0" height="800" scrolling="auto" width="100%"></iframe>');
        }
    }
    -->
    		</script>
    
    		<script type="text/javascript" language="JavaScript">
    			  registrar_frameset({a_id: 101686});
    		</script>
    	</head>
    
    </html>

    I received this error when loading external JQuery Script because my filepath was “wrong” due to the “foldername” on my server was capitalized as “FolderName”

    For example:
    wp_enqueue_script( ‘my.custom.script’, ‘https://DOMAIN.URL/foldername/my.custom.script.js’);

    So I had to change to:
    wp_enqueue_script( ‘my.custom.script’, ‘https://DOMAIN.URL/FolderName/my.custom.script.js’);

    And now my Script works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Home Page error.’ is closed to new replies.