ارور date_default_timezone_set
سلام ،
Warning: strtotime() [function.strtotime]: 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 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/irleech/public_html/libraries/joomla/utilities/date.php on line 56
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 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/irleech/public_html/libraries/joomla/utilities/date.php on line 198
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 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/irleech/public_html/libraries/joomla/utilities/date.php on line 198
چه کنیم ؟
پاسخ : ارور date_default_timezone_set
فکر کنم مربوط به تایم زون باشه من تنظیماتش رو بلد نیستم دوستان بیان جواب بدن فکر نکنم مشکلی داشته باشه !
پاسخ : ارور date_default_timezone_set
در ابتدای کدتون دستور زیر را قرار دهید:
Date_default_timezone_set('Asia/Tehran');
پاسخ : ارور date_default_timezone_set
نقل قول:
نوشته اصلی توسط
Talahost.Com
در ابتدای کدتون دستور زیر را قرار دهید:
Date_default_timezone_set('Asia/Tehran');
یعنی کجا ؟
---------- Post added at 11:11 PM ---------- Previous post was at 10:43 PM ----------
از این همه دکتر مهندس کسی نمی دونه مشکل چیه ؟ :دی
محسن کجاییـــــ !!!
پاسخ : ارور date_default_timezone_set
بالا!
اونجا که نوشته
<?php
پایینش کد رو قرار بده.
یا قبل از کدی که خطای بالا رو میده. (1 خط قبلش)