For a project I am working on it is important that a user can save a webpage containing an fck editor (in IE).
This works via File->Save As... and by choosing "Web Archive, single file (*.mht)" as file format.
a short excerpt on MHTML from wikipedia:
MHTML stands for MIME HTML. It is used to bind resources which are typically represented by external links, such as image and sound files, along with HTML code into a single file. The key to MHTML is that the content is encoded as if it were an HTML email message, using the MIME type multipart/related. The first part is the HTML file, encoded normally. Subsequent parts are additional resources, identified by their original URLs.
(wikipedia, http://en.wikipedia.org/wiki/MHTML)
The html file that i want to save contains just some JS to build up a simple editor.
Well, when opening the *.mht file in IE, the editor does not show up and IE puts out some errors:
Error: Permission denied. Code: 0 URL: http://www.domain.com/FCKeditor/editor/fckeditor.html?InstanceName=FCKeditor_1&Toolbar=Basic
and also some further errors like 'FCKBrowserInfo.IsGecko' is Null or not an Object...
If I call the url of the error message directly, I would get this error:
Error: 'this.LinkedField.value' is Null or not an Object Code: 0 URL: http://www.domain.com/FCKeditor/editor/fckeditor.html?InstanceName=FCKeditor_1&Toolbar=Basic
I have tried using version 2.5.1 as well as 2.6 beta of FCK, I've also tried to make various changes to my html and js - without any success.
As a search on google did not give me any suitable results, this seems to be a very specific and rare problem.
I found out that problems can occur in MTHML and IE files containing JavaScript, but nothing in particular.
I just can't figure out where the problem lies.
As this is issue is very important to me I would be glad about any suggestions.
greetz, aza