安装Ecshop首页出现报错:Only variables should be passed by referen
最近想安装一个ECSHOP商城上去,老是报错,出现下面这就话:
Strict Standards: Only variables should be passed by reference in D:\**\includes\cls_template.php on line 406 第406行:$tag_sel = array_shift(explode(‘ ‘, $tag));
解决办法 1 5.3以上版本的问题,应该也和配置有关 只要406行把这一句拆成两句就没有问题了
$tag_...
2014年04月14日灵犀一指安装Ecshop首页出现报错:Only variables should be passed by referen已关闭评论
喜欢
0 阅读 1,582 人 次阅读全文
环境php5.4
ecshop版本2.7.3
进入ecshop管理后台提示“ Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /includes/lib_base.php on line 346”
找到includes/cls_image.php中的678行,发现gd_version()方法未声明静态static。
将function gd_version()改成static function gd_version()即可。
刷新页面 错误提示无
2014年04月14日灵犀一指ecshop管理后台提示“ Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /includes/lib_base.php on line 346”已关闭评论
喜欢
0 阅读 6,121 人 次阅读全文
1.Strict Standards: Non-static method cls_image::gd_version() should not be called statically in D:\X\www\ecshop\install\includes\lib_installer.php on line 31
解决:找到install/includes/lib_installer.php中的第31行 return cls_image::gd_version();然后在找到include/cls_image.php中的678行,发现gd_version()方 法未声明静态static,所以会出错。这时候只要:
1)将function gd_version...