2011-03-31 49 views
0

当我想安装EZ-团队空间错误使用EZ发布

当我完成在EZ团队空间安装,我只是跑在我的eZ此命令发布根目录

php extension/ezxmlinstaller/bin/php/xmlinstaller.php --template=teamroom/installezteamroom --siteaccess=site 

我我有一个错误有这个错误

Warning: strtotime(): 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 ' Europe/Paris' for '2.0/DST' instead in C:\Program Files\EasyPHP-5.3.3\www\eZ\lib \ezutils\classes\ezini.php on line 463 Error initializing script: database error: .

回答

0

那么,你有没有按照错误信息,并检查你的PHP时区设置?

如果没有,请尝试以下操作:在eZ Publish安装的根目录中有一个名为“config.php-RECOMMENDED”的文件。在同一位置复制它,并将其重命名为“config.php”(如果它不存在)。

然后,打开该文件并找出“TIMEZONES”部分(靠近顶部)。在该部分末尾有一行可以取消注释,并通过它设置您的时区(通过date_default_timezone_set PHP函数)。所以,刚刚从检查您的时区:

http://www.php.net/manual/en/timezones.php

,并设置它。