2014-11-09 2 views
0

일부 구형 코드 &을 사용하여 PHP 5.5가 설치된 Apache 2.4 서버로 업그레이드했습니다. 레거시 코드의 일부를 실행하면, 별도의 창은 PEAR 오류의 목록을 팝업 :별도의 팝업 창에 PEAR 오류가 발생했습니다.

[2014-11-09 18:04:44](0x800) in C:\php\pear\DB\DataObject.php on line 4672 
Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context 
[2014-11-09 18:04:44](0x800) in C:\php\pear\DB\DataObject.php on line 2455 
Non-static method DB::connect() should not be called statically, assuming $this from incompatible context 
[2014-11-09 18:04:44](0x800) in C:\php\pear\DB\mysql.php on line 48 
Declaration of DB_mysql::quote() should be compatible with DB_common::quote($string = NULL) 

...

어떻게 당신이 해제합니까?

error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT 

하지만 난 PEAR는 그 자체가 오류 수준의이 이미징 :

내 php.ini의 설정은 다음과 같습니다. 나는 그들을 찾을 수없는 것 같습니다. 어떤 아이디어를 볼 것인가?

+0

팝업 창의 제목은 "ErrorHandler Console :"입니다. – Mark

답변

0

분명히 호출되는 errorConf() 함수가 있습니다. (","ErrorHandlerConsole ""... "") window.open; 이것은

function errorConf() { 
    require_once 'common/ErrorHandler.inc'; 
    return new ErrorHandler(); 
} 

이며,이 팝업을 가져오고있다

나는이 함수를 단순히 공백 함수 errorConf() {}로 만들었지 만, 시간이 있다면 더 책임있는 처리를 조사 할 수 있습니다.

이 모든 것을 읽어 주셔서 감사합니다.

관련 문제