서버이전후 에러문구 문의드립니다.
웹호스팅을 받다가 독립서버를 신청하여 세팅 후 이전했습니다.
글쓰기 할 때 다음과 같은 에러가 잠깐 보였다 사라지는데요.
설정에 문제가 있는걸까요?
notice:use of undefined constant title -assumed 'title' in /home/hosting_user/111/www/bbs/write_update.php on line 2
nitice : Undefined variable : wr_subject in /home/hosting_user/111/www/bbs/write_update.php on line 2
글쓰기 할 때 다음과 같은 에러가 잠깐 보였다 사라지는데요.
설정에 문제가 있는걸까요?
notice:use of undefined constant title -assumed 'title' in /home/hosting_user/111/www/bbs/write_update.php on line 2
nitice : Undefined variable : wr_subject in /home/hosting_user/111/www/bbs/write_update.php on line 2
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 8개
include_once("./_common.php");
write_update.php 파일에 2번째 라인이 위처럼되어있나요?
$g4[title] = $wr_subject . "글입력";
include_once("./_common.php");
이렇게 되어 있어요.
일단 php.ini를 열어서요
error_reporting= E_ALL; display all errors, warnings and notices
라고 써있는 줄을
error_reporting= E_ALL & ~(E_NOTICE | E_USER_NOTICE ); display all errors, warnings and notices
라고 바꾸시고 아파치나 iis를 재시작해야 하는데 만일 php.ini 바꾸기가 어려우시다면
$g4[title] = $wr_subject . "글입력"; 줄을
include_once("./_common.php"); 이 줄 아래로 내려서 확인해 보시면 될것같습니다.
우선 $g4[title] = $wr_subject . "글입력"; 줄을 아래로 내려서 확인했습니다.