Uploadify v3.2.1 File Upload report 404 Not found problem solved

Source: Internet
Author: User

The uploadify plug-in is used for file upload today. When auto is set to true, there is no problem with uploading. Set auto to false. If you want to upload the file along with the form, 404 Not found is reported for the same code when you click Submit!


This path is clearly the path when auto = true.

However, the current project cannot use chrome to access its own JS, so it cannot enter the source code for debugging. Google found that the source code of uploadify needs to be modified.

After formatting uploadify. JS, comment out the following line of code at about 857 lines!

this.settings.button_image_url = SWFUpload.completeURL(this.settings.button_image_url)

Replace:

if (this.settings.button_image_url != "") {    this.settings.button_image_url = SWFUpload.completeURL(this.settings.button_image_url);}
Clear the browser cache and access this function again. OK!

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.