2014年7月1日

ECSHOP错误Redefining already defined constructor for class如何解决

摘要: 本地PHP环境PHP5.4,安装ecshop2.7.3后,很多地方会报如下的错Redefining already defined constructor for class XXX使用和类名相同点函数名作为构造函数是php4时代的写法,php5时代的构造函数是 __construct(),ecsh... 阅读全文

posted @ 2014-07-01 15:29 跌名 阅读(3256) 评论(0) 推荐(0)

php报警:Strict Standards: Only variables should be passed by reference in

摘要: 错误原因因为end函数的原因。end函数: mixed end ( array &$array )你可以看到end的参数是一个引用(reference),而你只能把一个变量的引用作为一个参数传给函数,而你直接把explode('.',$name)作为参数传给end函数,所以才有这个提示。你可以这样... 阅读全文

posted @ 2014-07-01 15:24 跌名 阅读(424) 评论(0) 推荐(0)

Ecshop安装过程中的的问题:cls_image::gd_version()和不支持JPEG

摘要: 在安装Ecshop的时候,遇到两个问题: 1.Strict Standards: Non-static method cls_image::gd_version() should not be called statically inD:\X\www\ecshop\install\includes... 阅读全文

posted @ 2014-07-01 15:13 跌名 阅读(270) 评论(1) 推荐(0)

导航