मैं अपलोडिफ़ाई का उपयोग कर रहा हूं और जो कुछ पहले काम कर रहा था वह नहीं है और मुझे यकीन नहीं है कि क्यों। जब भी मैं अपलोड पर क्लिक करता हूं तो मुझे एक HTTP त्रुटि लौटा दी जाती है। फ़ायरफ़ॉक्स में नेट टैब को देखते हुए, ऐसा लगता है कि यह सर्वर पर कुछ भी भेज रहा है।काम नहीं कर रहा
मैं त्रुटि समारोह में डालने डिबग मदद करने की कोशिश की है, लेकिन स्थिति विशेषता अपरिभाषित है ..
$("#fileInput").uploadify({
'uploader': '/scripts/upload/uploadify.swf',
'script': '/Member/UploadImages/PerformUpload',
'cancelImg': '/scripts/upload/cancel.png',
'multi': true,
'simUploadLimit': 1,
'fileDesc': "Images",
'fileExt': "*.jpg;*. jpeg;*.bmp;*.png",
'sizeLimit': 3000000,
'onAllComplete':showFinishedLink,
'onError': function (event, queueID ,fileObj, errorObj) {
var msg;
if (errorObj.status == 404) {
alert('Could not find upload script. Use a path relative to: '+'<?= getcwd() ?>');
msg = 'Could not find upload script.';
} else if (errorObj.type === "HTTP")
msg = errorObj.type+": "+errorObj.status;
else if (errorObj.type ==="File Size")
msg = fileObj.name+'<br>'+errorObj.type+' Limit: '+Math.round(errorObj.sizeLimit/1024)+'KB';
else
msg = errorObj.type+": "+errorObj.text;
alert(msg);
$("#fileUpload" + queueID).fadeOut(250, function() { $("#fileUpload" + queueID).remove()});
return false;
},
});
कोई भी विचार?
आपके अनुवर्ती पोस्ट को पोस्ट करने के लिए धन्यवाद। मुझे एक ही समस्या थी और थोड़ी देर के लिए थोड़ा स्टंप था। – digitaldreamer