Uploadify错误#2038 [英] Uploadify error #2038
本文介绍了Uploadify错误#2038的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我对此脚本进行测试时,它都会在尝试上传时连续失败,并给出错误IO#2038
我可以肯定地说的是,它甚至永远都不会到达"Upload.ashx"的后端脚本
告诉我这是一个问题的是脚本.现在,我在测试机上使用localhost进行此操作.
Whenever I do a test with this script it continually fails at the upload attempt and gives the error IO #2038
The thing I can say for sure is it never even gets to the backend script of 'Upload.ashx'
Which that tells me it is a problem is with the script somehow. Now I am doing this with localhost on my test machine.
<head>
<title></title>
<script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="Uploadify/jquery.uploadify.v2.1.4.min.js" type="text/javascript"></script>
<script src="Uploadify/swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#file_upload').uploadify({
'uploader': '/uploadify/uploadify.swf',
'script': 'Upload.ashx',
'multi': false,
'sizeLimit': 10000000,
'scriptAccess': 'sameDomain',
'cancelImg': '/uploadify/cancel.png',
'onAllComplete': function (event, data) {
alert(data.filesUploaded + ' files uploaded successfully!');
},
'onCancel': function (event, ID, fileObj, data) {
alert('The upload of ' + fileObj.name + ' has been canceled!');
},
'onError': function (event, ID, fileObj, errorObj) {
alert(errorObj.type + ' Error: ' + errorObj.info);
},
'onSelectOnce': function (event, data) {
alert(data.filesSelected + ' files were selected for upload.');
},
'auto': false
});
});
</script>
</head>
<body>
<span>
<label for="file_upload" title="Photo">
Photo</label>
<input id="file_upload" name="file_upload" type="file" />
<a href="javascript:$('#file_upload').uploadifyUpload();">Upload Files</a>
</span>
</body>
推荐答案
您是否正在使用SSL?您的证书可能有问题.检查您的证书对于该域是否有效.
Are you using SSL? It could be a problem with your certificates. Check if your certificate is valid for the domain.
http://www.uploadify.com/forums/discussion/6650
这篇关于Uploadify错误#2038的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文