웹마스터 팁
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 [11] | 꼬토 | 2002.11.21 |
ab 를 이용한 간편한 아파치 성능 측정 [2] | 정인배 | 2002.11.15 |
윈xp pro 를 net 서버로 바꾸기 [7] | 정회철 | 2002.11.13 |
사용자 자동 등록 쉘스크립트 [1] | 편리 | 2002.11.05 |
OpenBSD3.2 설치가이드 - 완결 [3] | pravda | 2002.11.02 |
[Apache] 윈도우 NT 계열에 서비스 등록하기 [1] | 스카이 | 2002.09.08 |
웹호스팅의 꽃 A.P.M.~ 을 알아보자! (1부) [9] | 임현 | 2002.08.25 |
http://도메인/~아이디 를 http://도메인/아이디 로 ^^ [11] | 임현 | 2002.07.31 |
오랜만에 올리는 팁이군요. - 웹호스팅 쉽게해보기! - [8] | 임현 | 2002.07.28 |
특정 파일(ex: mp3,avi,mpg)만 찾아서 자동으로 삭제하기! | 임현 | 2002.06.27 |
Mysql 데이타베이스 백업및 복구(2)... [5] | 이휘은 | 2002.06.22 |
간단팁 서버 Info! [4] | 임현 | 2002.06.21 |
하드디스크의 모든성능을 써버리자! [4] | 임현 | 2002.06.14 |
[알아서 나쁠것없는 10원짜리 팁!] 수십 수백명사용자의 일괄생성 방법! [6] | 임현 | 2002.05.09 |
Apache2.0.35 + php4.3.0-devel 설치하기;; [15] | Cksoft | 2002.04.08 |
리눅스 아주 간단한 사용자 계정 주기-_- [7] | i- | 2002.03.12 |
근사모의 APM_steup3설치 법 [5] | 뽀유★ | 2002.03.01 |
아파치 가상 유저 설정하기 [6] | i- | 2002.02.24 |
에러페이지를 서버관리자가 지정한 페이지로. [1] | teenteenv | 2002.02.21 |
[APM자동설치] APM_Setup 3 ( Apache, PHP4, MySQL, Perl, Tomcat ) [6] | 근땅e | 2002.02.06 |