오류가 나네요 한번 봐주세요

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for '9.0/no DST' instead in C:\Inetpub\wwwroot\bbsins\config.php on line 26

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for '9.0/no DST' instead in C:\Inetpub\wwwroot\bbsins\config.php on line 27

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for '9.0/no DST' instead in C:\Inetpub\wwwroot\bbsins\config.php on line 28

아래는 소스입니다.
$g4['time_ymd'] = date("Y-m-d", $g4['server_time']);
$g4['time_his'] = date("H:i:s", $g4['server_time']);
$g4['time_ymdhis'] = date("Y-m-d H:i:s", $g4['server_time']);

오류메세지가 이렇게 뜹니다.
그래서 해당 소스를 사용금지로 하면 설치까지는 됩니다.
관리자로 들어가지 못할뿐 ㅜㅜ
특히
Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for '9.0/no DST' instead in
이거는 회원가입신청부분에서도 나오더라구요..
시간(날짜)과 관련된것은 무조건 나오더라구요.
고수님들에게 부탁드립니다.
해결할 수 있는 방법을 알려주세요.
급합니다. 그럼 수고하시고요 좋은 하루 되세요...ㅜㅜ
환경은 iis6.0+php6.0+mysql6.0 버전을 사용중입니다
|

댓글 2개

$g4['time_ymd'] = date("Y-m-d", $g4['server_time']);
위에
date_default_timezone_set('Asia/Seoul');
를 추가해 보세요.
감사합니다 해결되었습니다. 또 다른 문제가 생기면 도와주세요..^^
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
17년 전 조회 785
17년 전 조회 769
17년 전 조회 984
17년 전 조회 767
17년 전 조회 574
17년 전 조회 605
17년 전 조회 951
17년 전 조회 754
17년 전 조회 838
17년 전 조회 1,539
17년 전 조회 774
17년 전 조회 981
17년 전 조회 1,474
17년 전 조회 966
17년 전 조회 1,572
17년 전 조회 947
17년 전 조회 904
17년 전 조회 970
17년 전 조회 941
17년 전 조회 997