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.
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 😉
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
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
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
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?
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?
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.
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
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.