이 정밀 업로드 업 그레 이드 버전 3.3.0을 지금 설치하고 내 사이트의 통합 라이브러리를 모두 업로드하면 업로드가 제대로 작동한다고 생각하지만 오류는 없습니다.fineUploader에서 xhr 응답 텍스트를 구문 분석하려고 할 때 오류가 발생했습니다.
[FineUploader] Sending upload request for 0
[FineUploader] xhr - server response received for 0
[FineUploader] responseText =
및 오류 불을 지르고 : 회선 이상에서
[FineUploader] Error when attempting to parse xhr response text (SyntaxError: JSON.parse: unexpected end of data)
: jquery.fineuploader-3.3.0.min.js (라인 148) 내가 사용
난 내 자바 스크립트 콘솔 오류 참조 매개 변수 :
$(document).ready(function() {
$('#uploader').fineUploader({
request: {
endpoint: '/upload/'
},
classes: {
success: 'alert alert-success',
fail: 'alert alert-error'
},
text: {
uploadButton: '<i class="icon-upload icon-white"></i> file target'
},
validation: {
sizeLimit: 31457280
},
debug: true
});
});
만약 내가 글자 크기라면 : 10485760 - 괜찮습니다. 파일 업로드가 완료됩니다. sizelimit : 31457280 파일을 업로드하지 않으면 2 ~ 3 %로 프로세스가 중단됩니다. 도와주세요! 어디서 버그 야? 제발 도와주세요!
서버 측에서 오류가 발생 했습니까? 그게 너의 문제 야. –
서버 측 설정 파일 php.ini 파일 : 의 file_uploads \t \t 200M max_file_uploads \t 200M 이 upload_max_filesize \t 1024M post_max_size을 에 내가 문제없이 몇 업로드 한 파일을 여러 번 – stopgg
를 확인했습니다. 문제는 서버 쪽입니다. 무엇이 잘못되었는지 알아 내려면 서버 측 코드를 면밀히 조사해야합니다. 오류는 서버 측에서 오류가 발생하고 있음을 나타냅니다. –