安装ecshop的一些常见错误的解决方案
2013-03-20 20:05
423 查看
example1(数据安装失败):
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 stillgetting this warning, you most likely misspelled the timezone identifier. We selected ‘UTC’ for ‘8.0/no DST’ instead in D:\wapm\www\ECShop\upload\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:\wapm\www\ECShop\upload\install\includes\lib_installer.php on line 223
我个错误应该是没有默认时区, 从警告中可以看出是因为时区的问题。我找到\upload\install\includes\lib_installer.php文件,加上date_default_timezone_set (’Asia/Shanghai’);这名后就安装成功了。马上就可以用ecshop了。
example2(EcShop 创建管理员帐号失败的解决办法):
(1)修改了install/includes/lib_installer.php的411或者412行,记住路径一定要正确include(ROOT_PATH . 'install/languages/' . $system_lang . '.php');
替换成
include(ROOT_PATH . 'install/languages/zh_cn.php');
后就好了。
(2)修改php.ini。打开php5.ini查找date.timezone 去掉前面的分号修改成为:date.timezone =PRC
总结:相比discuz和wordpress,ecshop的安装要复杂一些,特此记录。
相关文章推荐
- Debian/Ubuntu常见安装软件错误解决方案
- Linux中安装weblogic常见的一些问题及其解决方案
- win下安装Redmine常见错误解决方案
- MySQL安装常见错误及解决方案
- Linux下安装Nginx完整教程及常见错误解决方案
- Keil C 中一些常见错误和警告以及对应的解决方案
- 安装ecshop默认安装后的错误解决方案
- (转)Debian/Ubuntu常见安装软件错误解决方案
- win下安装Redmine常见错误解决方案
- Linux下安装Nginx完整教程及常见错误解决方案
- ubuntu安装anaconda各种错误和解决方案以及一些科普
- 安装ecshop网店系统常见错误及解决办法
- (转)Debian/Ubuntu常见安装软件错误解决方案
- 【转载】Debian/Ubuntu常见安装软件错误解决方案
- php源码编译安装时的一些常见错误解决办法
- CocoPods 的最新安装教程及常见错误解决方案
- win下安装Redmine常见错误解决方案
- 在虚拟机(wm)里安装vc6.0时出的一些无效的命令和安装向导出现的一些常见的错误
- Linux 安装 MySQL 以及 一些常见问题解决方案
- nutch安装配置运行时,一些常见的错误与解决方法