IE style not rendering on Home/catalog pages
Hi There,
I'm having an issue with IE styles not rendering on certain pages. e.g. the homepage, category and product pages (note: it works/looks fine on the static/contact pages). Error is: HTML1115: X-UA-Compatible META tag ('IE=Edge') ignored because document mode is already finalized. filename.html I'm guessing may be due to it loading too slowly so tried moving the weight of header/parts/meta_comat_ie.tpl to 1 but that did not fix it unfortunately, nor did adding it into the body.tpl... any ideas? Thanks in advance. |
Re: IE style not rendering on Home/catalog pages
Can you provide a link to the page?
|
Re: IE style not rendering on Home/catalog pages
Thanks for your message. I can't unfortunately. What further information would you like to assist troubleshooting?
|
Re: IE style not rendering on Home/catalog pages
Just googled an error and here is what might help:
http://stackoverflow.com/questions/10932881/html1115-x-ua-compatible-meta-tag-ie-9-ie-8-chrome-1-ignored-because-docu So, the question is are you sure that there is no elements before x-ua-compatible tag? |
Re: IE style not rendering on Home/catalog pages
Hi Tony,
I've tried to solve this by editing custom_skin/default/en/header/body.tpl Code:
<head{foreach:getHeadAttributes(),k,v} {k}="{v}"{end:}> All it did was produce duplicate instances of the same error.... is there another template I should be editing? I'm a bit baffled why it's only occurring on some pages though.... I will pm you the URL also. I wonder if it possible that it is the something to do with the product data import again...? Thanks Shaz |
Re: IE style not rendering on Home/catalog pages
Hi Shaz!
I checked the page's code and there is nothing special I can think of. I would suggest the following way of debugging: - save the problem page as .html page and upload it to your server, so that your .js files would be included correctly - remove some chunks of HTML code before this problem is gone, this way you will find an exact HTML code that causes the problem Please, let me know if it makes sense to you. Tony. |
Re: IE style not rendering on Home/catalog pages
Thanks Tony. Yes, I get you.
I created the test.htm file and have narrowed it down to a few lines of code... yet I'm having trouble pin pointing the exact <link href"..." /> in the header it appears that it could be more than 1?! BUT... WHEN I REPLACE HTML Code:
<link href="skins/custom_skin/default/en/modules/QSL/Banner/banner-system.css?1418089607" rel="stylesheet" type="text/css" media="all" /> ------------------ WITH (from a page that is working in IE) ------------------ HTML Code:
<link href="skins/custom_skin/default/en/location/location.css?1418089607" rel="stylesheet" type="text/css" media="all" /> the css starts resolving and the menu looks normal etc... maybe an issue in the /var/ folder?? I hope I'm not looking at a clean install :/ |
Re: IE style not rendering on Home/catalog pages
I just made a diff of which files are included and it looks like these css files might be a culprit:
Code:
<link href="skins/custom_skin/default/en/modules/QSL/Banner/banner-system.css?1418089607" rel="stylesheet" type="text/css" media="all" /> Now you can try to remove all of them from your test.html and check whether it fixes the problem. Then, you should start adding them one by one and once the problem happens again, you will find an exact CSS file that causes the problem. |
Re: IE style not rendering on Home/catalog pages
Thanks Tony but this method of troubleshooting is just taking too long for a site which is live :( I've emailed support@x-cart a few days ago and they haven't responded either...
What will happen next once I do pin point the .cc file? The css file itself couldn't cause that error so I will still have to wait for further advise. I'll just go and do a clean install like I probably should have done when I first noticed it. Thanks again for your help anyways... sorry to waste your time too... |
Re: IE style not rendering on Home/catalog pages
Well, I thought that problem might be with certain CSS file and if you exclude it, then the problem will be solved.
As for support request, as I see our guys replied to you on 13th of December and this was the end of conversation. Please report this problem under proper account and we will be happy to look into it. If I can help you anyhow else, please just let me know. Tony. |
All times are GMT -8. The time now is 02:21 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.