码迷,mamicode.com
首页 > 其他好文 > 详细

ECShop安装实录

时间:2016-05-21 15:42:53      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:

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

ECShop安装实录

标签:

原文地址:http://www.cnblogs.com/guo2001china/p/5514703.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!