Forums

WP Super Cache
[resolved] Footer Issues (8 posts)

  1. thebeanieman
    Member
    Posted 1 year ago #

    Hello,

    When I enable wp-super-cache the footer of my website shoots over to the right of the website, then when I turn it off, it comes back to where it should be.

    Would anyone be able to see whats wrong?

    http://www.anxietyuk.org.uk <-- Working
    http://dev.anxietyuk.org.uk <-- Broken Footer

    Although I am using 3.1 RC2 this did also happen in 3.0.4

    Thanks,
    David

  2. Donncha O Caoimh
    Member
    Posted 1 year ago #

    There's probably a bug in your theme then. Tried the 2010 theme?

  3. thebeanieman
    Member
    Posted 1 year ago #

    Hi donncha,

    I have tested the 2010 Theme and it works perfectly fine. So it does suggest it's a theme issue.

    But I cant understand why it works with Super Cache off and not when it's turned on. It's as if Super Cache is doing something to it.

    Any suggestions as how I would go about debugging this? I have Validated the page and also used firebug and cant spot the issues.

    Thanks for your feedback.

    David

  4. Donncha O Caoimh
    Member
    Posted 1 year ago #

    I don't know, I bet there's a missing div or something?

  5. thebeanieman
    Member
    Posted 1 year ago #

    If that was the case then it would be broken regardless of wp-super-cache. I bet it's something rather silly.

  6. thebeanieman
    Member
    Posted 1 year ago #

    Thanks for that comment it's lead on to this:

    When Super Cache is OFF the page Validates

    When Super Cache is ON the page fails Validation with:

    Line 231, Column 7: end tag for "div" omitted, but OMITTAG NO was specified
    </body>
    ?
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

  7. thebeanieman
    Member
    Posted 1 year ago #

    Found the problem. When Super Cache is on and WP e-Commerce is installed then this broken code is shown:

    <div class='wpsc_cart_loading'><p>Loading...</p>

    Does this now mean I need to contact WP e-Commerce to look into it?

    Thanks,
    David

  8. thebeanieman
    Member
    Posted 1 year ago #

    I fixed it myself :)

    In case anyone wants to know how to fix this:

    Download:
    /wp-content/plugins/wp-e-commerce/widgets/shopping_cart_widget.php

    Add </div> on the end of line 48 so that it reads:
    <div class='wpsc_cart_loading'><p><?php _e('Loading...', 'wpsc'); ?></p></div>

    Upload and Job Done :)

    I dunno, sloppy coders! lol

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic