[英]Dokeos warning: Strict Standards
When installing dokeos 2.1 into htdocs, it shows warnings like these: 将dokeos 2.1安装到htdocs中时,它会显示以下警告:
Strict Standards: Declaration of SortableTableFromArray::get_table_data() should be compatible with that of SortableTable::get_table_data() in ...\dokeos\main\inc\lib\sortabletable.class.php on line 989
Strict Standards: Declaration of SortableTableFromArrayConfig::get_table_data() should be compatible with that of SortableTable::get_table_data() in ...\dokeos\main\inc\lib\sortabletable.class.php on line 1032
and about ten same warnings like this: 以及大约十个类似的警告:
Strict Standards: Only variables should be passed by reference in ...\dokeos\main\inc\lib\internationalization.lib.php on line 203
How to solve this? 如何解决呢?
If you have access to php.ini check if error_reporting
option includes E_STRICT error level. 如果您有权访问php.ini,请检查
error_reporting
选项是否包含E_STRICT错误级别。 If so, remove it. 如果是这样,请将其删除。 If you don't have access to php.ini add
error_reporting(error_reporting() & ~E_STRICT);
如果您无权访问php.ini,请添加
error_reporting(error_reporting() & ~E_STRICT);
in your application code (ex. main PHP entry file). 在您的应用程序代码中(例如主PHP入口文件)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.