现在的位置: 首页 > 综合 > 正文

cmseasy安装之strict standards错误

2012年07月01日 ⁄ 综合 ⁄ 共 1885字 ⁄ 字号 评论关闭

简介:这是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

爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

http://biancheng.dnbcw.info/php/341543.html pageNo:6

抱歉!评论已关闭.