Q&A

게시글 추천 jQuery.exec_json 이용시 에러 문의

2020.11.05 13:52
595
0
CMS/프레임워크 Rhymix 1.9
개발 언어 PHP 7.2

PREVIOUS POST : document.procDocumentVoteUp

General Information

Request: POST (JSON) - 122 bytes

Response: JSON - 77 bytes

Total Time: 0.0389 sec

Query Time: 0.0112 sec (count: 23)

Errors (1)

01. Query Error: This command is not supported in the prepared statement protocol yet (code 1295)

 

 

추천 직후 디버그창에 위와 같은 에러가 뜨는데 이건 뭔가요??

댓글 2

  • 2020.11.07 00:14 #1478227
    prepared statement 체크에서 문제인듯한데
    해당 함수 쿼리랑 디비 구조랑 안맞는거 같네요.
  • 2020.11.07 01:06 #1478237
    onclick="do_doc_VoteSubmit('document','procDocumentVoteUp','{$oDocument->document_srl}');"

    function do_doc_VoteSubmit(module, action, target_srl) {
    var params = {'target_srl':target_srl,'cur_mid':current_mid};
    jQuery.exec_json(module+'.'+action, params);
    setTimeout(function() {
    location.reload(true);
    }, 300);
    }


    이렇게 처리했는데 쿼리에 문제가 될 부분이 있을까요??
    mariadb 를 사용중입니다.