코멘트 에러메세지 해결 부탁드립니다. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

코멘트 에러메세지 해결 부탁드립니다. 정보

코멘트 에러메세지 해결 부탁드립니다.

첨부파일

view_comment.skin.php (12.2K) 1회 다운로드 2011-03-08 09:04:08

본문

그동안 미뤄왔던 업그레이드 작업 하느라 최신 버전으로 작업을 하였는데 이미 등록된 댓글 앞에 아래와 같은 메시지가 나옵니다.

if (strtoluwer($g4[charset])=='euc-kr')$reg_mb_nick=convert_charset('UFT-B',CP949',$reg_mb_nick);

위 에러 메세지 뒤에 댓글 내용이 나옵니다.
작업하면서 잘몰라서 파일 하나 수정하고 올려서 확인하고 하는식으로 했었는데
skin/board/basic/view_comment.skin.php 파일에서만 에러가 납니다.
위 파일을 최신버전 파일이 아니고 이전 파일로 하면 에러 메세지는 사라집니다.

( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '184436' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )

1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

error file : /15sir/bbs/board.php