cmseasy安装之strict standards错误
简介:这是cmseasy安装之strict standards错误的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。
class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=341543' scrolling='no'>今天准备尝试一下cmseasy,
结果在刚安装的时候就来了个让我纠结的错误,
如下:
Strict Standards: Declaration of announcement::getcols() should be compatible with that of table::getcols() in E:\xampp\htdocs\cmseasy\lib\tool\front_class.php on line 2464
Strict Standards: Declaration of comment::getcols() should be compatible with that of table::getcols() in E:\xampp\htdocs\cmseasy\lib\tool\front_class.php on line 2489
Strict Standards: Declaration of defind::getcols() should be compatible with that of table::getcols() in E:\xampp\htdocs\cmseasy\lib\tool\front_class.php on line 2499
Strict Standards: Declaration of event::getcols() should be compatible with that of table::getcols() in E:\xampp\htdocs\cmseasy\lib\tool\front_class.php on line 2558
Strict Standards: Declaration of friendlink::getcols() should be compatible with that of table::getcols() in E:\xampp\htdocs\cmseasy\lib\tool\front_class.php on line 2569
Strict Standards: Declaration of guestbook::getcols() should be compatible with that of table::getcols() in E:\xampp\htdocs\cmseasy\lib\tool\front_class.php on line 2609
Strict Standards: Declaration of linkword::getcols() should be compatible with that of table::getcols() in E:\xampp\htdocs\cmseasy\lib\tool\front_class.php on line 2623
Strict Standards: Declaration of usergroup::getcols() should be compatible with that of table::getcols() in E:\xampp\htdocs\cmseasy\lib\tool\front_class.php on line 2673
对于安装cmswasy来说,并没有太大的问题,
但这个错误导致的直接结果就是在安装后的页面顶部将这些问题显示出来,
进入后台时,更是漂浮覆盖在页面之上,
对于一个网站这无疑是一个很让人恶心的事情。
在网上查找相关资料,发现很少关于这个问题的解释、介绍,
最后在csdn上发现了一个关于PHP之Strict Standards错误问题,
解决方案如下:
代码一开始加入
ini_set('display_errors', '0'); # don't show any errors...
error_reporting(E_ALL | E_STRICT); # ...but do log them
在此也感谢
- CunningBoy
- (南迁的候鸟)
参考地址:http://topic.csdn.net/u/20100909/10/ab5f24a8-7ae3-4dc5-a796-b2fdab2016c4.html