php专区

 首页 > php专区 > PHP应用 > CMS建站 > 配置ecshop 后台管理报错 - ecshop

配置ecshop 后台管理报错 - ecshop

分享到:
【字体:
导读:
          安装好后出现问题如下:Strict standards: Only variables should be passed by reference in includes lib_main php on line 1329解决方法:将语句 $ext = end(explode( 39; 39...

配置ecshop 后台管理报错

安装好后出现问题如下:Strict standards: Only variables should be passed by reference in includeslib_main.php on line 1329

解决方法:

将语句 $ext = end(explode('.', $tmp)); 修改为:

$ext = explode('.',$tmp);

$ext = end($ext);

Strict standards: Only variables should be passed by reference in includescls_template.php on line 418

解决方法如下:

tag_sel = array_shift(explode(' ', $tag)); 

修改为:

$tag_arr = explode(' ', $tag); $tag_sel = array_shift($tag_arr);

这是因为php版本高了之后,方法只支持传递变量.

分享到:
ecshop判断ipad自动访问wap版 - ecshop
ecshop判断ipad自动访问wap版 ecshop有一个mobile目录,里面的文件是开启手机访问时的界面效果文件,它的访问端判断是写在index.php中: $uachar = "/(nokia|sony|ericsson|mot|samsung|sgh|lg|philips|panasonic|alcatel|lenovo|cldc|midp|mobile)/i";  if(($ua == '' ...
ecshop getRow getAll getOne 返回值的区...
ecshop getRow getAll getOne 返回值的区别 $db->getAll($sql)  返回查询数据表中所有结果,形式是一个二维关联数组,如果把结果赋值给smarty 非常方便通过循环在模板里面引用. $db->getOne($sql)  返回查询的第一个字段 比如: $sql ="select count(*) from ecs_goods "; $count = $db-...
  •         php迷,一个php技术的分享社区,专属您自己的技术摘抄本、收藏夹。
  • 在这里……