Quantcast
Channel: أكاديمية شنلر التعليمية shneler academy
Viewing all articles
Browse latest Browse all 6938

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

$
0
0
Certainly, the solution to this problem

الحل الأكيد لهذه المشكلة المذكورة أدناه

كود HTML:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/London' for 'BST/1.0/DST' instead in ..../includes/functions.php on line 4912

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/London' for 'BST/1.0/DST' instead in ..../includes/functions.php on line 5104

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/London' for 'BST/1.0/DST' instead in ..../includes/functions.php on line 5104

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/London' for 'BST/1.0/DST' instead in ..../includes/functions.php on line 5104


Certainly, the solution to this problem

1: Sorted it - I just did the following

2. For those who feel comfortable with editing files.

In class_core.php locate lines 5683-5685 (class_core.php is in the 'includes' folder)
Code:


search at this code in includes/class_core.php

1:
كود HTML:

case E_NOTICE:           
// Just ignore these completely //       
break;

add this code under
كود HTML:

case E_NOTICE:       
case E_STRICT:       
case E_DEPRECATED:           
// Just ignore these completely //       
break;

This will bypass the additional error reporting.

Viewing all articles
Browse latest Browse all 6938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>