Strict Standards: Declaration of Zend_Db_Adapter_Php_Dbphp::update() should be compatible with that of Zend_Db_Adapter_Abstract::update() in C:xampphtdocslessonBookinglibraryendDbAdapterPhpDbphp.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:xampphtdocslessonBookinglibraryendDbAdapterPhpDbphp.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`;
也可在後臺中“全域性設定”->“伺服器”->“錯誤報告”中將其設為“無”即可。