Viewing Fatal Error on Internet Explorer

Fatal Error on Internet Explorer



User: Liane O. 28 days ago
Hi,

I'm hoping for some help on something that's stumping me. I've updated our website to be responsive using standard Everweb tools and, since doing so, some of our users have reported getting a fatal error - maximum number of style sheets has been reached.

I've dug around and it seems to be an issue with older versions of Internet Explorer that have a limit of 31 style sheets; the thing is our webpages have nowhere near that amount. Verified using developer tools on all browsers and using Safari User Agent of IE 7 upwards.

Has anyone got any ideas what might be causing this error? Our customers are schools and tend to have their browsers imposed on them using local authority group policies so we can't just tell them to upgrade or use another.

We didn't have this problem before updating to responsive layout.

Thanks in advance.
User: Aristomenis X. 28 days ago
Hi Liane,

IE 9 and before does have some funny css rules.

You might want to check your <style> and <link> tags in your different pages as you can only have 31 total per page (combined).

Is this a problem that appears on the homepage / certain pages or in all of them?

A few other things that might give you css errors:

- selector numbers per document (max. 4095) - this would be surprising to attain but it's worth mentioning
- font-family names (max. 31 characters long) - In case you're using google or other exotic fonts, check the name length of each one

Other than that I could suspect caching issues. That is easily verifiable just refresh with F5 instead of ctrl + R on PCs. You can also add a few meta tags to force refresh on pages:

[code]<META HTTP-EQUIV="EXPIRES" CONTENT="0">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">[/code]

I would suggest if possible to erase what is currently on the server and reupload the whole website. It you're using everwebs servers you can republish the whole website.

Good luck with everything hope you find a solution soon.

Last edit 28 days ago
User: Liane O. 28 days ago
The error states maximum style sheets 31 has been reached. When checking using developer tools on all of our pages the max style sheets being loaded are 12 or 13. Nowhere near 31.

The update to responsive design did involve a whole site upload so that's already been done.
User: Paul-RAGESW 26 days ago
HI Liane,

Sorry for the problems you are experiencing.

Can you please share your website URL that has the issue so I can take a look?

-------------------------------
Paul
EverWeb Developer

Macworld.com ranks EverWeb as the top choice for Mac users wanting to build a website!
User: Liane O. 3 days ago
Hi Paul,

Sorry for the delay. Our customer's weren't specific but I think www.icompute-uk.com or www.icompute-uk.com/purchase-1.html

Thanks,

Liane.
User: Liane O. 2 days ago
Further to this, I used Firefox developer to inspect the number of stylesheets and rules used.

It appears that since converting our web content to responsive elements in Everweb the style sheet count has increased drastically which causes problems for IE 9 and lower.

For example on www.icompute-uk.com each element inside a flexbox has its own stylesheet created by Everweb - E.g. each text box inside the flexbox has an individual stylesheet for (say text_box_38) and, if it has a text box button, another style sheet for that.

This means that that this webpage is using over sixty stylesheets and many more rules!

Can Everweb advise as to how we can use Everweb responsively and efficiently using the current tools?
User: Paul-RAGESW 2 days ago
Hi Liane,

Since you are using third party HTML snippets for the membership site, there are many Style Sheets in your code. What you are describing in how EverWeb exports code is not really a problem and is normal.

What appears to be the biggest issue is that the Membership Script you are using is importing a lot of CSS files. Furthermore the consent script, timeline script, font awesome and Google Fonts are adding to the issue.

It does appear that the quantity of FlexBoxes and TextBoxes may be contributing as well, but not in the way you have described. I have marked this down for investigation for EverWeb 3.2. Basically, we may be able to combine the <style> tags into one style tag. However, this still may not fix the problem due to the number of third party scripts you have on your site that are importing and adding many CSS files and rules.

But please be aware that IE 9 is no longer supported by Microsoft. In fact, Microsoft doesn't support IE 10 either and recommends everyone use at least IE 11. They don't provide security updates for versions of IE before version 11.

IE 11 and all modern browsers have no issues with the number of style sheets you are using.

However, we will investigate this further and see if we can provide some optimizations for your website.

-------------------------------
Paul
EverWeb Developer

Macworld.com ranks EverWeb as the top choice for Mac users wanting to build a website!
User: Liane O. 2 days ago
Thanks Paul,

We do use custom html for membership that involves CSS but I could only find a few on the page I was inspecting (our main landing page). There were 33(ish) Everweb related stylesheets. Thank you for marking it down for investigation. I'll remove unnecessary stylesheets elsewhere but the 33 Everweb will still take us over the 31 stylesheet limit for IE.

I note your comments on IE and would really love to advise our customers to use something else but they often cannot as they have their services served on group policies. Therefore they perceive our website to be crashing with fatal errors; which doesn't inspire them with confidence for our company which provides online services.

Thanks again for your support.


Post Reply
You must login or signup to post.