اطلاعیه

بستن
No announcement yet.

نمایش خطا در صفحه ورود IBSng (Warning: localtime(): It is not safe to rely on the sy)

بستن
این موضوع بسته شده است.
X
X
 
  • فیلتر کردن
  • زمان
  • نمایش
Clear All
پست های جدید

  • نمایش خطا در صفحه ورود IBSng (Warning: localtime(): It is not safe to rely on the sy)

    Warning: localtime(): 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/Tehran' for 'IRST/3.0/no DST' instead in /usr/local/IBSng/interface/IBSng/inc/error.php on line 25 Warning: localtime(): 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/Tehran' for 'IRST/3.0/no DST' instead in /usr/local/IBSng/interface/IBSng/inc/error.php on line 25 Warning: localtime(): 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/Tehran' for 'IRST/3.0/no DST' instead in /usr/local/IBSng/interface/IBSng/inc/error.php on line 25


    خطای بالا ظاهر میشه
    چه کار باید کرد؟

  • #2
    فایل php.ini را باز کن
    nano /etc/php.ini
    بعد این خط بهش اضافه کن
    date.timezone ="Asia/Tehran"

    اخر کارم
    service httpd restart

    کامنت

    در حال انجام ...
    X