安装出现这种错误 怎么办

2016-07-07 15:13 来源:www.chinab4c.com 作者:ecshop专家

QQ截图20121222192711.png

Warning: date_default_timezone_get() [function.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 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /mnt/web/wanshougong.org/install/includes/lib_installer.php on line 223

Warning: date_default_timezone_get() [function.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 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /mnt/web/wanshougong.org/install/includes/lib_installer.php on line 223

回答:
php.ini里面 date.timezone 项
去掉前面的分号
值可以设置为 "Asia/Shanghai" 或者“PRC”

多谢楼上的指点 现在安装好了 但是进入域名/admin出现如下提示
Warning: file_put_contents(/mnt/web/wanshougong.org/temp/compiled/admin/index.htm.php) [function.file-put-contents]: failed to open stream: Permission denied in /mnt/web/wanshougong.org/includes/cls_template.php on line 262

Notice: can't write:/mnt/web/wanshougong.org/temp/compiled/admin/index.htm.php in /mnt/web/wanshougong.org/includes/cls_template.php on line 264

根本无法登录后台

多谢楼上的指点 现在安装好了 但是进入域名/admin出现如下提示
Warning: file_put_contents(/mnt/web/wanshougong.org/temp/compiled/admin/index.htm.php) [function.file-put-contents]: failed to open stream: Permission denied in /mnt/web/wanshougong.org/includes/cls_template.php on line 262

Notice: can't write:/mnt/web/wanshougong.org/temp/compiled/admin/index.htm.php in /mnt/web/wanshougong.org/includes/cls_template.php on line 264

根本无法登录后台

temp/compiled目录权限不够

权限改成777