I'm running two different OpenCarts, both 1.4.9.3 and am only having this problem on one of them so I'm perplexed.
If you visit http://www.promolifehealth.com in IE9 you should see that everything is fine. If you click a category, everything is fine. If you then go to a subcategory or to a product, it all goes to hell with broken images, the stylesheet doesn't load, etc.
Basically, as long as it is http://www.domain.com/categoryname or the main page it's ok. If you go to http://www.domain.com/categoryname/productname chaos breaks out.
Turning on compatibility mode fixes it, but not all of our customers are going to know to do that, they may just leave. Can someone take a look and point me to what might be wrong?
Many thanks
If you visit http://www.promolifehealth.com in IE9 you should see that everything is fine. If you click a category, everything is fine. If you then go to a subcategory or to a product, it all goes to hell with broken images, the stylesheet doesn't load, etc.
Basically, as long as it is http://www.domain.com/categoryname or the main page it's ok. If you go to http://www.domain.com/categoryname/productname chaos breaks out.
Turning on compatibility mode fixes it, but not all of our customers are going to know to do that, they may just leave. Can someone take a look and point me to what might be wrong?
Many thanks
Finally figured it out after a LOT of Winmerging. I had some Facebook code from a Facebook share button mod in my header file that somehow was causing third level or above pages to fail to render in IE9. Don't ask me how, I could never even guess but once I removed that code, the problem ceased and yet our Facebook buttons still worked. Perhaps it was code from an older mod I replaced for some reason but didn't remove part of.
Eh.
Eh.
I've just encountered the same phenomenon.
I run v1.4.9.5 and sure enough - the "solution" to the problem of style not loading for sub-categories is to remove the fb/twitter-stuff from the header.tpl.
And I can see the fb button etc still works on the product page...
Now, I'm far from an expert on this whole php stuff, but I don't understand how the code in question (see below) could cause this. And why the function on product page still works when removing the code from header.tpl.
Code in header.tpl:
The middle part is there from the start - removing the fb stuff means only removing the top and bottom code.
I'm going to contact the extension designer and ask him for a more neat solution.
I run v1.4.9.5 and sure enough - the "solution" to the problem of style not loading for sub-categories is to remove the fb/twitter-stuff from the header.tpl.
And I can see the fb button etc still works on the product page...
Now, I'm far from an expert on this whole php stuff, but I don't understand how the code in question (see below) could cause this. And why the function on product page still works when removing the code from header.tpl.
Code in header.tpl:
Code: Select all
<!-- Add twitter and facebook to product page BEGIN
<fb:share-button class="meta">
<meta name="medium" content="mult"/>
<?php foreach ($this->document->getFBMeta() as $fbMeta) { ?>
<meta property="<?php echo $fbMeta['property'] ?>" content="<?php echo $fbMeta['content']; ?>" />
<?php } ?>
Code: Select all
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
Code: Select all
</fb:share-button>
Add twitter and facebook to product page END -->
I'm going to contact the extension designer and ask him for a more neat solution.
Single-handedly supporting the ambidextrous
Hi I just wondered if you ever found a solution for this? I just discovered I have the same issue... (I think)
Joan
Joan
Thoughtful Gifts by Joanie's Gifts - The Thought Counts...
Yes but your fix didnt work for me. However, i found that if you add :-
between the <head> tags in the template - the issue disappears 
Joan
Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=8" />

Joan
Thoughtful Gifts by Joanie's Gifts - The Thought Counts...
Who is online
Users browsing this forum: No registered users and 21 guests