There’s probably a bug in your theme then. Tried the 2010 theme?
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
I don’t know, I bet there’s a missing div or something?
If that was the case then it would be broken regardless of wp-super-cache. I bet it’s something rather silly.
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 “>”.
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
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