화

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

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


이렇게 오류나요

댓글 6개

DB collation이 UTF-8로 되었을 때 비슷한 현상이 나타나던데요..
그럼 UTF-8 로 다시 깔면 괜찮다는 말씀이세요`?
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);
}
http://drupal.kldp.net/node/12
답변을 참고하세요

phpMyadmin 을 설치해서 collation을 살펴보세요.
저도 답변 좀 드리고 싶은데...빨리 배워야지...
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
09-06-04 조회 4,183
09-06-04 조회 1,398
09-06-04 조회 1,629
09-06-04 조회 1,078
09-06-03 조회 1,766
09-06-03 조회 1,632
09-06-03 조회 1,451
09-06-03 조회 1,115
09-06-03 조회 1,073
09-06-03 조회 1,229
09-06-03 조회 1,531
09-06-03 조회 1,024
09-06-03 조회 939
09-06-03 조회 1,741
09-06-03 조회 1,091
09-06-03 조회 1,998
09-06-03 조회 1,188
09-06-03 조회 2,210
09-06-03 조회 913
09-06-03 조회 1,096