본문 바로가기

smells digital

제로보드 : 설치후 에러(timezone, header information)

제로보드 1.3.1.1이 발표되었다.

맥(스노우 레오파드, mysql 5.1, php 5.3.0)에 설치를 하고 어드민으로 들어가니 두 종류의 경고가 나타나고 있다.

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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/Seoul' for 'KST/9.0/no DST' instead in/Users/wannabewize/Sites/ineed_v3/xe_1.3.1.1/modules/admin/admin.admin.view.phpon line 143

첫번째는 timezone에 관련된 문제로 보인다.
해당 소스를 찾아보았다.

// Get statistics
$args->date = date("Ymd000000", time()-60*60*24);
$today = date("Ymd");


두번째 경고이다. 아래와 같은 경고가 약 10개 이내로 연달아 발생한다.

Warning: Cannot modify header information - headers already sent by (output started at /Users/wannabewize/Sites/ineed_v3/xe_1.3.1.1/modules/admin/admin.admin.view.php:143) in/Users/wannabewize/Sites/ineed_v3/xe_1.3.1.1/classes/display/DisplayHandler.class.phpon line 144

Warning: Cannot modify header information - headers already sent by (output started at /Users/wannabewize/Sites/ineed_v3/xe_1.3.1.1/modules/admin/admin.admin.view.php:143) in/Users/wannabewize/Sites/ineed_v3/xe_1.3.1.1/classes/display/DisplayHandler.class.phpon line 423

두번째는 cache관련으로 보이는데, 원인은 무엇일까?










반응형