SOLVED.

Discussion in 'PHP' started by leftysgirl, Aug 25, 2014.

Thread Status:
Not open for further replies.
  1. #1
    ......r....e.....n........t........a.....l......o.....g.....y....(dot)...n...e..t

    Hi,

    I was using GT metrix along with Google's page for a guideline to help me improve my website's speed and performance. One of their suggestions was to add page caching.
    I checked after each time I had made a change if the site was working fine, and it all seemed OK. I think I may have forgot to delete my caching to see the true results.

    However, today my homepage is completely missing. No error, just my
    blue background.

    I can see my code by selecting view source coming up. It almost looks like I am missing code in the footer area?, but my footer.ctp, header.ctp and htaccess file all have been changed back to its original form with no success . So, I am not sure what is causing this error now.

    If someone could provide suggestion to check other areas or if you can see something stand out in my code if you decide to view source it, it is greatly appreciated!!!
    
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <link rel="shortcut icon" type="image/x-icon"
    href="http://example/favicon.ico" />
    <meta http-equiv="content-language" content="en-us" />
    <link href="https://plus.google.com/numbers" rel="publisher" />
    <meta name="msvalidate.01" content="numbers" />
    <title>words</title>
            <meta name="title" content=">more words"/>
        <meta name="description" content="words"/>
        <meta name="keywords" content="words"/>
    
    
    
    
    <link rel="stylesheet" type="text/css" href="/css/look.css" />
    <link rel="stylesheet" type="text/css" href="/css/jquery.lightbox-0.5.css" />
    <link rel="stylesheet" type="text/css" href="/css/slider.css" />
    <link rel="stylesheet" type="text/css" href="/css/skin.css" />
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui.css" />
    <link rel="stylesheet" type="text/css" href="/css/facebox.css" />
    <link rel="stylesheet" type="text/css" href="/css/rating.css" />
    <link rel="stylesheet" type="text/css" href="/css/frontend/development-bundle/themes/base/jquery.ui.all.css" />
    
    
    <script type="text/javascript" src="/js/jquery-1.4.2.js"></script>
    <script type="text/javascript" src="/js/faceBox/facebox.js"></script><script type="text/javascript" src="/js/jquery-lightbox-0.5/js/jquery.lightbox-0.5.js"></script><script type="text/javascript" src="/js/slider.js"></script>
    
    <script type="text/javascript" src="/js/jquery.jcarousel.min.js"></script>
    <script type="text/javascript" src="/js/watwrmark.js"></script>
    <script type="text/javascript" src="/js/jquery.validate.js"></script>
    
    
    <script type="text/javascript" src="/js/rating.js"></script>
    <script type="text/javascript" src="/js/ui.datepicker.js"></script>
    <script type="text/javascript" src="/js/common.js"></script>
    <script type="text/javascript" src="/js/jquery.maskedinput.js"></script>
    <script type="text/javascript" src="/js/multiple.js"></script>
    <script type="text/javascript" src="/js/jquery.autocomplete.js"></script>
    
    
    <!--script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'numbers', 'site');
      ga('send', 'pageview');
     
    </script-->
    
    <!-- Go to www.addthis.com/dashboard to customize your tools -->
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-53dab9c92f8116e8"></script>
    
    
    <script type="text/javascript" src="http://www.rentalology.net/ckeditor/ckeditor.js"></script>
    
    <script src='/google_analytics_auto.js'></script></head>
    <body>
    <div id="main">
    
        <!--mainContainer-->
        <div id="mainContainer">
     
            <!--container-->
            <div id="container">
    
            
    Code (markup):
     
    leftysgirl, Aug 25, 2014 IP
  2. leftysgirl

    leftysgirl Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    This is solved. Phew! ...Now, I am just trying to delete this thread or to show as solved.

    In case you were wondering, it was my header.ctp and public.ctp. I had to compare the two and change any differences/ correct a couple of minor errors
     
    leftysgirl, Aug 25, 2014 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    Just for your information: changing the topic to "SOLVED" is not recommended - it takes away anything from people searching for similar problems (they'll mostly search for thread topics) - it's not recommended forum behaviour at all, actually. Feel free to add a "SOLVED" to the end of the original topic, but do not, ever, remove the original topic completely :)
     
    PoPSiCLe, Aug 25, 2014 IP
Thread Status:
Not open for further replies.