zoukankan      html  css  js  c++  java
  • ECShop安装实录

    版本: ecmoban_V2.7.3_UTF8_20150623

    来源: 官网

    一。 给 C:Windows emp目录增加 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:webyudeemoban.huanbaobk.cominstallincludeslib_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:webyudeemoban.huanbaobk.cominstallincludeslib_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安装程序,安装成功。

  • 相关阅读:
    Linux内核通杀提权漏洞CVE-2016-5195
    Android APP安全评估工具 Drozer
    (转)手机安全测试
    微信公众号获取的图片不能正常显示的问题
    android开发时gen和bin目录的SVN管理(转)
    处理千万级以上的数据提高查询速度的方法(转)
    Java遍历JSON
    Java反射得到属性的值和设置属性的值(转)
    java如何得到GET和POST请求URL和参数列表(转)
    Oracle Database 11G R2 标准版 企业版 下载地址(转)
  • 原文地址:https://www.cnblogs.com/guo2001china/p/5514703.html
Copyright © 2011-2022 走看看