About Discuz! Nt Forum editor Image Upload bug, flash domain Problems

Source: Internet
Author: User

Discuz in progress! Nt, no one has done it now?

A bug suddenly came up last week and killed me. The Forum images could not be uploaded, And the uploading card was stuck at 100%. So I found that when ajax was sent to AttachUpload. cs, querystring had no userid.

Then code

At first, I thought that AttachUploadPage inherits PageBase, And there is userid in PageBase. AttachUploadPage should be able to get the userid of the currently uploaded image. However, due to the flash domain issue (given by the experts), the userid cannot be obtained here, then the Image Upload fails. the solution is to add the current userid to the parameters of the ajax request.

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.