ECShop安装实录

Posted guo2008

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 [email protected]"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安装实录的主要内容,如果未能解决你的问题,请参考以下文章

通过VMLibrary在client partition上安装AIX全程实录

MYSQL 5.6恢复实录-- Percona XtraBackup

TOMCAT 7安装实录

zabbix安装部署实录

LINUX DSTAT安装实录

LAMP源码编译安装实录