FIXED Image Upload dialog for .net
9 posts
• Page 1 of 1
FIXED Image Upload dialog for .netFor 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.
|
Re: FIXED Image Upload dialog for .netThis worked for me as well. Thanks for sharing the fix.
|
Re: FIXED Image Upload dialog for .netThis also worked for me. Thank you so much. I've been banging my head trying to configure this for asp.net all day!
|
Re: FIXED Image Upload dialog for .netIt 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 .netHey Dude You ROCK!!!... You know I registered on this forum just to say a big THANKS
|
Re: FIXED Image Upload dialog for .netThat's Awesome, thanks so much for posting that fix.
|
Re: FIXED Image Upload dialog for .netI can't seem to be able to compile in Visual C# 2008 Express? Any help is greatly appreciated!
|
Re: FIXED Image Upload dialog for .netHast this been fixed in the new security release 2.6.4.1 or do I have to recompile as its posted here?
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 .netYou are a savior ...
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 !!!
|
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests