거

관리자외의 회원이 로그인하면 오류가 뜹니다.

 
최고관리자 이하의 회원들이 로그인을 하면은 인덱스에선 문제가 없는데 게시판에 들어가면 윗부분에 아래와 같은 코드가 뜹니다.
 
Warning: in_array(): Wrong datatype for second argument in /home/****/www/2006/bbs/lib/common.lib.php on line 677

Warning: Cannot modify header information - headers already sent by (output started at /home/****/www/2006/bbs/lib/common.lib.php:677) in /home/****/www/2006/bbs/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/****/www/2006/bbs/lib/common.lib.php:677) in /home/****/www/2006/bbs/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/****/www/2006/bbs/lib/common.lib.php:677) in /home/****/www/2006/bbs/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/****/www/2006/bbs/lib/common.lib.php:677) in /home/****/www/2006/bbs/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/****/www/2006/bbs/lib/common.lib.php:677) in /home/****/www/2006/bbs/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/****/www/2006/bbs/lib/common.lib.php:677) in /home/****/www/2006/bbs/head.sub.php on line 38
 

Warning: in_array(): Wrong datatype for second argument in /home/****/www/2006/bbs/bbs/list.php on line 49
 
 
 

이게 무슨 문제인가요?
속시원한 답변 부탁드릴게요..

댓글 6개

게시판 스킨이 기본인가요? 아니면 특정 스킨을 사용하셨나요?
스킨에 관계없이 다 뜹니다. cheditor랑 movie,gallery_list,page_html등의 스킨을 골고루 쓰고있습니다.ㅜㅜ
lib/common.lib.php파일을 보니 이부분이네요.뭔가 틀린부분이 있나요?

// 관리자인가?
function is_admin($mb_id)
{
global $config, $group, $board;

if (!$mb_id) return;

if ($config['cf_admin'] == $mb_id) return 'super';
if ($group['gr_admin'] == $mb_id) return 'group';
if ($board[bo_table] != "")
if (in_array($mb_id, $board[bo_admin_arr])) return 'board'; <---이부분이 677부분
return '';
}
게시판관리자 여럿으로 하기 팁을 적용하셨네요~~~
예전에 무슨 기능때문인지 팁에서 뭘 보고 이부분 수정했던거 같은데...왜였는지도 기억이 안나서 맘대로 바꾸지도 못하겠네요...ㅠㅠ
그 팁에 문제가 있나요? 왜 이런 오류가 생기는거죠?확인해봤는데 하라는대로 다 했거든요
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
06-08-23 조회 1,327
06-08-23 조회 1,416
06-08-23 조회 1,251
06-08-23 조회 1,414
06-08-23 조회 1,643
현현호
06-08-23 조회 1,545
06-08-23 조회 1,510
06-08-23 조회 1,681
06-08-23 조회 1,775
06-08-23 조회 1,614
06-08-23 조회 1,109
06-08-23 조회 1,489
06-08-23 조회 1,663
06-08-23 조회 1,728
06-08-23 조회 1,579
06-08-22 조회 1,731
06-08-22 조회 1,613
06-08-22 조회 1,512
06-08-22 조회 1,155
06-08-22 조회 1,181