install errors

Help
2011-07-04
2013-05-30
  • Robert Pruitt
    Robert Pruitt
    2011-07-04

    I get numerous errors right off the bat using 4.2.4

    This is the first one -
    ERROR 2: 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 'America/Chicago' for 'CDT/-5.0/DST' instead
    0 Error occurred on in function date
    1 called from line 356 of file session.php in function require_once
    2 called from line 75 of file config.php in function require_once
    3 called from line 43 of file install.php

    I see noplace to set date or time - advice?

     
  • Stephen Arnold
    Stephen Arnold
    2011-07-04

    Since PHP 4.1, setting the preferred timezone identifier has been necessary. You can set it in your PHP.INI if you have access (your own server), or in an .htaccess file, if not.  Had you simply Googled this error you would have seen thousands of similar inquiries, most with detailed descriptions.  To be honest, it is more of a nuisance notice as it is really not necessary to set it, but is recommended.
    -Stephen