cmseasy安装之strict standards错误

解决CMSeasy安装Strict Standards错误

今天准备尝试一下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.youkuaiyun.com/u/20100909/10/ab5f24a8-7ae3-4dc5-a796-b2fdab2016c4.html

转载于:https://www.cnblogs.com/lonelystarxing/archive/2011/07/26/2117246.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值