刚过完周六日,回到来就发现无法登录禅道,查看了下日志log下面

10:44:15 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 'Asia/Chongqing' for 'CST/8.0/no DST' instead in framework/router.class.php on line 1618 when visiting

10:45:39 ERROR: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in framework/router.class.php on line 1545, last called by framework/router.class.php on line 1507 through function connectByPDO.

in framework/router.class.php on line 1589 when visiting

页面显示空白,在网上查看提示修改php.ini里找到date.timezone这行,把值改成PRC;然后重启httpd服务

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐