您现在的位置是:首页 > 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会员用户登录赠送等级积分和消费积分插件
本功能实现每天 次登录赠送等级积分和消费积分,长时间停留赠送积分,可后台设置参数1.每天次登录赠送积分的2.如果要实现长时间停留赠送积分的
ecshop增加独立评论页面分页显示的实现方法
ecshop使用一个单独的页面来显示所有的评论,并在评论中显示会员 评论的商品 评论内容等。首先建立三个文件,testp.php test.dwt test.lbi,test.php 就是最终的评论页面。
ecshop框架文件说明
include/init.....................//主函数文件 includes/inc_constant.php //常量,暂时没多大用 includes/cls_ecshop.php //基础类 includes/cls_error.php //用户级
本地安装ecshop的方法
如何在本地(自己的电脑)上先安装ECShop一、创建PHP环境1.下载AppServ因为ECShop在线网上商店系统是用PHP语言开发的,所以,在本地架设网店之前,我们先要下载工具AppServ来创
相关源码
-
(自适应响应式)高端简繁双语HTML5金融资本咨询单页pbootcms模板采用响应式设计确保在各类手机端设备很好的呈现。该模板专注于金融咨询、资本管理等领域企业形象展示,通过结构化布局突出行业专业度与可信度,后台数据同步管理简化内容维护流程。查看源码 -
(自适应响应式)html5蓝色智能水表营销型网站pbootcms模板下载PbootCMS内核开发,为智能水表企业打造的营销型网站解决方案,本模板基于PbootCMS内核开发,为智能水表及相关行业企业设计,采用HTML5+CSS3技术构建,具有响应式布局。查看源码 -
(自适应响应式)高端珠宝首饰奢侈品pbootcms模板下载本模板为珠宝首饰及奢侈品行业打造,采用PbootCMS内核开发,具备卓越的视觉表现力与商业转化能力。自适应设计确保在手机端呈现产品细节,后台数据实时同步,助您高效展示钻石查看源码 -
响应式粉色美容整形化妆品pbootcms网站模板开源源码该网站模板为美容整形、化妆品企业设计,采用响应式布局确保在手机、平板及PC端自动适配显示效果。基于PbootCMS内核开发,支持一键替换图文内容快速转换至其他行业应用。查看源码 -
(PC+WAP)蓝色五金机械设备营销型网站源码下载基于PbootCMS内核开发的营销型企业网站模板,为五金机械设备类企业打造,通过标准化数字展示提升客户转化率。模板采用模块化设计,可快速适配机床工具、建筑五金、阀门管件等细分领域。查看源码 -
pbootcms源码宠物类网站源码下载(自适应多端)为宠物装备商店、宠物食品及用品企业打造的营销型模板,基于PbootCMS内核深度开发。采用响应式设计实现PC与移动端适配,PHP7.0+高性能架构支持MySQL/SQLite双数据库查看源码
| 分享笔记 (共有 篇笔记) |
