php专区

 首页 > php专区 > PHP应用 > CMS建站 > ecshop提示Strict Standards: Non-static method cls_image::gd_ve

ecshop提示Strict Standards: Non-static method cls_image::gd_ve

分享到:
【字体:
导读:
          下面我们一起来看在使用ecshop提示Strict Standards:Non-static method cls_image::gd_version() should not be called statically错误问题解决办法吧。 在使用ecshop时提示: Strict Standards: Non-static method cls_image::g...

下面我们一起来看在使用ecshop提示Strict Standards:Non-static method cls_image::gd_version() should not be called statically错误问题解决办法吧。

在使用ecshop时提示:

Strict Standards: Non-static method cls_image::gd_version() should not be called statically in E:/wwwroot/weirenchou/includes/lib_base.php on line 346

这个错误,搜索问题原来是php版本的问题,我是用的php5.4版本的,解决办法如下:

找到346行把:

return cls_image::gd_version()

替换成:

  1. $p = new cls_image(); 
  2. //开源软件:phpfensi.com 
  3. return $p->gd_version(); 

这样就行了,由于php版本不同导致的问题.

分享到:
ecshop提示Strict Standards: Only varia...
文章给大家介绍在使用ecshop时提示Strict Standards: Only variables should be passed by reference in错误问题解决办法。 ecshop提示Strict Standards:Only variables should be passed by reference in E:/Tools/ECShop_V2.7.3_UTF8_release1106/upload/includes/cls_template.php on line 418 这个错误,搜...
怎么去掉Ecshop首页和LOGO链接的index.ph...
怎么去掉Ecshop首页和LOGO链接的index.php 一:如何去掉ecshop中logo的index.php地址,logo上的地址带着域名+index.php想去掉它如何去掉. 官方默认模板的LOGO,加了链接,可以这样去掉: 打开 /themes/default/library/page_header.lbi文件,将如下代码:   修改为:   如果你用的不是官方默...
  •         php迷,一个php技术的分享社区,专属您自己的技术摘抄本、收藏夹。
  • 在这里……