서버 이전 후 에러문구와 관리자 로그인이 되질 않습니다. 정보
서버 이전 후 에러문구와 관리자 로그인이 되질 않습니다.본문
서버 이전 후
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/lib/common.lib.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/lib/common.lib.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/lib/common.lib.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 38
이런 에러문구가 떠서, 서버 이전한 계정 회사에 문의했더니 임시방편으로
저 위에 나온 php파일 라인 앞에 함수를 무시하는 소스를 써주었다고 하는데요ㅠ.ㅠ
저런 오류가 어떻게 난 건지 궁금합니다.
그리고 관리자 로그인을 하려고 아이디와 비밀번호를 쓰면
맞게 썼는데도 다시 '로그인을 해주세요' 라는 확인 창이 뜨면서 제대로 로그인이 되질 않습니다ㅠ_ㅠ
물론 회원 아이디들도 로그인이 안되구요ㅠㅠ 어떻게 고쳐야 하나요?
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/lib/common.lib.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/lib/common.lib.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/lib/common.lib.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /free/home/lsungchon/html/gnuboard4/lib/common.lib.php:1) in /free/home/lsungchon/html/gnuboard4/head.sub.php on line 38
이런 에러문구가 떠서, 서버 이전한 계정 회사에 문의했더니 임시방편으로
저 위에 나온 php파일 라인 앞에 함수를 무시하는 소스를 써주었다고 하는데요ㅠ.ㅠ
저런 오류가 어떻게 난 건지 궁금합니다.
그리고 관리자 로그인을 하려고 아이디와 비밀번호를 쓰면
맞게 썼는데도 다시 '로그인을 해주세요' 라는 확인 창이 뜨면서 제대로 로그인이 되질 않습니다ㅠ_ㅠ
물론 회원 아이디들도 로그인이 안되구요ㅠㅠ 어떻게 고쳐야 하나요?
댓글 전체
해당오류소스를보여주셔야 답변이 가능 합니다.
* gnuboard4/lib/common.lib.php on line 98
setcookie(md5($cookie_name), base64_encode($value), $g4[server_time] + $expire, '/', $g4[cookie_domain]);
* html/gnuboard4/head.sub.php on line 32 ~ 38
@header("Content-Type: text/html; charset=$g4[charset]");
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
@header("Expires: 0"); // rfc2616 - Section 14.21
@header("Last-Modified: " . $gmnow);
@header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
@header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
@header("Pragma: no-cache"); // HTTP/1.0
이런 소스입니다ㅠㅠ
setcookie(md5($cookie_name), base64_encode($value), $g4[server_time] + $expire, '/', $g4[cookie_domain]);
* html/gnuboard4/head.sub.php on line 32 ~ 38
@header("Content-Type: text/html; charset=$g4[charset]");
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
@header("Expires: 0"); // rfc2616 - Section 14.21
@header("Last-Modified: " . $gmnow);
@header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
@header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
@header("Pragma: no-cache"); // HTTP/1.0
이런 소스입니다ㅠㅠ
주석처리해보시겠어요?? 저도이런오류가 났었을때 주석처리하니 해결됐던 경험이있는데 ㅎㅎ
아 지금 주석처리해서 저것들이 안보이긴 하는데ㅠㅠ 주석처리 해도 되는 소스인건가요?
그건 모릅니다 하하.. 나중에 문제되면 원본이랑 비교해서 해당소스추가해주세요 ㅎㅎ
백업 하신후문제되면 ㅎㅎ
백업 하신후문제되면 ㅎㅎ
setcookie(md5($cookie_name), base64_encode($value), $g4[server_time] + $expire, '/', $g4[cookie_domain]);
주석처리하면, 로그인 안됩니다..ㅡㅡ
gnuboard4/lib/common.lib.php에 공백 체크 하세요.
주석처리하면, 로그인 안됩니다..ㅡㅡ
gnuboard4/lib/common.lib.php에 공백 체크 하세요.