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

Details

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

    Description

      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,

      Attachments

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              minhthuan0032000 thuan pham
              Nobody Nobody
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: