Hallo! Selamat Datang di Marketplace produk digital, Freelancer terbaik di indonesia (67512 Members, 783 Products, 5291 Topic, 12956 Comments)

Pesan Error Lokomedia Ci Setelah di hosting

Dibuat
Login Terakhir 2 Bulan lalu,
Telah Dilihat 1902 Kali
Ujang Miftahurrahman Mengatakan : Sultan Account
  1. Assalamualaikum Warahmatullahi Wabarakatuh...
  2. Para Master Mau Tanya Cara Mengatasi pesan Eror Setelah pasang di hosting Cms Swakalibata_ci
  3. ini pesannya:
  4. A PHP Error was encountered
  5. Severity: Warning
  6.  
  7. Message: 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.
  8.  
  9. Filename: libraries/Email.php
  10.  
  11. Line Number: 980
  12.  
  13. Backtrace:
  14.  
  15. File: /home/noonasty/public_html/smp/index.php
  16. Line: 294
  17. Function: require_once
  18.  
  19. A PHP Error was encountered
  20. Severity: Warning
  21.  
  22. Message: 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.
  23.  
  24. Filename: libraries/Email.php
  25.  
  26. Line Number: 985
  27.  
  28. Backtrace:
  29.  
  30. File: /home/noonasty/public_html/smp/index.php
  31. Line: 294
  32. Function: require_once
Ada 1 File Kiriman :
1. error24.png (201 KB)

Ada 2 Jawaban

Bukhori Muslim
commented on 02 Mei 2018 11:55:52
  1. Assalam,.. Error/Warning terkait fungsi date itu biasanya muncul karena versi PHP yg tidak cocok,
  2. untuk mengantisipasinya harus definisikan timezonenya.
  3. Tambahkan 1 baris kode dibawah ini pada file index.php (root) :
  4. date_default_timezone_set('Asia/Jakarta');
  5.  
  6. Simpan dan selesai.
  7. // Note : Sebaiknya clear history browser setelah mengubahnya dan akses lagi. :)
Ujang Miftahurrahman
commented on 03 Mei 2018 16:13:34
  1. Tetap gak ngaruh mas udah Saya coba....
Maaf, Untuk Memberikan Komentar Anda Harus Login !!!