PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : ارور date_default_timezone_set



CYB3R
February 25th, 2011, 18:23
سلام ،
Warning: strtotime() [function.strtotime (http://irleech.com/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 (http://irleech.com/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 (http://irleech.com/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

چه کنیم ؟

AmirHosein
February 25th, 2011, 19:02
فکر کنم مربوط به تایم زون باشه من تنظیماتش رو بلد نیستم دوستان بیان جواب بدن فکر نکنم مشکلی داشته باشه !

Talahost.Com
February 25th, 2011, 21:19
در ابتدای کدتون دستور زیر را قرار دهید:

Date_default_timezone_set('Asia/Tehran');

CYB3R
February 25th, 2011, 23:11
در ابتدای کدتون دستور زیر را قرار دهید:

Date_default_timezone_set('Asia/Tehran');
یعنی کجا ؟

---------- Post added at 11:11 PM ---------- Previous post was at 10:43 PM ----------

از این همه دکتر مهندس کسی نمی دونه مشکل چیه ؟ :دی
محسن کجاییـــــ !!!

Talahost.Com
February 26th, 2011, 13:27
بالا!
اونجا که نوشته
<?php

پایینش کد رو قرار بده.
یا قبل از کدی که خطای بالا رو میده. (1 خط قبلش)