Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Home page randomly part loading

    Got a weird situation in that the home page of http://www.fastlec.co.uk sometimes doesn't fully load either when arriving, or when clicking on home link (text link or logo) from within site - even if already on a fully loaded home page!

    This has only recently started happening (or perhaps it's more accurate to say has only recently been observed).

    Site is running 139h and has been since last September.

    Seems to be an entirely random occurrence. I have tried turning off all sideboxes in left columns but it makes no difference - sometimes the page loads, sometimes only the header and however many sideboxes are turned on.

    I have tried turning off define_main_page.

    Apart from the addition of products (and I've checked that there are no excessively large images), there's been no changes to the site for several months - apart from the Trustpilot widget, but that loads as part of the header so is present even when the page only partially loads.

    There are no errors being generated. It is not just me - the client, his staff and customers have all reported it.

    There are no issues with any other page - just the home page.

    This has got me stumped - I'd welcome any suggestion as to what I should be looking for?

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Home page randomly part loading

    I see a few things going on which should be corrected.


    Do not write script tags like this:

    <script type="text/javascript">

    ...

    </script>

    Instead, write them as:

    <script type="text/javascript">
    /*<![CDATA[*/

    ...

    /*]]>*/
    </script>


    Same applies to CSS.

    <style type="text/css">
    /*<![CDATA[*/

    ....

    /*]]>*/
    </style>

    Using the above will prevent all kinds of Validation errors and other strange events.


    You cannot put Style blocks within the BODY tags.

    <style type="text/css">

    ...

    </style>
    <!-- /Trustpilot Widget Script -->
    <br class="clearBoth" />

    <!--eof-branding display-->

    Move it to include within this file:
    includes/templates/YOUR_TEMPLATE/common/html_header.php



    There are a few anchor links not quite correct:

    <a href=" http://www.fastlec.co.uk/blog/"><img src="./bm_images/header/blog.png"

    - no space after the ="


    Also, rather than write as:

    <a href="http://www.fastlec.co.uk/blog/"><img src="./bm_images/header/blog.png"

    Better to just use:

    <a href="http://www.fastlec.co.uk/"><img src="bm_images/header/blog.png"


    After working on the above, let's see where things are.

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Home page randomly part loading

    Thanks - that's very useful. Will implement and keep on eye on it.

 

 

Similar Threads

  1. Links just randomly appeared on home page?
    By Inxie in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 8 Sep 2012, 11:31 AM
  2. v150 Home Page not loading
    By DownRightNatural in forum General Questions
    Replies: 3
    Last Post: 16 May 2012, 11:39 PM
  3. v139h Change Home Page loading order!
    By gazag in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Jan 2012, 07:36 PM
  4. Password dots show upon loading home page
    By ranger_lp in forum General Questions
    Replies: 4
    Last Post: 15 Dec 2010, 09:24 PM
  5. home page stuck loading -- all other pages perfect
    By Minnie Mouse in forum General Questions
    Replies: 1
    Last Post: 2 Aug 2007, 01:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg