Editor not shown for IE6 and IE7

najibx - July 2, 2008 - 03:10
Project:FCKeditor - WYSIWYG HTML editor
Version:5.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Similar to this D6 issues http://drupal.org/node/239919, work perfect on FF2, but the editor is not shown for IE6 and IE7.
I am using FCk 2.6.2.

Error msg :

Line 124
Char 2
Object expected
Code 0
UR: http:..................&DrupalBasic

#1

wwalc - July 2, 2008 - 05:15

Did you use 5.x-2.x-dev released on 2008-Jul-01, or some older dev version?
If you are using 2008-Jul-01 version, let me know:
- does it happen in Garland theme
- does it happen if you turn off other additonal modules

#2

najibx - July 2, 2008 - 14:30

1. Yes, I am using FCKeditor - WYSIWYG HTML editor 5.x-2.x-dev (2008-Jul-01) with FCk 2.6.2
2. Still happen in garland theme
3. Still the same ... Installed on fresh drupal with no other additional modules enable. This happen to all other sites that share the code !

Using firebug i see "ie undefined" ..not sure what it means. Any further thing I should be looking at ?

#3

wwalc - July 2, 2008 - 20:47

That's pretty odd. I installed Drupal 5.7 and downloaded the latest module and FCKeditor 2.6.2 to test this and still can't reproduce this (?) on IE6/XP SP3 and IE7/XP SP3 and FF2.
Two more things to check: clear browser's cache, disable any suspicious software, like antivirus programs.

#4

najibx - July 10, 2008 - 02:10
Category:bug report» support request
Status:active» fixed

Thanks Wiktor for your assistance! Just re-upload the whole FCKeditor again.

-------------------------------------------------------------------------
Compare the size of
http://example.com/sites/all/modules/fckeditor/fckeditor/editor/js/fcked... (186 575) and fckeditorcode_ie.js from FCKeditor 2.6.2 (257 648) on your computer.

Your server seems to be slow and files probably got corrupted during transferring to your server.
Re-upload the whole FCKeditor again, try using FTP client that warns you when files are being cut off.

#5

capono - July 19, 2008 - 21:47

We also had problems with the visibility in IE6. First we cleared the cache and the problem seemed to be solved. Then 2 clients had trouble with the visibility. 3 weeks later we too had trouble again on a different computer. Checked filesizes as described above, no problem there.

Then I thought about an IE bug in CSS (sometimes IE doesn't display items in the page when the items don't have a size are content) and added the following to the stylesheet: #fck_oFCK_1 {border: 1px solid #999999;}
The visibility problem seems solved now (again). Clients don't have trouble either.

#6

najibx - July 20, 2008 - 09:09

Thanks capano for sharing.

After this incident, things happen again. I just kept uploading the whole folder as suggested and work for me earlier.
I actully didn't know about "try using FTP client that warns you when files are being cut off". I'm using WS_FTP pro
Is there a setting anywhere?

Well ... after so many upload, the problem actually due to Aggregate JavaScript module. But solved but putting exclusion in the ....
"Exclude from js aggregation:"

/sites/all/modules/fckeditor/fckeditor/fckeditor.js

This case is the same at TinyMCE ..and several others i guess.

#7

Jorrit - July 20, 2008 - 10:05

We will make a documentation note of this incompatibility.

#8

najibx - July 23, 2008 - 05:25

Well...for some reasons, I have to reinstall FCKEditor. To my surprise, I keep getting error in IE.
As pointed out, this particular file /sites/all/modules/fckeditor/fckeditor/editor/js/fckeditorcode_ie.js
was not uploaded properly (different sizes between local and remote).

Funny enough, but obvious, Firebugs didn't detect is....it works fine in FF anyway right?

No matter how many time I upload the whole fckeditor folder, things are the same. So, find this particular file, and upload individually. Works fine. This is only case I experience problem with FTP upload.

Can I better explanation on this please? Maybe can be documented as well.

#9

Jorrit - July 23, 2008 - 08:55

Is this particular file always uploading wrongly? What FTP program do you use? And could you attach the malformed file?

#10

mikiane - July 23, 2008 - 13:40

Hi

I have exaclty the same problem. Please check on Firefox and IE this page : http://www.mikiane.com/node/2008/07/23/recherchez-des-images-avec-des-im...

I will update if i find a solution...

#11

wwalc - July 23, 2008 - 15:07

@mikiane: thanks for posting a link, I've checked it and I know what's the problem on your site.

Take a look at the source code of your site, there is unclosed <object> tag.

IE thinks, that script resposible for starting FCKeditor is inside of this "Object" tag and does not execute it:

<script type="text/javascript">if (Drupal.jsEnabled)
{$(document).ready(function() {oFCK_1.ReplaceTextarea();});}</script>

To fix this, close <object> tag (or even remove it, I didn't investigate it but it seems it's useless there).

General solution for similar problems: check source of your site, unclosed tags may cause problems, as well as multiple closing </html> tags.
W3C Validator might be helpful: http://validator.w3.org
Also it's good to check if IE reported any javascript errors.

#12

wwalc - July 23, 2008 - 15:13

@najibx: FCKeditor works in FF because there are two separate files for IE and Gecko browsers, that's why Firebug doesn't report it.
I don't know why this particular file for IE is broken during upload... but it seems that using a good FTP client could solve at least this problem.

Can someone please recommend a good free FTP client that would be suitable to upload FCKeditor?
It must check if uploaded files did not get corrupted or at least display some report about all failures.

#13

mikiane - July 23, 2008 - 16:53

Yep ! :D
Thanks. It was an unclosed ... Everything looks fine now.

#14

najibx - July 24, 2008 - 01:44

I am using Ipswitch WS_FTP Professional version 9. I like better compared to Cute FTP Pro. Any setting to ensure "check if uploaded files did not get corrupted "?

Sorry, Jorrit - the file was overiden.

#15

Anonymous (not verified) - August 7, 2008 - 01:52
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.