您现在的位置是:首页 > cms教程 > Ecshop商城教程Ecshop商城教程
ecshop安装报错的解决方法
郎朝剑2025-01-21Ecshop商城教程已有人查阅
导读版本: ecmoban_V2.7.3_UTF8_20150623一。 给 C:\Windows\temp目录增加 IIS_Users 完全权限。二。安装报错:Warning: date_default_timezone_get(): It is not safe to rel
版本: ecmoban_V2.7.3_UTF8_20150623
一、给 C:\Windows\temp目录增加 IIS_Users 完全权限。
二、
安装报错:
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\web\yude\emoban.huanbaobk.com\install\includes\lib_installer.php on line 223 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\web\yude\emoban.huanbaobk.com\install\includes\lib_installer.php on line 223
解决方法:
去掉 “date.timezone = ”这行前面的注释,改为 date.timezone = utc
修改后重启IIS,问题解决。
三、安装时提示数据库连接失败。
在确认在服务器上开通的mysql账号密码没问题后,做如下检查:
1. 在服务器上启动DOS窗口,输入:mysql -u root -p,输入密码后登录。
2. use mysql;
3.
再次执行ECSHOP安装程序,安装成功。
一、给 C:\Windows\temp目录增加 IIS_Users 完全权限。
二、
安装报错:
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\web\yude\emoban.huanbaobk.com\install\includes\lib_installer.php on line 223 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\web\yude\emoban.huanbaobk.com\install\includes\lib_installer.php on line 223
解决方法:
去掉 “date.timezone = ”这行前面的注释,改为 date.timezone = utc
修改后重启IIS,问题解决。
三、安装时提示数据库连接失败。
在确认在服务器上开通的mysql账号密码没问题后,做如下检查:
1. 在服务器上启动DOS窗口,输入:mysql -u root -p,输入密码后登录。
2. use mysql;
3.
select user,password,host from user;
mysql> select user,password,host from user;
+--------+-------------------------------------------+-----------+
| user | password | host |
+--------+-------------------------------------------+-----------+
| root | *93374C5CE*A6D89AF889AA9F6E971A46525113AB0F | localhost |
| emoban | *3A65B1929D6E018D*D1090F9241A57D149F4E5FA0F | % |
| root | *93374C5CEA6D89AF889AA9F6E971A45625*113AB0F | % |
+--------+-------------------------------------------+-----------+
3
rows in set (0.00 sec)
mysql> grant all privileges on *.* to root@"181.253.245.186" identified by "rootpass";
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
再次查询:
mysql> select user,password,host from user;
+--------+-------------------------------------------+-----------------+
| user | password | host |
+--------+-------------------------------------------+-----------------+
| root | *93374C5CEA6D89AF889AA9F6E971A4625113AB0F | localhost |
| emoban | *3A65B1929D6E018DD1090F9241A7D149F4E5FA0F | % |
| root | *93374C5CEA6D89AF889AA9F6E971A4625113AB0F | % |
| root | *93374C5CEA6D89AF889AA9F6E971A4625113AB0F | 181.253.245.186 |
+--------+-------------------------------------------+-----------------+
4 rows in set (0.00 sec)再次执行ECSHOP安装程序,安装成功。
本文标签:
很赞哦! ()
上一篇:ecshop小起订量的设置方法
下一篇:ecshop模板原理分析
相关教程
图文教程
ecshop商品列表显示对应商品评论管理功能
ECSHOP后台商品列表显示对应商品评论管理功能二次开发:admin/template/goods_list.htm中找到
ecshop的lang语言包使用方法介绍
ecshop目录下的languages目录.这个是ecshop语言包所在。ecshop默认的中文简体是zh_cn目录.语言包的载入过程都是 通过ecshop的init.php中的require(ROOT_PATH . ‘languages/
ecshop商品分类调用当前分类或下级商品分类函数代码示例
很多时候我们在修改ECSHOP模版的时候可能需要在商品分类页或商品详细页里面只显示当前分类及其子分类,如果没有子分类就显示当前分类和上级分类,尤其在商品分
ecshop订单列表订单状态介绍
订单列表主要是将 ECShop 商城系统里的用户的所有订单进行的排列订单列表主要把订单里的一些信息进行表格化的罗列
相关源码
-
手机软件APP游戏软件下载网站Pbootcms模板(自适应)基于PbootCMS内核深度开发的网站模板,为移动互联网时代打造。无论是手机APP推广、游戏软件展示,还是各类企业官网需求,本模板都能通过简单的图文替换实现行业无缝切换查看源码 -
(自适应)电梯扶梯升降梯行业pbootcms企业网站模板(自适应手机版)响应式电梯扶梯类pbootcms模板 电梯生产企业绿色企业网站源码下载PbootCMS内核开发的网站模板,该模板适用于电梯、扶梯类等企业,查看源码 -
(自适应)宽屏农业机械农耕设备类网站pbootcms模板免费下载为农机企业打造的现代化响应式网站模板,自动适配电脑、平板和手机,浏览体验一致,独立页面SEO设置,提升搜索引擎可见度。查看源码 -
帝国CMS7.5H5小游戏模板游戏攻略下载网整站源码本模板基于帝国CMS系统开发,为H5小游戏和APP应用资讯类网站设计。模板架构针对小游戏行业特点优化,支持游戏发布、资讯分享、应用推荐等功能,满足各类小游戏门户网站的建设需求。查看源码 -
(自适应)家政保洁保姆打扫卫生清灰服务pbootcms模板免费下载采用手工编写的DIV+CSS架构,代码结构清晰无冗余,加载速度优异。响应式设计适配各类终端设备,保障手机、平板、电脑端的一致浏览体验。查看源码 -
(PC+WAP)生活资讯百科新闻门户类pbootcms网站模板为生活资讯、百科门户类企业打造的高性能网站模板,基于PbootCMS开源内核开发,采用HTML5响应式架构,PC与手机端实时数据同步,覆盖全终端用户浏览场景。查看源码
| 分享笔记 (共有 篇笔记) |
