FCKeditor 2.6.3 ASP. NET Image Upload stays on the progress bar

Source: Internet
Author: User

Recently, a project used FCKeditor to download the latest version 2.6.3, 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 ...). But the browser has the following error:
Row: 1
CHAR: 210
Error: no permission
Code: 0
URL: http: // ***. ***. ***/web/FCKeditor/Editor/filemanager/connectors/aspx/upload. aspx? Type = image.
1 first, you must ensure the write permission of the site, that is, the uploaded userfilepath or the upload folder has the write permission. XP directly writes the file. 2003 you can set the permissions of the corresponding account in the permission.
2. Ensure that the path of the uploaded folder is correct.

If both of the preceding settings are complete, an error is displayed in the lower-left corner of the browser, but the webpage has an error. "Double-click js to prompt that you do not have the permission, and you can also see the uploaded file in the upload folder, image, but fck is loading. the window has been frozen in the progress bar state, so consider whether it is caused by a script error.

Solution:Finally in the source code file filebrowser/fileworkerbase. find this line of code in 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;}, recompile, and re-add the reference in the project to solve the problem.
Related Article

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.