We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

TinyMCE not working in IE after upgrade to 1.6.4

Development and Programming

VideoPlus's avatar
VideoPlus
17 posts
17 years ago
VideoPlus's avatar VideoPlus

Hola all.

I am also experiencing a problem with IE and LG tinyMCE after upgrading to 1.6.4.

I can see it in Opera 9.5 and Firefox 2 on my mac, but my co-worker can’t see it in IE 7 or Firefox 2 on her PC (Running XP). She also can’t see it on our windows 2k3 server in IE 6.

When she loads the page, IE generates an error:

line: 1835
char: 2
'tinyMCE' is not defined

I’ve updated to the latest version of TinyMCE, and still no luck. I’ve also tried forcing it into the cp.display.php header generation code.

       
Derek Allard's avatar
Derek Allard
3,168 posts
17 years ago
Derek Allard's avatar Derek Allard

OK, thanks all for your patience. I believe I have this fixed up, and the solution will be part of the next build release. The problem was Internet Explorer getting confused about when items were drawn on the page. Turns out just delaying things a quarter second was enough for IE to catch up. That isn’t ultimately the solution we went for, but thought you’d all be interested.

@Diana, your site should be fixed up and patched.

@everyone else: feel free to email me (not PM please, but email) and I’ll send you a fixed up file, if on condition you let me know if it worked for you 😉

       
Opaline's avatar
Opaline
71 posts
17 years ago
Opaline's avatar Opaline

Derek,

Thank you for your excellent work!

One thing though: now I see these errors in both IE and FF when I use an LG_TinyMCE WYSIWYG field in a publish form:

entry_date is not defined expiration_date is not defined comment_expiration_date is not defined

But I do see the TinyMCE buttons in IE.

Do I need to remove the date options from the entry form…

—Diana

       
Derek Allard's avatar
Derek Allard
3,168 posts
17 years ago
Derek Allard's avatar Derek Allard

Oh boy. How’d I miss that? Apologies. Let me clean that up. I’ll post back when its fixed up.

       
Derek Allard's avatar
Derek Allard
3,168 posts
17 years ago
Derek Allard's avatar Derek Allard

Whew! OK, apologies Diana, could you please try again? Try to break it 😉

       
Opaline's avatar
Opaline
71 posts
17 years ago
Opaline's avatar Opaline

Hooray! It’s working!

(it took me a lunch to remember that I needed to go back up my path to ../scripts/tinymce to get LG TinyMCE working again, heh. Sometimes have to bring up the blood sugar for the brain to work.)

hmm… but my template is showing markup instead of interpreting the HTML… pourquoi!?

(see homepage)

…more research is needed…

Thank you VERY MUCH, Derek! (it was an honor!)

—Diana

       
Derek Jones's avatar
Derek Jones
7,561 posts
17 years ago
Derek Jones's avatar Derek Jones

Great news, Diana, thanks for helping us work through this. For your other issue, if you are referring to:

. <ol> <li>Log in using the special admin URL I sent you. You can't log in from the site itself. </li> <li>Under the "Publish" tab on the left, choose "Homepage"</li> <li>Write a homepage, and make it "sticky" in the options.</li> <li>From the Edit tab in admin, you can delete this post once you've made a homepage.</li> <li>Oh, yes, please give me feedback.</li> </ol>

Please start a new topic in the Technical Support forums and our TSS’s will readily assist you. :-D

       
Opaline's avatar
Opaline
71 posts
17 years ago
Opaline's avatar Opaline

actually, there is something strange, related to the original problem.

I see no errors in the browser, but my server is showing errors on load of the publish form with the TinyMCE field.

[Fri Jul 25 11:39:37 2008] [error] [client my_IP_address] File does not exist: /home/[my_directory]/public_html/themes/site_themes/default/styles/editor.css [Fri Jul 25 11:39:35 2008] [error] [client my_IP_address] File does not exist: /home/[my_directory]/public_html/nyc/scripts/tinymce/jscripts/tiny_mce/plugins/filemanager/editor_plugin.js [Fri Jul 25 11:39:35 2008] [error] [client my_IP_address] File does not exist: /home/[my_directory]/public_html/nyc/scripts/tinymce/jscripts/tiny_mce/plugins/imagemanager/editor_plugin.js

hmm… oh, I’m not using these plugins, guess I can take those out of the config… but what about this themes directory that isn’t checking the EE path config?

       
Derek Allard's avatar
Derek Allard
3,168 posts
17 years ago
Derek Allard's avatar Derek Allard

I’m sorry Diana, I’m not following. TinyMCE is asking for those files? Is the themes folder uploaded in that location? I know very little about TinyMCE, is that configurable?

What I can tell you is that the fix to get it working could not have possibly impacted the PHP side with respect to loading css or js files from TinyMCE. Were those not present before the upgrade to 1.6.4?

       
Opaline's avatar
Opaline
71 posts
17 years ago
Opaline's avatar Opaline

As far as I know, these errors weren’t happening before (I check server errors regularly), but they’re not catastrophic, and they’re not showing the browser, only on the server. (I’m having trouble finding documentation on the LG TinyMCE extension configuration file.)

I think we can consider this thread resolved.

       
Derek Allard's avatar
Derek Allard
3,168 posts
17 years ago
Derek Allard's avatar Derek Allard

Great stuff. I’m glad we could get it for you. Thanks for bearing with us. This fix will be included in the next EE release (offer still stands to anyone who needs it before then to email me). Anything else comes up, don’t hesitate to write back.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham
As far as I know, these errors weren’t happening before (I check server errors regularly), but they’re not catastrophic, and they’re not showing the browser, only on the server. (I’m having trouble finding documentation on the LG TinyMCE extension configuration file.) I think we can consider this thread resolved.

Hey Diana,

This isn’t a LG TinyMCE issue perse, but a TinyMCE configuration issue which is set using LG TinyMCE. Confused 😊 ?

Its a pretty simple fix. Open LG TinyMCE settings and remove the following from the TinyMCE configuration:

content_css : '/themes/site_themes/default/styles/editor.css',

and inside of

plugins :'inlinepopups,style,table,advhr,advimage,advlink,emotions,insertdatetime,media,searchreplace,contextmenu,paste,directionality,fullscreen,visualchars,nonbreaking,xhtmlxtras,imagemanager,style,advlink,filemanager',

remove the imagemanager and plugin manager references.

I also suggest you remove any other plugins you are not actually using to speed up download time. The next version of LG TinyMCE has more configuration comments so it should be easier to understand. I’m hoping to make it available this week.

Cheers

       
Richard Whitmer's avatar
Richard Whitmer
96 posts
16 years ago
Richard Whitmer's avatar Richard Whitmer

Is there a fix available for the original topic? tinyMCE isn’t working in IE when the date fields are enabled.

       
Derek Allard's avatar
Derek Allard
3,168 posts
16 years ago
Derek Allard's avatar Derek Allard

Yes, it has been fixed. Update to the latest EE build Panchesco, and you should be good to go.

       
Richard Whitmer's avatar
Richard Whitmer
96 posts
16 years ago
Richard Whitmer's avatar Richard Whitmer

Looks good. Thanks.

       
First 3 4 5 6

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.