php教程|php手册
PHP5.3,以上,版本,运行,ecshop,ecmall,
php教程-php手册
频谱播放器源码,uniapp用vscode,ubuntu多大内存合适,tomcat 调试窗口,sqlite可以打包么,jquery附件上传插件下载,前端开发所用的框架,python 复杂表格爬虫,php 周时间,seo文章规范,内部优惠券网站程序,javascript 复制网页,discuz艺佰设计模板,微信产品展示页面,安卓管理系统源码jsp,小程序 开源 外卖lzw
ecshop 问题一:商城首页报错 Strict Standards: Only variables should be passed by reference in D:\wamp\ecshop\includes\cls_template.php on line 422 解决方法: 找到提示错误的文件cls_template.php 及行号 把 $tag_sel = array_shift(explode(‘ ‘,
微信精彩互换源码,vscode生成序号,ubuntu 启动器设置,Tomcat涵义,sqlite增长主键,云服务器外网访问设置,国外jquery折线图插件,jquery等前端框架,百合网 爬虫,php 上传,站内seo怎么做,微交易网站源码,canvas 网页动画 工具,html5 聊天模板,手机app登陆注册页面模板下载不了,php代理商管理系统,vb程序代码lzw
交友app源码诱导,Ubuntu 分区设置规则,怎么找tomcat的路径,爬虫怎么建,php实验设计心得,贵溪seolzw
ecshop
问题一:商城首页报错 Strict Standards: Only variables should be passed by reference in D:\wamp\ecshop\includes\cls_template.php on line 422
解决方法:
找到提示错误的文件 cls_template.php 及行号
把 $tag_sel = array_shift(explode(‘ ‘, $tag));
改成:
$tag_arr = explode(‘ ‘, $tag);
$tag_sel = array_shift($tag_arr);
并且删除 D:\wamp\www\ecshop\temp\caches下所有的文件
问题二:后台首页报错 Strict Standards: Non-static method cls_image::gd_version() should not be called statically in D:\wamp\www\ecshop\includes\lib_base.php on line 346
解决办法
找到D:\wamp\www\ecshop\includes\cls_image.php文件
搜索 function gd_version 改成 static function gd_version
问题三:后台-商店设置
Strict Standards: mktime(): You should be using the time() function instead in D:\wamp\www\ecshop\admin\sms_url.php on line 31
Strict Standards: mktime(): You should be using the time() function instead in D:\wamp\www\ecshop\admin\shop_config.php on line 32
解决办法
根据错误提示 把 mktime() 改成 time()
—————————————————————————————————————————————————————————-
ecmall
问题描述:打开商城首页及后台出现乱码及以下一系列的错误信息
Strict Standards: Non-static method ECMall::startup() should not be called statically in D:\wamp\www\ecmall\index.php on line 22
Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\ecmall\eccore\controller\app.base.php on line 141
Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\ecmall\includes\ecapp.base.php on line 143
Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\ecmall\includes\ecapp.base.php on line 149
Strict Standards: Declaration of FrontendApp::jslang() should be compatible with ECBaseApp::jslang($lang) in D:\wamp\www\ecmall\app\frontend.base.php on line 365
Strict Standards: Declaration of Message::display() should be compatible with FrontendApp::display($tpl) in D:\wamp\www\ecmall\eccore\controller\message.base.php on line 332
Strict Standards: Non-static method Conf::get() should not be called statically, assuming $this from incompatible context inD:\wamp\www\ecmall\app\frontend.base.phpon line 446
解决办法
到ecmall安装目录下 找到 ecmall/eccore/ecmall.php
把 function get( 改成 static function get(
把 function startup( 给成 static function startup(
到php安装目录下找到php.ini 把 error_reporting = E_ALL 改成 error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT 重启服务
欢迎加入web前端交流群(75701468) 分享您我的经验,相互交流,共享资源。