2011-07-21 15:10
should be compatible with that of
Strict Standards: Declaration of Zend_Db_Adapter_Php_Dbphp::insert() should be compatible with that of Zend_Db_Adapter_Abstract::insert() in C:\xampp\htdocs\lessonBooking\library\Zend\Db\Adapter\Php\Dbphp.php on line 584
Strict Standards: Declaration of Zend_Db_Adapter_Php_Dbphp::update() should be compatible with that of Zend_Db_Adapter_Abstract::update() in C:\xampp\htdocs\lessonBooking\library\Zend\Db\Adapter\Php\Dbphp.php on line 584
Strict Standards: Declaration of Zend_Db_Adapter_Php_Dbphp::update() should be compatible with that of Zend_Db_Adapter_Abstract::update() in C:\xampp\htdocs\lessonBooking\library\Zend\Db\Adapter\Php\Dbphp.php on line 584
Strict Standards: Declaration of Zend_Db_Adapter_Php_Dbphp::delete() should be compatible with that of Zend_Db_Adapter_Abstract::delete() in C:\xampp\htdocs\lessonBooking\library\Zend\Db\Adapter\Php\Dbphp.php on line 584
确切的讲,这不属于错误。这仅仅是因为实现的接口接收的参数跟原接口定义的有所不同而已。可关掉错误显示屏闭掉这些提示。
error_reporting(0);
PHP的Strict Standards错误
Strict Standards: Declaration of YtUtils::resize() should be compatible with that of YTools::resize()
这种错误在php开发中很常见,可以在根目录里的configuration.php的public $error_reporting = 'development';中将其改为public $error_reporting = '7';
也可在后台中“全局设置”->“服务器”->“错误报告”中将其设为“无”即可。