您现在的位置是:首页 > 教程 > ecshop商城教程ecshop商城教程
ecshop安装报错的解决方法
郎朝剑2025-01-21 12:42:37ecshop商城教程已有人查阅
导读版本: 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、首先修改程序文件 admin/users.php找到2、修改模板文件 admin/templates/users_list.htm找到 -
ecshop筛选属性修改title标题的实现方法
发现百度蜘蛛爬行网站时会爬行属性链接,而且会进行收录。可是ecshop系统制作的网站,在分类页点击属性筛选出产品时,网页title不会改变。这样就会造成大量title一样的页面,不利于优化。 -
ecshop购物车页面显示商品描述的方法
ecshop购物车页面显示商品简单描述的修改教程:最近看到有朋友有这方面的需求,就整理了一下,写出来,供有同样需求的朋友备用 -
ecshop商品详情页怎么显示收藏数量
众所周知,很新版的商品详情页, 已经能够显示购买数量、评论数量了,但是唯独没有显示收藏数量,也就是淘宝上的收 气,下面我们就把它显示出来。
留言与评论 (共有 条评论) |