We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13986
    • 90 Posts
    If you are running PHP 5.3+ and Suhosin you may have to comment out the check for the date.timezone in the setup/index.php file (lines 47-52). Suhosin may be blocking the ini_get function, so modx can’t properly check the date.timezone setting.

    Edit: Make sure that the date.timezone property is correctly set before disabling this check.

    /*if (version_compare(MODX_SETUP_PHP_VERSION,'5.3.0') >= 0) {
        $phptz = @ini_get('date.timezone');
        if (empty($phptz)) {
            die('<html><head><title></title></head><body><h1>FATAL ERROR: MODX Setup cannot continue.</h1><p>To use PHP 5.3.0+, you must set the date.timezone setting in your php.ini. Please do set it to a proper timezone before proceeding. A list can be found <a href="http://us.php.net/manual/en/timezones.php">here</a>.</p></body></html>');
        }
    }*/


      Jeremy Foster
      • 21838
      • 284 Posts
      Regardless to suhosin patch you need this setting in PHP5.3.x
      And you really should set this in php.ini
        MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)