The FCKeditor Image Upload progress bar does not move

Source: Internet
Author: User

For the developed "five thousand-year-old" website, it is normal to upload images locally using FCKeditor, but when I actually sent images to the network server (Windows Server 2003) last night, the progress bar of the sent image has been rolling and cannot be closed. You can view the server through the FTP server. The picture has been transmitted, but the scroll bar cannot be ended. Because we were eager to send pictures of Council members to the Internet last night, we used FTP to send pictures, then you can use the method to complete all the images.

At eight o'clock A.M. this morning, I started to study this problem and found such a post on the Internet. The original Article is as follows:

 

Recently, a project used FCKeditor to download the latest version 2.6.4, configure everything OK, debug status everything OK, and publish it to the server (Windows Server 2003 sp2). The problem is ...... 
   
   After the image is uploaded, a script error message is displayed at the lower left corner of the page. Click Open to view the prompt "no permission", and the upload window remains frozen in the progress bar (upload in progess, please wait ...), consult various materials, including relevant materials on foreign official forums. 
   
   Confused, I suddenly found that the Image Upload was not unsuccessful. the uploaded file already exists on the server, but the window has been frozen in the progress bar, so I considered whether it was caused by a script error. 
   
   The following code is finally found in the source code file filebrowser/fileworkerbase. CS: 
   
Response. write (@ "(function () {var d = document. domain; while (true) {try {var a000000000000top.opener.doc ument. domain; break;} catch (e) {}; d = D. replace (/. *? (? :. | $)/, ''); If (D. length = 0) break; try {document. domain = D ;}catch (e) {break ;}}})();"); 
   
   Delete try {document. Domain = D;} catch (e) {break;} in the file, re-compile the file, and re-add the reference in the project to solve the problem.

 

According to the above method, the problem is solved. Note that the compilation method is:

Go to the FCKeditor. net_2.6.3 directory and use vs2008 to open fredck. fckeditorv2.vs2005. csproj. Because the file version is vs2005, ask whether to convert the file (the original version has a backup). Select Yes and open the file. Click "generate> Configuration Manager" in the menu, change "Active solution configuration" from the default "debug" to "release", and click "close.

Then click "generate> Generate fredck. fckeditorv2.vs2005 ", then the fredck is automatically generated. fckeditorv2.dll, which is generated in the original position, namely, FCKeditor. in the net_2.6.3/bin/release/2.0 directory, copy the generated file and overwrite the original file in the bin directory on the server. OK!

Try the FCKeditor upload image function on the network again!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.