For those who have the issue where the image upload dialog uploads the image BUT the dialog hangs or stays open...here is what I did to fix it.
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.
This worked for me and I hope it helps you. The upload dialog now works on my dev XP and on the Windows Server 2003 website.
Wed, 11/19/2008 - 21:44
#1
Re: FIXED Image Upload dialog for .net
Re: FIXED Image Upload dialog for .net
Re: FIXED Image Upload dialog for .net
It worked for me too after compiling a new dll! Thanks
My system:
x64 Windows Vista Ultimate
IIS7
To compile the dll I used Visual C# 2008 Express edition. I opened the 2005 project and automatically converted it to a 2008 project and then compiled it without any complaints.
Re: FIXED Image Upload dialog for .net
Hey Dude You ROCK!!!... You know I registered on this forum just to say a big THANKS
. You saved my day.
Re: FIXED Image Upload dialog for .net
Re: FIXED Image Upload dialog for .net
Re: FIXED Image Upload dialog for .net
Please advice as I have this problem only on the production server, while the test server it works great.
The permission for the image folder remains identical as the test server.
However one more thing i noticed is that the file does gets published but the dialog window wont go away and it says" Permission denied" javascript error.
Do you all suggest i recompile the dll even for the new version?
Re: FIXED Image Upload dialog for .net
Thanks a lot buddy .. you saved us from this mystery... The workaround fixed my issue.. (I was using a custom page to upload to Sharepoint image library rather to the file system)
Cheers !!!
Re: FIXED Image Upload dialog for .net
it's works. i am wondering from last 4 days and get the solution.
again Thank you very much.