Well This issue has been bugging alot of people around the net it seems. I’m one of the victim too *sigh*.. anways bianchi007, a member in the CKSource Site forums had posted a solution. thought it would be worth to share.
Here is the solution which was posted in this thread.
This is for the .net assembly 2_6_3. I based it on the help file http://dev.fckeditor.net/attachment/tic … 2115.patch
Steps:
Open the FredCK.FCKeditorV2.vs2005.csproj in Visual Studio 2005
Open the file FileBrowser > FileWorkerBase.cs
Go to line 119
Replace:
Response.Write( @"(function(){var d=document.domain;while (true){try{var A=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" );
Replace with:
Response.Write(@"(function(){var d=document.domain;while (true){try{var A=window.parent.OnUploadCompleted;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();");
Compile the project and then reference the new dll file in your project.
I hope it helps
.
Popularity: 3% [?]




January 27th, 2010 at 11:17 am
Hi, Nice one.Got an insight.I also want to share something similar to this.
Sometimes when we try uploading images through FCK Editor tool inside an aspx page it throws an error[XML 403 path Error].
To solve the same problem one has to to configure manually.
STEP-1 :
File Path : fckeditor/fckconfig.js
Previously :
var _FileBrowserLanguage = ‘asp’ ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = ‘asp’ ; // asp | aspx | cfm | lasso | perl | php | py
We have to change ‘asp’ to ‘aspx’
STEP-2
File Path : fckeditor\editor\filemanager\connectors\aspx\config.ascx
Previously :
Change-1 : Enabled = CheckAuthentication();
Change-2 : UserFilesPath = “~/upload/”;
Change-3 : UserFilesAbsolutePath = “C:\\upload\\”;
Chnage -1 : change it to Enable = true;
Change -2 : change the folder name in which you want to store the uploaded image.
Change -3 : change the absolute path of the folder in which you want to store the uploaded image.