ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


DateTimeset issues on v 22


  • 2015-09-13 16:43:01

    DateTimeset issues on v 22

    If you are asking for help, provide lots of detail so problems can be reproduced.

    On launching ATutor, after server move, DB transferred seemed OK, server replies with ==>

    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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in PATH to ==>/include/lib/mysql_connect.inc.php on line 203

    Warning: getdate(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in PATH to ==>/include/classes/ErrorHandler/ErrorHandler.class.php on line 508

    Warning: getdate(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in PATH to ==>/include/classes/ErrorHandler/ErrorHandler.class.php on line 301

    where and how can I correct this?

    Things to describe:
    Operating system ATutor is installed on - Linux ... x86_64 x86_64 x86_64 GNU/Linux
    ATutor version - 2.2
    Patch #s applied - all prior to move
    ATutor theme name - Whatever the default theme was!
    PHP version - 5.4.43
    MySQL version - 5.5.42
    Webserver & version - Apache 2.x
    Copies of error messages - see message body above
    Changes to default settings - none that I recalled, except for those prompted for!
    Web browser being used - Mozilla Firefox 40.0.3
    ...and anything else relevant -

  • 2015-09-13 16:49:53

    Re: Date.Timeset issues on v 2.2

    You probably need to put the timezone in a configuration line in your php.ini file. You should have a block like this in your php.ini file:

    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    date.timezone = America/New_York