Hi everybody,
I am using FCKEditor together with the .NET Control since about a year and it always worked fine. But since IE8 RC1 (and since yesterday evening the final-release too - doesn't matter if on XP or Vista) I get the following javascript error:
Message: Access is denied.
Line: 86
Char: 340
Code: 0
URI: http://mysite/fckeditor/editor/js/fckeditorcode_ie.js
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
I've been testing it and I haven't seen this problem, so you'll have to provide some info in order to reproduce the problem, but it might turn out that this is another bug in IE8 and now you'll have to suffer it for a very long time.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Good idea, but the problem didn't exist while IE8 was in beta. I realized that problem just yesterday afternoon while I was using RC1. Then I thought by myself that hopefully the final release will fix the problem, but after installing IE8 final I am still facing this problem (even on some other test-clients running XP and IE8 final)...
But don't bother anymore. I'll solve the problem by myself somehow, as I always do...
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Good idea! Indeed, I am setting the document.domain on all my pages to get cross-domain-scripting in iframes to work. But I'm not using https.
Do you know where I have to set what to get FCKEditor back to work, even if I set document.domain?
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
My guess is that IE8 is ignoring the document.domain. App I'm developing on works like the following:
fckeditorcode_ie.js hosted at http://apps.foo.com/....
Generic user interface hosted at http://www.foo.com/....
Administrator interface hosted at http://apps.foo.com/....
Both the normal user page and the admin page loosen their document.domain to "foo.com", but for some reason fckeditor works on the admin page, but not on the normal user page.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
For the record, this is the ticket that I've created to track the problem: http://dev.fckeditor.net/ticket/3183
But now the work is focused on CKeditor 3, so it might not be fixed quickly.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Doing some poking around in the source, I notice this above the offending line:
if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};
1) IsIE7 returns true for IE8. Not sure if they re-introduced whatever IE6 "feature" this originally tried to work around.
2) either way though, the domain tightening is considered invalid now (http://ajaxian.com/archives/ie-8-security), so would only cause more errors..
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Figured I'd start getting your guys' feedback before I post it though, incase you have any suggestions for how to make it less disgusting.
The basic idea is that in fckeditor.html, before all the domain lowering takes place, I create a pool of 20 popups for later consumption. As I'm going through the domain loosening place, I hit each of the popups and loosen their domain before loosening the main one. This seems to work, but its slow creating all those 20 popups.
I just guessed at the number 20. It's probably too big, but the fun part is that you have to create them all upfront. Once you change document.domain for fckeditor.html, you can't create any more popups.
Any deterministic way to know ahead of time how many I'll actually need?
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
fckbrowserinfo.js: Add IE8 detection:
fckeditor.html: Create popup pool and set document.domain accordingly:
fckpanel.js: Use the popup pool if IE8, instead of creating new ones:
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Now that's what I call compatible...
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
I'm not sure I follow. I can't exactly tell each of my users to change their security settings...
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
You can put
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
The relevant bug here is a "security feature". Microsoft considers those an exception to the "act like IE7" rule.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
I've implemented the code as suggested by vt_mruhlin and it works great in Ie8.
Only one problem, my production site works under HTTPS, and the solution doesn't work there.
Any idea why?
Ofer
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Did anyone find solution for this error in IE8.Access is denied
B=this.Document=this._Popup.document;
It is not accepting this line
Please check this.
http://stackoverflow.com/questions/1886 ... -object-of
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Any idea.
IE 8 is giving access is denied error.Can anyone help me regarding this.
Please chekc this link also.
viewtopic.php?f=6&t=13378&start=10
And also i am running IE 8, but if i run locally it showing me the version as IE 8, if i run from the domain or web server it is saying IE7. How to overcome this verson problem.
Thanks Rajkumar
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
raj,
The problem with it reporting itself in IE7 is because it's going into "compatibility view mode". Since it's happening only on your server and not on your local environment, you might be on Microsoft's shit listhttp://msdn.microsoft.com/en-us/library/dd567845%28VS.85%29.aspx. Good luck getting your site removed from that
Did you try my hacks from previous posts? Make sure you get the second one, which specifically covers the case you're talking about, of IE8 incorrectly identifying as IE7.
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Thanks for your help.Its working now.
what is the reason, (B=this.Document=this._Popup.document;) this code didnt work.
It is because of document.domain? Can you explain me.
Thanks
Raj
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8
Re: IE 8 "Access is denied" fckeditorcode_ie.js Line 8