“date(): It is not safe to rely on the system's timezone settings…”

前端 未结 24 1965
予麋鹿
予麋鹿 2020-11-22 11:06

I got this error when I requested to update the PHP version from 5.2.17 to PHP 5.3.21 on the server.

24条回答
  •  难免孤独
    2020-11-22 11:49

    A quick solution whilst your rectify the incompatibilities, is to disable error reporting in your index.php file:

    Insert the line below into your index.php below define( ‘_JEXEC’, 1 );

    error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR |
    E_COMPILE_WARNING );
    

提交回复
热议问题