ecmall支持php5.3,在PHP5.3以上版本运行ecshop和ecmall出现的问题及解决方案
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 31Strict 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 22Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\ecmall\eccore\controller\app.base.php on line 141Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\ecmall\includes\ecapp.base.php on line 143Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\ecmall\includes\ecapp.base.php on line 149Strict Standards: Declaration of FrontendApp::jslang() should be compatible with ECBaseApp::jslang($lang) in D:\wamp\www\ecmall\app\frontend.base.php on line 365Strict 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 重启服务
===========================================================
后台:http://localhost/ecshop/admin
=============================================
1.
Fatal error: Call to undefined function curl_init() in........这种错误提示的解决办法!
别急!首先得声明,这是因为php的扩张函数没有启动,一样重新启动我们wamp
amp
================================================================
原文:http://www.cnblogs.com/vip-deng-vip/p/7536137.html
ecmall支持php5.3,在PHP5.3以上版本运行ecshop和ecmall出现的问题及解决方案相关推荐
- php5.6 ecshop,PHP 5.6以上版本运行 ecshop不兼容问题解决方案
在安装完php在本地服务器上后, 发现在静态网页上出现了很多 error. 在查找相关资料过后发现,大部分问题是因为 PHP发展到PHP5.5版本以后,有了很多细微的变化.而ecshop官方更新又太慢 ...
- ecmall支持php5.3,ecmall 兼容 php5.5以上版本
在PHP5.3以上版本運行ecshop和ecmall出現的問題及解決方案 ecshop 問題一:商城首頁報錯 Strict Standards: Only variables should be pa ...
- 【PHP发展史】PHP5.2 到 PHP5.6 中新增的功能详解
为什么80%的码农都做不了架构师?>>> 截至目前(2014.2), PHP 的最新稳定版本是 PHP5.5, 但有差不多一半的用户仍在使用已经不在维护的 PHP5.2, 其余 ...
- php-5.6配置,PHP5.6+apache2.4环境配置
PHP环境配置比较复杂,缺少了任何一项可能都不能保证环境的正常运转,我是配置了好久才搞定.网上的很多教程是有问题的,坑很多,所以我自己尝试着写一个. 事先声明,这个环境配置是在windows下的php ...
- Windows XP安装Python,最高支持到3.4.4,后续版本不支持
Windows XP 安装Python3.4.4,xp最高支持到3.4.4,后续版本不支持. Python3.4.4下载地址:https://www.python.org/ftp/python/3.4 ...
- 黑苹果NVIDIA显卡驱动程序【WebDriver-378.05.05.25f16 +支持 macOS 10.12.6 Sierra (16G2016)版本】
黑苹果NVIDIA显卡驱动程序 [WebDriver-378.05.05.25f16 +支持 macOS 10.12.6 Sierra (16G2016)版本] 驱动下载:点击下载
- 黑苹果NVIDIA显卡驱动程序【 WebDriver-378.05.05.25f01+支持 macOS 10.12.6 Sierra (16G29)版本】
黑苹果NVIDIA显卡驱动程序 [ WebDriver-378.05.05.25f01+支持 macOS 10.12.6 Sierra (16G29)版本] 驱动下载:http://www.5yao. ...
- 黑苹果NVIDIA显卡驱动程序【WebDriver-367.15.10.15f03 +支持macOS 10.12.1 Sierra (16B2657)版本】
黑苹果NVIDIA显卡驱动程序[WebDriver-367.15.10.15f03 +支持macOS 10.12.1 Sierra (16B2657)版本] 驱动程序下载:点击打开
- 黑苹果NVIDIA显卡驱动程序【 WebDriver-378.05.05.15f01+支持macOS 10.12.4 Sierra (16E195)版本】
黑苹果NVIDIA显卡驱动程序[ WebDriver-378.05.05.15f01+支持macOS 10.12.4 Sierra (16E195)版本]下载地址:http://www.5yao.vi ...
最新文章
- 小扎的野心不止做社交 市政厅的上线说明了这一点
- 以太网未识别的网络win10_工业以太网典型应用、常见故障、冗余网络技术及实例...
- FaceL:一个靠谱的开源人脸标注训练识别程序
- python网络爬虫入门小程序_Python 实现网络爬虫小程序
- mybatisplus page排序_MyBatisPlus分页的同时指定排序规则说明
- MCP2515在8M晶振控制器下配置1M波特率的配置
- 缓冲电路/延时上电电路
- linux中etc目录的作用,/etc 目录的作用到底是干什么用的?
- 火狐Android 附加组件,Firefox Nightly 隐藏新功能,让 Android 机用上任意桌面端附加组件...
- 循环语句—do…while循环
- JS类教程 Lynda中文
- 思科网络安全 第四章考试答案
- 菜鸟学习OGRE和天龙八部之三: GridInfo和HeightMap文件的数据格式(已更正)
- 记微服务架构实战学习笔记
- Mogafx美元重新主导
- 服务器信息备份更新,电子病历服务器双机更换及实时备份与HIS服务器升级改造合同备案...
- OneApiConnect(二)三菱MC通讯协议源代码,高效稳定
- [蓝牙]蓝牙的初步简介与应用 及其技术要点--更新中
- C语言宏定义中的字符串替换
- 云里黑白第二十回——本游戏需要Windows10 1909版(组建) 18363或更新版本系统
热门文章
- 正则中除了空格还有什么标识间距
- 爬虫 spider10——搭建elk平台,开发服务提供者
- 【Java多线程】并发时的线程安全:快乐影院示例
- 在web前端调用后台java程序(java类)的方式
- dart系列之:元世界pubspec.yaml文件详解
- Java中IO和NIO的本质和区别
- C++ 深复制与浅复制 RVO问题
- Python网络爬虫从入门到实践 -- chapter 1 -- 网络爬虫入门
- 给我往死里贪!——24行代码AC_今年暑假不AC HDU - 2037(贪心模板讲解)
- mysql文档批处理去重_数据导入经验总结