Pesan Error Lokomedia Ci Setelah di hostingDibuat
Login Terakhir
5 Bulan lalu,
Telah Dilihat 2274 Kali
| |
Sultan Account |
|
|
Ujang Miftahurrahman
Mengatakan :
Sultan Account
Assalamualaikum Warahmatullahi Wabarakatuh... Para Master Mau Tanya Cara Mengatasi pesan Eror Setelah pasang di hosting Cms Swakalibata_ci ini pesannya: A PHP Error was encountered Severity: Warning 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. Filename: libraries/Email.php Line Number: 980 Backtrace: File: /home/noonasty/public_html/smp/index.php Line: 294 Function: require_once A PHP Error was encountered Severity: Warning 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. Filename: libraries/Email.php Line Number: 985 Backtrace: File: /home/noonasty/public_html/smp/index.php Line: 294 Function: require_once Ada 1 File Kiriman : 1. error24.png (201 KB) |
|
| Bukhori Muslim commented on 02 Mei 2018 11:55:52 Sultan Account |
|
|
|
Assalam,.. Error/Warning terkait fungsi date itu biasanya muncul karena versi PHP yg tidak cocok,
untuk mengantisipasinya harus definisikan timezonenya.
Tambahkan 1 baris kode dibawah ini pada file index.php (root) :
date_default_timezone_set('Asia/Jakarta');
Simpan dan selesai.
// Note : Sebaiknya clear history browser setelah mengubahnya dan akses lagi. :) |
|
| Ujang Miftahurrahman commented on 03 Mei 2018 16:13:34 Sultan Account |
|
|
|
Tetap gak ngaruh mas udah Saya coba.... |
|