euc-kr서버에서 utf-8서버로 이전하였는데 에러가 납니다. 정보
euc-kr서버에서 utf-8서버로 이전하였는데 에러가 납니다.
본문
오류 주소 : http://e-depot.co.kr
euc-kr서버에서 utf-8서버로 이전하였는데
utf-8서버에 utf-8버전 다운받아 설치한후 디비지우고
백업한 디비 utf-8로 변환하여 디비업로드하여 설치하였습니다.
그런데 홈페이지상단에 아래와 같은 오류메세지가 나오고 한글이 깨져 나오네요
소스보기를 하면
<meta http-equiv="content-type" content="text/html; charset=euc-kr"> 에
charset=uft-8 이아닌--> charset=euc-kr 로 나오네요
고수님들의 도움 부탁드립니다.
++++++++ 이하 오류메세지 +++++++++++++
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 38
euc-kr서버에서 utf-8서버로 이전하였는데
utf-8서버에 utf-8버전 다운받아 설치한후 디비지우고
백업한 디비 utf-8로 변환하여 디비업로드하여 설치하였습니다.
그런데 홈페이지상단에 아래와 같은 오류메세지가 나오고 한글이 깨져 나오네요
소스보기를 하면
<meta http-equiv="content-type" content="text/html; charset=euc-kr"> 에
charset=uft-8 이아닌--> charset=euc-kr 로 나오네요
고수님들의 도움 부탁드립니다.
++++++++ 이하 오류메세지 +++++++++++++
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goyanglife/www/extend/.php:5) in /home/hosting_users/goyanglife/www/head.sub.php on line 38
댓글 전체
저도 이런 에러매세지때문에 굉장히 짜증났었습니다.
PHP 구문이 <? 로 시작해서 ?> 로 끝나지요?
저같은경우는 <? 앞에 공백이 있는지. ?> 뒤에 공백이 있는지 찾아야했습니다.
?> 뒤에 공백이 하나있어서 이런 에러가 나더군요..
공백 없애니 됬음.
아마 변환과정에서 공백이나 잡소스가 생겨서 그런에러가 나는거같습니다..
PHP 구문이 <? 로 시작해서 ?> 로 끝나지요?
저같은경우는 <? 앞에 공백이 있는지. ?> 뒤에 공백이 있는지 찾아야했습니다.
?> 뒤에 공백이 하나있어서 이런 에러가 나더군요..
공백 없애니 됬음.
아마 변환과정에서 공백이나 잡소스가 생겨서 그런에러가 나는거같습니다..
config.php에서
$g4['charset'] = "euc-kr";
이걸 찾아서 바꿔주세요.
$g4['charset'] = "euc-kr";
이걸 찾아서 바꿔주세요.
리아링님...말러83님 감사합니다...
두분 덕분에 두가지 모두 해결되었습니다.
감사합니다...^^
두분 덕분에 두가지 모두 해결되었습니다.
감사합니다...^^