IE9 crashing with mojoportal

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/2/2011 2:40:08 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

IE9 crashing with mojoportal

After upgrading to IE9 I find it works great on other sites, but crashes all the time on my mojoportal site www.breconfans.org.uk

In fact, it just crashed on me while trying to write this post!  I've switched to chrome. It said "... stopped responding due to long running script" or similar.

On my site, I find that very often it is using the main menu tabs that causes the crash. The browser usually recovers straight away and opens the correct page. The error is "Internet Explorer has stopped working   Windows is checking for a solution to the problem...".

But also, going into tthe CKEditor to edit page content often crashes. not necessarily first time in, but every time thereafter.

Anything I can do?

System info:

mojoPortal Version 2.3.6.2 SqlCe

Operating System Microsoft Windows NT 5.2.3790 Service Pack 2

ASP.NET Info v4.0.30319 Running in Full Trust

Server Time Zone GMT Daylight Time

Server Local Time (GMT 1) 02/04/2011 20:37:53

Greenwich Mean Time (GMT/UTC) 02/04/2011 19:37:53 

4/2/2011 5:21:23 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: IE9 crashing with mojoportal

Hi

I have been running mojoPortal Version 2.3.6.2 on IE 9 RC and now IE 9 Final for 6 weeks and have never had a problem.

1) Microsoft Windows NT 5 is Windows Server 2000 (11 years old) and is not compatible with ASP.NET 4.0.

2) I would recommend upgrading to mojoPortal Version 2.3.6.4.  Joe has updated some of the mojoPortal code to be more IE 9 compatible in this new release. 

3) When you upgrade use I would recommend using mojoPortal ASP.NET 3.5 on Windows 2000.  BUT...  I do not see a 3.5 version for SqlCe.  Only Sqlite.

Hope these few points help lead towards a solution for you.

Rick

 

4/3/2011 3:25:18 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: IE9 crashing with mojoportal

Thanks - I will try the upgrade (not sure how, but will check the docs!). 

Re your comments about server OS and .net version... the server is actually 2003 R2 SP2 with .Net4.

Will post update if this solves the problem.

Crispin

4/3/2011 5:02:04 AM
Gravatar
Total Posts 18439

Re: IE9 crashing with mojoportal

The newer version of CKeditor included in mojoPortal 2.3.6.4 has updates for IE 9.

However, if you're getting errors about long running scripts, it could be caused by any custom javascript or jquery plugins you are using. If you are using such, you might try eliminating that from the equation and see if the problem persists. I have not noticed any IE crashing at all using the skins included with mojoPortal and unless others also report it it seems more likely caused by something custom with javascript.

I notice also that your skin has a meta tag added by Artisteer that tells all versions of IE to emulate IE 7. You may want to make that only apply to IE 8 and see if it helps. I notice that newer designs from Artisteer 3 make it emulate IE 8, so it seems like Artisteer may be a version behind in support for IE. Possibly the javscript added for Artisteer has some problem in IE 9.

I would also try it from more than one machine and verify it is not a machine specific problem with the crashing.

Hope it helps,

Joe

4/3/2011 12:21:19 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: IE9 crashing with mojoportal

Hi all

Updated successfully to 2.3.6.4, and removed any meta IE7 directives (I think). But no fix unfortunately.

mojoPortal Version 2.3.6.4 SqlCe

Operating System Microsoft Windows NT 5.2.3790 Service Pack 2

ASP.NET Info v4.0.30319 Running in Full Trust

A number of observations (as well as the page crashes):

  1. CKEditor - sometimes on clicking the pencil to edit HTMLcontent, first the source html appears in the CKEditor window for about 0.25 seconds, then the rendered content appears for about 0.5 seconds, then the content area goes blank (I still have all the CKEditor tolbars etc). I see this on all my pages, irrespective of what types of module they contain. I can successfully edit a few pages, but once it has started doing this I have to log out of my site and start new session. (IE9 only).
  2. Still getting the page crashing when I click the menu items. (IE9 only).
  3. "Comments by IntenseDebate" appears underneath "Subscribe to ..." control. (IE9 only).
  4. finally, the long running scripts problem was while using the mojoportal forums page, not my site! I've not seen it again.

Any more ideas gratefully received, and I will try to find another machine to test on as well. (In the meantime I'll do my site admin in Chrome!). If I find out more I'll post.

thanks

Crispin

PS folk might like to know that the bug that caused Google Maps not to load correctly in IE9 has been resolved in the last few days (presumably by Google in their Maps API).

 

4/4/2011 7:25:32 AM
Gravatar
Total Posts 18439

Re: IE9 crashing with mojoportal

  1. Is it a contrast issue? maybe white text on a white background but the content is really there? any script errors on the page? 
  2. what do you mean by crashing? The browser goes away completely or just a script error? This only happens on your own site? Do you have any problems on this site or on demo.mojoportal.com? You can try different skins on the demo site and see if any skins produce this problem for you.
  3. probably solvable by css

Best,

Joe

4/4/2011 4:04:32 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: IE9 crashing with mojoportal

Hi Joe

re 1 (CKEditor vanishing content) I get these issues reported in the IE developer toolkit when I click the "pencil" to edit the page... The first is a warning, the second a fatal. The second looks like it is in the spellchecker.

SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
HtmlEdit.aspx?mid=0&pageid=0
SCRIPT5007: Unable to get value of the property 'setAttribute': object is null or undefined
loader__base.js, line 2786 character 1

re 2. by crashing I mean IE pops an error up "Internet Explorer has stopped working   Windows is checking for a solution to the problem...". Then a message at bottom of browser window saying "a problem with this web page has caused Internet Explorer to close and reopen the tab". It's rather intermittent. I clicked horizontal menu items about 15 times with no crash, then hit an item in a vertical sub-menu and bang. Repeated this pattern a couple of times ( but not every time aaaghhhh!!).

However, on using the demo site, I cannot make it crash. This makes me wonder whether it is something to do with the SQL CE version?  My site has used one of the standard skins with very little modification.

Yours puzzled

Crispin

 

 

4/4/2011 4:20:12 PM
Gravatar
Total Posts 18439

Re: IE9 crashing with mojoportal

When you upgraded did you use the new Web.config file or keep your old one? If you kept your old one then you are not using the new version of CKEditor that has updates for IE 9. You should backup your Web.config and restore customizations such as the machine key and other customizations to the new one.

Hope it helps,

Joe

4/5/2011 1:30:57 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: IE9 crashing with mojoportal

Hi Joe

I did use the new web.config (and ported a few settings across like SMTP). Here is old:

    <add key="CKEditor:BasePath" value="~/ClientScript/ckeditor351/" />
 

and new:

    <add key="CKEditor:BasePath" value="~/ClientScript/ckeditor352/"/>

Is that the correct version?
 

And I've done a hard refresh in my browser to make sure using latest JS.

ta

Crispin

4/5/2011 9:31:02 AM
Gravatar
Total Posts 18439

Re: IE9 crashing with mojoportal

do you get the same error if you use one of the included skins on your own site instead of your custom one?

only other thing I can think of is if some of the ckeditor javascript files don't have read permissions on them it could cause errors.

4/5/2011 4:09:08 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: IE9 crashing with mojoportal

Aha - if I switch to Artisteer_24verticalmenu1 (on which I based my skin) then CKEditor does display its content. The content still seems to alter its appearance after a very brief time (0.25 seconds or so)  - perhaps javascript applying a style or something - but it doesn't vanish.

Also, I haven't had it crash  (but not enough testing to be sure about this one).

But I'm still puzzled - my skin differs only with a background image and a few simple CSS classes. But at least I've got something to chase now, including permissions - thanks.

Crispin

9/6/2011 1:06:19 AM
Gravatar
Total Posts 8

Re: IE9 crashing with mojoportal

I have the same problem with IE8. IE8 is crashing after a few mouse clicks on my new mojoportal website (which is still under development): ispac-conferences.org. The site works well in Firefox, but it is not usable in IE8. Either a message comes up that "A problem with this website caused IE to close and reopen the tab", or IE8 dies completely. Actually, IE8 dies anyway soon. Clicking on the Refresh button in IE a few times definitely reproduces the problem. 

It is a new installation on the Arvixe server, mojoportal version: 2.3.6.7, the skin is an Artisteer 3 skin modified. I have a couple of other mojoportal websites with older mojo versions and Artisteer 2, they are running without any problem.

I will try to use an Artisteer 2 skin to avoid this problem.

Klara Vancso

9/6/2011 10:26:18 AM
Gravatar
Total Posts 2239

Re: IE9 crashing with mojoportal

I have seen IE8 and below lock-up when the first-letter pseudo-element is used. If you're using first-letter in your CSS, remove it and see if IE8 continues to misbehave.

HTH,
Joe D.

9/6/2011 3:20:22 PM
Gravatar
Total Posts 8

Re: IE9 crashing with mojoportal

Thank you for your answer, but that element is not used.

It seems that this behaviour depends on the skin. With certain (predefined) skins the problem can be reproduced, with other skins it can't. E.g. if I set the skin in Site settings to artisteer-30verticalmenu3, the problem can not be reproduced, but setting the skin to e.g. artisteer-30topmenu, IE8 dies very quickly.

Klara V.

9/7/2011 6:55:10 AM
Gravatar
Total Posts 8

Re: IE9 crashing with mojoportal

I localized the problem: there was only one artisteer-30 skin which did not cause IE8 to crash: the skin artisteer-30verticalmenu1. All the others crashed it.

I could solve the problem so: if in style.css the background-image and background-repeat is removed from the body tag, everything works well.

9/7/2011 7:04:18 AM
Gravatar
Total Posts 18439

Re: IE9 crashing with mojoportal

Hi Klara,

Do you get the same result using IE 8 on our demo site? Can you try it there with the same skins and let me know if you get the same problem or not?

Thanks,

Joe

9/7/2011 7:59:02 AM
Gravatar
Total Posts 8

Re: IE9 crashing with mojoportal

Hi Joe,

Yes, I can reproduce it there, too. I logged in as admin, then changed the skin to artisteer-30alphamotors. When I tried to save the skin change with the Save button on the bottom, IE8 died with the popup: "Internet Explorer has encountered a problem and needs to close..."

After restarting IE, it showed the demo site in the new skin, with a message at the tab "This tab has been recovered A problem with this webpage caused Internet Explorer to close and reopen the tab."  

I have made two screen dumps about this, I can send them to you in e-mail if you wish.

Klara

9/7/2011 8:14:19 AM
Gravatar
Total Posts 8

Re: IE9 crashing with mojoportal

This problem I have on a machine with Windows XP. Now I have tried it with a Windows 7 machine with IE8, but I can not reproduce it there.

9/7/2011 8:16:43 AM
Gravatar
Total Posts 18439

Re: IE9 crashing with mojoportal

Hi Klara,

Thanks, I'll look into this. I "think" my older laptop still has IE 8 so I'll give it a boot and see if I can reproduce the problem locally, if so then I'm sure I can fix it as well based on what you've said.

Did removing the background and repeat change the appearance?

If needed we can make that change specific only to IE 8. You can create a IE8Specific.css file and drop it in your skin folder then in layout.master on the IEStyleIncludes control you can set IncludeIE8="true" to make it include that file for IE 8. Then you can override the css in that file to remove the background and repeat and affect only IE 8.

Though it certainly seems strange that something simple like that could crash IE 8. I wouldn't be surprised if the javascript included in Artisteer skins is a contributing factor.

Best,

Joe

 

9/7/2011 8:31:53 AM
Gravatar
Total Posts 8

Re: IE9 crashing with mojoportal

Thank you, Joe.

Yes, putting back the background and repeat did change the appearance (but at first IE died, I had to restart it.)

I find it strange as well, I am using the same machine and IE with other mojo sites on daily basis without any problem. This is, however my first artisteer 3 site.

Best regards,

Klara

10/25/2011 9:56:43 AM
Gravatar
Total Posts 24

Re: IE9 crashing with mojoportal

I am having the same problem

Version 2.3.6.7 MSSQL
Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust

using Artisteer 3 skins.

IE8 and IE9 seems to have the problem where the website will crash and recover the tab. 

It is flaky though where sometimes it seems to work fine

Works fine in Chrome...

 

 

 

11/24/2011 12:17:36 PM
Gravatar
Total Posts 38

Re: IE9 crashing with mojoportal

I bought Artisteer 3 and have invested heavily in time to get a major site developed on mojoPortal.  Just about ready to launch, it it is overall a fantastic success, with one drawback:  Internet Explorer crashes.  After reading through the previous posts, which suggest that Artisteer 3 skins tend to crash IE 8/9, I feel like I've been led up the garden path.  The problem does not sound very clear, and hence the fix sounds daunting, especially given that the whole reason we use Artisteer is so that we can avoid extensive css work.   I'm slow at writing CSS layouts, but I've never written anything that crashes IE.  

Is there a summary or sticky post about approaches to fixing this issue?

11/25/2011 6:45:20 AM
Gravatar
Total Posts 18439

Re: IE9 crashing with mojoportal

If I could reproduce the problem I'm fairly sure I could figure out the cause by process of elimination and chopping things out until it goes away then putting things back until it happens again. But I have never been able to reproduce the problem on any of my machines therefore I have never been able to come to a conclusion about the cause. Even those who have experienced the problem report that it only happens sometimes on some machines. 

From my point of view it is not conclusive that the problem is caused by CSS though that might be the cause, it seems just as possible that it is caused by javascript.

It can also possibly have other contributing factors such as browser plugins and toolbars and anti-virus software. I would see first if you find the same problem using other machines. While it is a frustrating problem, if you find it doesn't really happen on most machines then at least it is less severe of a concern.

Does it happen just browsing the site or are there other relevant steps such as using the wysiwyg editor? I have experienced some occasional browser errors or bad performance in the editors when SCAYT (Spell Check as you type) is enabled which it is by default. If that were identified as the problem you could disable it by configuration.

If I had a machine that would produce problem repeatedly the steps I would try to solve it are as mentioned above chopping things out.

My first suspect would be the script that Artisteer includes because I know they do some funky things for layout with IE where they re-write much of the page html from javascript using table layout. So the first thing I would chop out is the script from layout.master:

<portal:SkinFolderScript ID="sfs1" runat="server" ScriptFileName="script.js"  />

If removing that solves it and the site still renders correctly I'd just leave that out.

You might also try removing any IE compatibility meta elements such as this:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

if it exists and see if that is a factor. Or if you don't have that try adding it.

If the problem persists after that I would try commenting things out in the CSS until it goes away. I'd start with the things other users have mentioned such as background repeat. I would probably also do some googling for "css crashes IE8" and that may inform my strategy in terms of ideas of what I should try commenting out in the CSS.

Is your site at a public url where I or others could try it with IE 8/9?

I wish I could be more help and I totally get your frustration but I don't think anyone has led you down a bad path. If valid CSS can crash IE it is clearly a bug in IE, the only sense that it can be considered a bug in Artisteer or the exported design is in the sense that they have not avoided the browser bug. The only path I want to lead you down is the path of success but I cannot promise that everything will always be perfect because the world is not perfect and technology is not perfect and I am not perfect.

Hope that helps,

Joe

11/26/2011 5:12:37 AM
Gravatar
Total Posts 8

Re: IE9 crashing with mojoportal

Dear Joe,

I truly appreciate your effort  towards making mojoportal to be such a fantastic tool; I also like and use Artisteer with great enthusiasm. The combination of these softwares  does help me a lot in my daily work, it does decrease the amount of work necessary to develop websites tremendously.

The fact that there are occasional technical problems caused by the complexity of the technical environment and website/software development does not take away anything from these results.

Thank you for your great work!


Klara

11/28/2011 8:47:12 AM
Gravatar
Total Posts 38

Re: IE9 crashing with mojoportal

Joe,

Thanks for your extensive reply.  

I worked my way through your suggestions and stopped when I got to css line:

   background-image: url('whatever.gif');

In short, it's an IE bug related to jquery.  (see http://bugs.jquery.com/ticket/9028).

You may can still see the site in question crashing here: http://www.exscotlandyarddetectives.org ...for an hour or so after this post (after home page loads, click any other menu item and watch IE8  freak).

 I've removed  the background-image instruction from the body selector and that resolves the issue of IE crashing.   

I hope my experience may aid other victims.

Thanks again for your support.

Regards,

 

Ken

 

11/28/2011 9:09:28 AM
Gravatar
Total Posts 18439

Re: IE9 crashing with mojoportal

Hi Ken,

Since jquery is reporting that as a fixed bug, you could try changing to a newer version of jquery or an older one since it says it doesn't happen in version 1.6.1 but did happen in 1.6.2 which is what you are using.

You can change the version in Web.config:

<add key="GoogleCDNjQueryVersion" value="1.6.2"/>

you could try version 1.6.1 or you could try newer versions like 1.6.3, the latest version is 1.7.1, but I have not yet tested to make sure all of our jquery functions work correctly in the new version so it is always possible some of the plugins may break when changing to new versions.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.