서버 설치는 oneinstack 원클릭 설치 패키지인 lnmpa(Linux + Nginx + MySQL + PHP + Apache)를 사용합니다.
프로그램은 discuz3.2입니다.
제출 후 500 오류가 발생했습니다.
에러 사진은 다음과 같습니다. forum_post.js에 의한 현상인 것 같은데, 이 js 파일은 수정되지 않은 상태여서 이유를 모르겠습니다. . . 그러면 185행과 165행에 해당하는 js 코드는 다음과 같습니다
함수 checkpostrule_post(theform) {
if(!seccodecheck && !secqaacheck && !theform.sechash) {
var x = 새로운 Ajax();
x.get('forum.php?mod=ajax&action=checkpostrule&ac=' + postaction + '&inajax=yes', 함수 {
만약(들) {
ajaxinnerhtml($('seccheck'), s);
평가스크립트;
seccodecheck = 사실;
} 또 다른 {
postsubmit(theform); ///////이 줄은 165입니다.
}
});
} 또 다른 {
postsubmit(양식);
}
}
함수 postsubmit(theform) {
if($(editorid + '_attachlist')) {
$('postbox').appendChild($(editorid + '_attachlist'));
$(editorid + '_attachlist').style.display = '없음';
}
if($(editorid + '_imgattachlist')) {
$('postbox').appendChild($(editorid + '_imgattachlist'));
$(editorid + '_imgattachlist').style.display = '없음';
}
hideMenu();
theform.replysubmit ? theform.replysubmit.disabled = true : (theform.editsubmit ? theform.editsubmit.disabled = true : theform.topicsubmit.disabled = true);
theform.submit(); /////이 줄은 185입니다.
}
过去多啦不再A梦2017-05-16 13:07:09
500은 백엔드 문제인데, 본질적으로 그 글의 영향을 받았다고 하더군요.
nizhel