웹마스터 팁
PHP 5.3.X 버전 사용자들 중 XE 최신버전의 위젯 생성, 텍스타일 등에서의 에러날 때...
2010.10.03 14:14
http://www.xpressengine.com/19111170
http://www.xpressengine.com/19131379
처럼...
PHP 5.3.X 버전대의 사용자들 중에서 페이지 수정, 위젯 수정, 위젯 생성, 텍스타일 등에서
Warning: strlen() expects parameter 1 to be string, array given in /home/binamu/public_html/modules/widget/widget.controller.php on line 559 Warning: strlen() expects parameter 1 to be string, array given in /home/binamu/public_html/modules/widget/widget.controller.php on line 559 Warning: strlen() expects parameter 1 to be string, array given in /home/binamu/public_html/modules/widget/widget.controller.php on line 559
등의 에러 메시지나,
Deprecated: Assigning the return value of new by reference is deprecated in /home/binamu/public_html/libs/PEAR/PEAR.php on line 569
Deprecated: Assigning the return value of new by reference is deprecated in /home/binamu/public_html/libs/PEAR/PEAR.php on line 572
Deprecated: Assigning the return value of new by reference is deprecated in /home/binamu/public_html/libs/PEAR/HTTP/Request.php on line 388
Deprecated: Assigning the return value of new by reference is deprecated in /home/binamu/public_html/libs/PEAR/HTTP/Request.php on line 706
Deprecated: Assigning the return value of new by reference is deprecated in /home/binamu/public_html/libs/PEAR/HTTP/Request.php on line 719
Deprecated: Assigning the return value of new by reference is deprecated in /home/binamu/public_html/libs/PEAR/HTTP/Request.php on line 764
Warning: Cannot modify header information - headers already sent by (output started at /home/binamu/public_html/libs/PEAR/PEAR.php:569) in /home/binamu/public_html/classes/display/DisplayHandler.class.php on line 67
Warning: Cannot modify header information - headers already sent by (output started at /home/binamu/public_html/libs/PEAR/PEAR.php:569) in /home/binamu/public_html/classes/display/DisplayHandler.class.php on line 253
등의 에러 메시지를 띄우면서 정상적으로 사용할 수가 없을 때가 있습니다.
이런 에러들은 PHP 5.3.X 버전으로 들어오면서 변경된 부분을 php.ini에 반영하지 못했을 경우 주로 나타나더군요.
http://kr2.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
위 주소로 가시면 영문이긴 하지만 설정법 등이 자세히 소개가 되어 있습니다.
바른 설정을 하면 위의 에러들이 사라지더군요. ^^*
저의 경우에는
error_reporting = E_ALL & ~E_NOTICE
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
html_errors = Off
이 정도만 적용해도 이상이 없이 동작을 하더군요.. ^^*
댓글 0
제목 | 글쓴이 | 날짜 |
---|---|---|
현재 트래픽 출력하기 [1] | 대류 | 2012.01.01 |
Mysql DB사용량 출력하기 [4] | 대류 | 2012.01.01 |
계정(HDD) 사용량 출력하기 | 대류 | 2012.01.01 |
rewrite rule 예외처리하기 [2] | 대류 | 2012.01.01 |
XE에서 Context의 이해 [3] | 우진홈 | 2011.12.28 |
확정변수 로 프린트 페이지 꾸미기(/print_page.html) | 세상의지배자 | 2011.12.26 |
XE 애드온 개발하기 | 우진홈 | 2011.12.24 |
XE 1.5.1 업그레이드시 조심해야 [1] | 소걸음 | 2011.12.23 |
1.5 업데이트후 블로그스킨, 리스트에서 내용출력안되는분 수정방법 [4] | Xiso | 2011.12.23 |
XE 1.5 이상에서 XE 1.4.5.10 이하 버튼 사용하기 [4] [1] | 웹 엔진 | 2011.12.18 |
친절한설명! 자신의홈페이지에 간단히 음악넣기 [10] | 준봉쿠 | 2011.12.18 |
계정 용량 측정 소스 (펌) [1] | rjsoo | 2011.12.16 |
나눔고딕 웹 폰트 적용하기. [10] | 정찬명 | 2011.12.15 |
제로보드 xe 쇼핑몰 오늘본 상품 퀵메뉴 만드는 법 알려주세요 | 유유히 | 2011.12.15 |
코어 1.5.1에서 회원목록에 성별아이콘 쓰기(수정) | 늘푸른이 | 2011.12.10 |
코어 1.5.1에서 회원정보에 성별아이콘 쓰기 | 늘푸른이 | 2011.12.10 |
XE관리자 메뉴 활용 방법 ^^ [24] | 똥똥 | 2011.12.09 |
스크립트파일(js)을 하단부에서 불러오게 하기 [1] | Treasurej | 2011.12.09 |
1.5.1에서 파일업로드가 안 되는 분 보세요. [12] | 별님왕자 | 2011.12.07 |
1.5.1 가입 후 이동 페이지 버그 해결법 [2] | AinSoff | 2011.12.06 |