Php 在单独的弹出窗口中显示错误
我正在使用一些遗留代码&已经用php5.5升级到apache2.4服务器。当一些遗留代码运行时,会弹出一个单独的窗口,其中列出PEAR错误:Php 在单独的弹出窗口中显示错误,php,pear,Php,Pear,我正在使用一些遗留代码&已经用php5.5升级到apache2.4服务器。当一些遗留代码运行时,会弹出一个单独的窗口,其中列出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 incompa
[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)
你怎么关掉这个
我的php.ini设置是:
error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT
但我知道它有自己的错误级别。我就是找不到他们。你知道去哪里找吗?有一个函数errorConf显然正在被调用。这是一个
function errorConf() {
require_once 'common/ErrorHandler.inc';
return new ErrorHandler();
}
正在弹出这个弹出窗口:
window.open,ErrorHandlerConsole
我只是将函数设置为空函数errorConf{},但如果有时间,可能会寻求更负责任的处理
感谢所有花时间阅读这些内容的人。弹出窗口标题为ErrorHandler Console: