Bug #12494
tinymce_rte fails to load with JS error (top.tinyMCE is noll or not an object) in IE8
| Status: | Closed | Start date: | 2011-01-24 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 1 (View) |
Description
Hi,
I have Typo3 4.4.6 and tinymce_rte 0.6.2.
tinymce_rte works in Firefox, IE throws the following error:
Meldung: 'top.tinyMCE' ist Null oder kein Objekt Zeile: 381 Zeichen: 6 Code: 0 URI: http://xxx/typo3/alt_doc.php?returnUrl=%2Ftypo3conf%2Fext%2Ftemplavoila%2Fmod1%2Findex.php%3Fid%3D137&edit[tt_content][3661]=edit
Is this related to #4987? The extension feedit is not installed and feediting is not used either.
It would be nice to have it working in IE8 again.
Greetings from Austria
Andreas
History
Updated by Marcus Schwemer over 2 years ago
- Status changed from New to Needs Feedback
Can you check this on an installation without TemplaVoila? Does the error occur there too?
Updated by Andreas over 2 years ago
Marcus Schwemer wrote:
Can you check this on an installation without TemplaVoila? Does the error occur there too?
Hi Marcus,
I've uninstalled Templavoila in one of my test projects. After clearing cache (Typo3 and Browser), tinymce_rte is not loaded and the site returns the following error:
Meldung: 'top.tinyMCE' ist Null oder kein Objekt
Zeile: 338
Zeichen: 6
Code: 0
URI: http://xxx/typo3/alt_doc.php?returnUrl=%2Ftypo3%2Fsysext%2Fcms%2Flayout%2Fdb_layout.php%3Fid%3D3&edit[tt_content][1]=edit
So it does not seem to be related to Templavoila.
The problem does also exist in the new version 0.7.0.
Updated by Thomas Allmer over 2 years ago
I just tested it on two of my Installations with IE8 and it worked fine...
using TYPO3 4.4.6 and 4.5...
try clearing typo3temp/tinymce_rte/*
pageTS config has the following setting?
RTE.default.RTE.default = 0
or do you have a custom BE skin? or anything else that could interfere with the top frame? we use a hook there...
but it works in FF... so it's rather strange?
Updated by Albert van der Veen about 2 years ago
Could it be you have the ext tinymce_languages installed? I had the same error when this ext was installed, after removal works ok. Am using version 0.7 of tinymce_rte.
Updated by Marcus Schwemer about 2 years ago
@Andreas: Any news on this? Did Alberts hint solve your issue?
Regards,
Marcus
Updated by Andreas about 2 years ago
Marcus Schwemer wrote:
@Andreas: Any news on this? Did Alberts hint solve your issue?
Regards, Marcus
Hi Marcus,
no, unfortunately "tinymce_languages" is not installed :-(
There is also no custom BE skin.
Updated by 1300 Web Pro almost 2 years ago
Hi guys,
Did you find a resolution to this issue?
I get the exact same error.
My configuration for the extension:
loadConfig: Minimal
pageLoadConfigFile:
RTE.default { callbackJavascriptFile = gzip = 0 gzipFileCache = 0 defaultLanguageFE = en typo3filemanager.window.width = 700 typo3filemanager.window.height = 400 typo3filemanagerThumbs.width = 200 typo3filemanagerThumbs.height = 150 typo3filemanagerMaxPlainImages.width = 500 typo3filemanagerMaxPlainImages.height = 500 linkhandler { tt_news { # id of the Single News Page parameter = 27 # id of the Storage folder containing the news (just used to mark already selected news) [set "storage >" if unsure or the user can select from more than one Storage Folder] storage = 25 additionalParams = &tx_ttnews[tt_news]={field:uid} additionalParams.insertData = 1 # you need: uid, hidden, header [this is the displayed title] (use xx as header to select other properties) # you can provide: bodytext [alternative title], starttime, endtime [to display the current status] select = uid,title as header,hidden,starttime,endtime,bodytext sorting = crdate desc } } # Config used for the spellchecker } RTE.default.init { theme_advanced_buttons1=bold,italic,underline,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,|,link,typo3link,unlink theme_advanced_buttons2= theme_advanced_buttons3= theme_advanced_buttons4= plugins=inlinepopups,safari,tabfocus,advlink,typo3filemanager theme_advanced_statusbar_location = bottom width = 600 height = 550 fix_table_elements = true # you could override the following option if you don't want to insert links. file_browser_callback = typo3filemanager # Additional config options for the "link" button. # This option should contain a semicolon separated list of class titles and class names separated by =. The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted. advlink_styles = # This option should contain a semicolon separated list of link target titles and target names separated by =. The titles are the ones that get presented to the user in the link target drop down list and and the target names is the target that gets inserted as a target attribute. #theme_advanced_link_targets = Some frame=someframe;Some other frame=otherframe # Additional config options for the "tabfocus" plugin. # This option enables you to specify an element ID to focus, when the user pressed the tab key inside the editor. You can also use the special ":prev" and ":next" values. It will then places the focus on either the previous or next input element placed before/after the TinyMCE instance in the DOM. # Move focus to next element in DOM #tabfocus_elements = :prev,:next }
Error details:
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Mon, 20 Jun 2011 10:15:59 UTC Message: 'top.tinyMCE' is null or not an object Line: 368 Char: 6 Code: 0 URI: http://www.xxxxxxxx.com.au/typo3/typo3/alt_doc.php?returnUrl=%2Ftypo3%2Ftypo3%2Fsysext%2Fcms%2Flayout%2Fdb_layout.php%3Fid%3D6686&edit[tt_content][16196,]=edit
Line 367-369:
<script type="text/javascript">
top.tinyMCE.execCommand("mceAddFrameControl", false, {"content_css":"fileadmin\/templates\/main\/css\/screen.css","theme_advanced_resizing":true,"theme_advanced_toolbar_location":"top","theme_advanced_toolbar_align":"left","mode":"exact","theme":"advanced","entity_encoding":"raw","gecko_spellcheck":true,"plugins":"inlinepopups","theme_advanced_buttons1":"bold,italic,underline,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,|,link,unlink","theme_advanced_buttons2":"","theme_advanced_buttons3":"","language":"en","document_base_url":"http:\/\/www.xxxxxxxx.com.au\/typo3\/","elements":"RTEarea392956242","spellchecker_rpc_url":"\/typo3\/?pageId=6686","window":self,"element_id":"RTEarea392956242","reAddCss":true});
</script>
I don't have tinymce_languages installed and am using the standard skin t3skin.
Thanks
James
Updated by Marcus Schwemer almost 2 years ago
For the next version we changed the loading of tinymce, so this problem should be solved. Current status is at https://github.com/mschwemer/TYPO3-tinymce_rte . The release will follow in the next days.
Kind regards,
Marcus
Updated by Thomas Allmer over 1 year ago
- Status changed from Needs Feedback to Closed