Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21965

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 1.9.8
    • Administration
    • None
    • php, win XP
    • Any
    • MOODLE_19_STABLE
    • Difficult

      Dear,
      I use this to login to website but during i open login page, i see error about date appears.
      Please help me to sovle it.

      I have coded in \KT_functions.inc.php file:
      <?php
      // Array definitions

      // Start Variable definitions
      $KT_db_date_format = "yyyy-mm-dd";
      $KT_db_time_format = "HH:mm:ss";
      $KT_screen_date_format = "d/m/yy";
      $KT_screen_time_format = "h:mm:ss t";
      $KT_prefered_image_lib = "gd";
      $KT_prefered_imagemagick_path = "";
      $KT_prefered_tidy_path = "";
      $KT_prefered_aspell_path = "";
      $KT_file_mode = "644";
      $KT_folder_mode = "755";
      $KT_default_image_quality = "80";
      // End Variable definitions
      ?>

      Warning: date() [function.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/Krasnoyarsk' for '7.0/no DST' instead in C:\xampp\htdocs\www\includes\common\Warning: date() [function.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/Krasnoyarsk' for '7.0/no DST' instead in C:\xampp\htdocs\www\includes\common\KT_functions.inc.php on line 679

      Warning: date() [function.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/Krasnoyarsk' for '7.0/no DST' instead in C:\xampp\htdocs\www\includes\common\KT_functions.inc.php on line 680

      Warning: date() [function.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/Krasnoyarsk' for '7.0/no DST' instead in C:\xampp\htdocs\www\includes\common\KT_functions.inc.php on line 681on line 679

      Warning: date() [function.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/Krasnoyarsk' for '7.0/no DST' instead in C:\xampp\htdocs\www\includes\common\KT_functions.inc.php on line 680

      Warning: date() [function.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/Krasnoyarsk' for '7.0/no DST' instead in C:\xampp\htdocs\www\includes\common\KT_functions.inc.php on line 681

      Thank you,

            moodle.com Moodle HQ
            minhthuan0032000 thuan pham (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.