这个可能是由于prosper202程序做得比较早,我看了代码有很多地方都是使用<? ?>z作为代码标志,而新版本的PHP已经规范使用<?php ?>,开启short_open_tag就相当于兼容了<? ?>代码标志,这个就不深入研究了。 {6 K( R, v3 F. `/ T
. Q! L4 k$ y( Y" {问题二、安装好之后,登录后台,出现以下错误提示:' ]/ z3 f, ^4 Z6 T
, F6 T9 ~7 n( z1 }3 Y
PHP Warning: date(): 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 4 o6 ]' L( i0 j I9 q$ f4 k5 n% u! N
我只能看出是时区的问题,重新安装了N遍(选择其它时区)仍旧无法解决,最终解决是通过这个办法: 2 }% h$ s# u/ Y9 s8 u