3 c) L8 L8 I$ h这个我在用其它程序时也遇到过,当时未找到解决办法,今天也是几经周折找到解决方案:7 o0 @4 t2 M- W! r6 Y
1. 修改php.ini配置:short_open_tag = On 4 e W( ~) F8 ~3 r2. 重启web
这个可能是由于prosper202程序做得比较早,我看了代码有很多地方都是使用<? ?>z作为代码标志,而新版本的PHP已经规范使用<?php ?>,开启short_open_tag就相当于兼容了<? ?>代码标志,这个就不深入研究了。9 n6 i* B; m) w3 L+ g5 P) F
2 n$ Z! R! u" E6 x 问题二、安装好之后,登录后台,出现以下错误提示: 4 r8 f* B. l$ h 5 N6 f2 X" H! ePHP 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 3 `' T9 R& |# |6 w P2 t2 \ # a+ M; e4 z4 U" G% o, m我只能看出是时区的问题,重新安装了N遍(选择其它时区)仍旧无法解决,最终解决是通过这个办法:& j b+ W7 |3 U& b; M* C5 x