ECShop安装实录

版本: 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. 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安装程序,安装成功。

posted @   泰乐看盘  阅读(190)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
点击右上角即可分享
微信分享提示