Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
TinyMCE plugin issues when using Internet Explorer 8 or 9
Avatar
Ellen Shuman
Member
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2013 - 9:34 am

Hello Everyone,

There is an issue present in the TinyMCE plugin. Performing tests on my own forum and the public demo forum (http://demo.simple-press.com/forum/) provided by simple-press, I have discovered the script errors below, which at present seem to be causing a serious side-effect in Internet Explorer :

------------------------

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; IPH 1.1.21.4019)
Timestamp: Fri, 22 Mar 2013 14:10:44 UTC

Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: http://w.sharethis.com/button/buttons.js

Message: 'stLight' is undefined
Line: 241
Char: 17
Code: 0
URI: http://demo.simple-press.com/f.....ing-posts/

Message: 'title' is null or not an object
Line: 140
Char: 18561
Code: 0
URI: http://demo.simple-press.com/w......js?ver=12

Message: 'tinyMCE.activeEditor' is null or not an objectLine: 2Char: 14435Code: 0URI: http://demo.simple-press.com/w.....?ver=1.8.3

------------------------

The issue quoted above is causing me much headache at the moment. This could be a side-effect of parallelism in the processing of JavaScripts, as jQuery is parsed first before the TinyMCE JavaScript libs located in the body. TinyMCE itself doesn't use jQuery but perhaps there is a namespace collision, or some definition error. 

There is an issue here, and its in relation to IE and these scripts. Please test this for yourself. These errors cause the editor to fail in loading.

This needs to be fixed. Can anyone offer some resolution or insight into this issue.

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 22, 2013 - 9:50 am

Well they don't actually for anyone here trying it with IE of any versions 8 through to 10 - although, just for the record - I will ask someone here that uses IE to test one more time. So will have to come back on this one.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2013 - 11:37 am

I tried IE 8 on the demo site and it all seemed to work fine.When do those notices actually pop up?

I also see a reference in your post to Sharethis. Are you running the Share this plugin on your site too? If so it might be worth a quick check to disable it temporarily and do a quick test. 

Avatar
Ellen Shuman
Member
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2013 - 1:12 pm

This is a screenshot of the demo forum; I attempt to quote a response (in IE8). You can see here that no WYSIWYG TinyMCE editor is loaded. In the bottom left hand corner of the screenshot you can see IE telling me about the script errors, which I supplied earlier.

Is this considered working fine? When I try this in FireFox it "works fine", but on a clean PC, fresh install of XP and IE8, when using your demo forum this is what I get. So, what in your opinion is causing this? Am I missing something here?

 

demo-post.PNGImage Enlarger

Avatar
Ellen Shuman
Member
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2013 - 1:17 pm

As you can read in my first post, the big issue I hold in common with the demo forum and my forum is this error:

Message: 'tinyMCE.activeEditor' is null or not an objectLine: 2Char: 14435Code: 0URI: http://demo.simple-press.com/w…..?ver=1.8.3

I've tried both forums on multiple PCs and this one error comes up on all in IE8.

Avatar
Ellen Shuman
Member
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2013 - 1:30 pm

Ellen Shuman said
As you can read in my first post, the big issue I hold in common with the demo forum and my forum is this error:

Message: 'tinyMCE.activeEditor' is null or not an objectLine: 2Char: 14435Code: 0URI: http://demo.simple-press.com/w…..?ver=1.8.3

I've tried both forums on multiple PCs and this one error comes up on all in IE8.

 

I can confirm the issue exists in IE8 exclusively, on my forum and the demo forum. Oddly enough, the TinyMCE editor works fine on this forum; it loads up and functions correctly in IE8. So what's the difference? Is there a plugin being used by the demo forum that isn't present here?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 22, 2013 - 3:19 pm

The first question I have is the one you didn't respond to in Brandon's post regarding Share This.

second question is how many 'multiple' PC's have you tried this on?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ellen Shuman
Member
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2013 - 4:01 pm

Four different computers so far.

I didn't respond to the "Share This" question because that error is being generated from a script running on the demo forum and I don't have that specific error on my Forum. The errors I reported are the same on all four PCs I've tested the demo forum on using IE8.

The error we share in common is:

Message: 'tinyMCE.activeEditor' is null or not an objectLine: 2Char: 14435Code: 0URI: http://demo.simple-press.com/w…..?ver=1.8.3

Which looks like it may be creating an issue on line: "685: if ( typeof(tinymce) == 'object' )"

For some reason the activeEditor method is not being set, or, is null in this case and is failing, causing the TinyMCE editor to never load. A plugin for TinyMCE could be causing this. The interesting part in all this is that when using IE8 to post here, TinyMCE works fine. So, is there a plugin on the demo forum, or for TinyMCE specifically, that is different from what you're using here? There must be something different, beside the obvious.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 22, 2013 - 5:21 pm

No - they are all running the same versions here and on the demo. Although I believe the demo does have the share this plugin active but we can not replicate any errors there either.

Personally I can't test anything because I use a Mac - one of my better past decisions - so do not haver IE of any version. But two people at SP both use and test it regularly. when we have had other IE issues with tinyMCE - and there have been some - then it usually come down to something else interacting. Or - as has happened - the probpem mysteriously went away...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2013 - 5:24 pm

I think your screenshot helps in narrowing this down. Are you logging in to the demo site as one of these users by chance?

godzilla, bunny, mouse

 

I do see an script error using 'bunny' as the user but not when I tried earlier as myself or 'Elvis'
If you did login as one of those users and you want to try logging in there as Elvis, password sp_demo it would be interesting if it then worked for you.

I need to do a little testing with various permissions and settings for those users and then get with Yellow Sowrdfish on my results. May be tommorrow now before we have an answer.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626