물음표 뜹니다..해결좀 해주세요.. > 그누4 질문답변

그누4 질문답변

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

물음표 뜹니다..해결좀 해주세요.. 정보

물음표 뜹니다..해결좀 해주세요..

본문

http://www.genesisinc.co.kr/en/news/news.php

왜 물음표가 뜰까요~?
euc-kr버젼입니다. .
왜그런건지.. 현재 머리가 너무 지끈지끈..
ㅜㅜ


select count(*) as cnt from g4_point where mb_id = 'admin' and po_rel_table = 'board_kr' and po_rel_id = '2' and po_rel_action = '쓰기'

1267 : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (euckr_korean_ci,COERCIBLE) for operation '='

error file : /bbs/bbs/write_update.php


이렇게 오류나요

  • 복사

댓글 전체

http://dev.mysql.com/doc/refman/4.1/en/charset-literal.html

select count(*) as cnt from g4_point where mb_id = 'admin' and po_rel_table = 'board_kr' and po_rel_id = '2' and po_rel_action = _euckr '쓰기' euckr_korean_ci
lib/common.php에서 다음 부분 검토해 보세요.
// DB 연결
function sql_connect($host, $user, $pass)
{
    global $g4;

    if (strtolower($g4['charset']) == 'utf-8') @mysql_query(" set names utf8 ");
    else if (strtolower($g4['charset']) == 'euc-kr') @mysql_query(" set names euckr ");
    return @mysql_connect($host, $user, $pass);
}
© SIRSOFT
현재 페이지 제일 처음으로