Uploadify V3.2.1 upload documents for problem-solving 404 Not Found

Disclaimer: This article is a blogger original article. Shall not be reproduced without the consent of bloggers. https://blog.csdn.net/bruce128/article/details/37964743

    Today do file upload function with uploadify plug.

When auto is set to true, how to upload, no problems. The auto set to false, together with the form you want to upload files, the same code. Click Submit all but reported 404 not found!


    Very puzzled, this path is obviously just auto = path of true.

    Today's frustration with Chrome project can not keep track of your access to write js, will not enter the source code debug. google the reason for this, need to find the source code changes uploadify.

    The uploadify.js after formatting. In position about 857 lines. The following line of code gaze out!

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

    Replaced by:

if (this.settings.button_image_url != "") {
		    this.settings.button_image_url = SWFUpload.completeURL(this.settings.button_image_url);
		}
    Cleared the browser cache. Once again access this feature, OK!

Guess you like

Origin www.cnblogs.com/mqxnongmin/p/10930079.html