[오류문]-Use of undefined constant mb_id - assumed 'mb_id' in...이런 오류가 뜨는데 해결법?

게시판 스킨을 수정하는 과정에서 List 쪽은 잘되는데
Write페이지를 들어갈 때 나타나는 오류입니다.

/////////////////
2039
Notice: Use of undefined constant mb_id - assumed 'mb_id' in
...../bbs/write.php on line 376

Notice: Use of undefined constant bo_content_tail - assumed 'bo_content_tail' in
.....bbs/board_tail.php on line 5

Notice: Use of undefined constant bo_image_tail - assumed 'bo_image_tail' in
...../bbs/board_tail.php on line 9

Notice: Use of undefined constant bo_include_tail - assumed 'bo_include_tail' in
../bbs/board_tail.php on line 13


/////////

write.php
376줄에는...
if (!$member[mb_id])

board_tail.php

// 게시판 관리의 하단 내용
5줄
if ($board[bo_content_tail])

// 게시판 관리의 하단 이미지 경로
9줄
if ($board[bo_image_tail])
 
// 게시판 관리의 하단 파일 경로
13줄
if ($board[bo_include_tail])

 

[오류문]-Use of undefined constant mb_id - assumed 'mb_id' in...
이런 오류가 뜨는데 해결법 좀 부탁드려요.


 

|

댓글 2개

php.ini 에서 다음과 같이 설정합니다.

error_reporting = E_ALL & ~E_NOTICE



또는 php.ini를 수정하실수 있는 상황이 아닐 경우 상단에 아래의 코드를 넣어주시면 될것 같네요.

error_reporting(E_ALL ^ E_NOTICE);
근본적으로 뭐가 문제가 있어서 페이지에서 쓰기기능이 안돼는지를 알아야하는데요.
오류가 있으면 반드시 그 메시지가 떠주는 게 더 좋은데요.
페이지에 오류메시지가 안뜨는 거 말고 오류가 없도록 고칠 수 있어야 하거든요.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고