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

· 2008-05-22 (목) 11:06:51 · 1581 · 2
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :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개

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

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
08-05-22 조회 802
08-05-22 조회 887
08-05-22 조회 1,582
08-05-22 조회 817
08-05-22 조회 1,031
08-05-22 조회 1,524
08-05-22 조회 1,015
08-05-22 조회 1,628
08-05-22 조회 993
08-05-21 조회 958
08-05-21 조회 1,025
08-05-21 조회 995
08-05-21 조회 1,055
08-05-21 조회 809
08-05-21 조회 1,012
08-05-21 조회 1,060
08-05-21 조회 1,597
08-05-21 조회 872
08-05-21 조회 1,022
08-05-21 조회 808