웹마스터 팁
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
제목 | 글쓴이 | 날짜 |
---|---|---|
메인 페이지 수정이 안되는 경우 | nurungso | 2010.11.07 |
페이지 모듈에서 파일 업로드시 살아지는 현상 [1] | 조슈아킴 | 2010.11.02 |
게시판에서는 파일첨부가 되는데 페이지모듈에서 파일첨부가 안 되시는 경우! [1] | sejin7940 | 2010.11.02 |
IE 전용 페이지 전환시 부드럽게 하기 (퍼옴) [2] | 오실롯 | 2010.10.29 |
비밀번호 찾기 기능 조심하세요 [4] | 老姜君 | 2010.10.28 |
DB 용량 확보하기 [6] | 소렌트. | 2010.10.26 |
Mysql에서 큐브리드로 데이터이전 [3] | 카르마 | 2010.10.23 |
큐브리드로 변환후 인덱스 재생성 [1] | 카르마 | 2010.10.22 |
에디터에 웹폰트를 추가하여 사용하기 [3] | 하얌이 | 2010.10.18 |
페이지 설정, 꼭 이렇게 해두세요 [10] | 老姜君 | 2010.10.14 |
플래시를 이용한 최근게시물 구현 [6] | 한그림 | 2010.10.13 |
IE6부터 IE9까지 대응하기. [7] | 정찬명 | 2010.10.13 |
카페24 외부페이지로 트래픽 확인하기 [1] | teryboy | 2010.10.09 |
나눔고딕 웹폰트가 아닌 API로 적용하여 사용해보자!! [10] | 으아악. | 2010.10.07 |
큰 사이즈의 이미지 업로드시 섬네일 생성이 안되어 오류 발생하는 문제 예방법 | 도라란 | 2010.10.05 |
PHP 5.3.X 버전 사용자들 중 XE 최신버전의 위젯 생성, 텍스타일 등에서의 에러날 때... | 비나무 | 2010.10.03 |
IE6~8에서 CSS3속성 사용하기 [1] | SeoSeungHyun | 2010.10.01 |
IE9 작업표시줄 웹 어플리케이션 속성 만들기 [1] | SeoSeungHyun | 2010.09.17 |
제로보드에서 iframe 높이 자동(유동적)조절(파폭,IE, 오페라,사파리,IETester) [11] | hhgyu | 2010.09.17 |
로그인/로그아웃 시 그페이지에 그대로 남아있게하기. [4] | 롤리^^ | 2010.09.16 |