Torrentpier II и php 5.1.6

Started by alesel on 2011-07-24 18:02 — 32 replies, 5213 views

#21
Хостинг или Локал
#22
Хостинг или Локал
VDS-сервер
#23
Наверное надо просто руки пообрывать, правим php.ini и блин не забываем перезапустить апач, или что там у тебя, это раз, php.ini он сука тоже разный для разных целей для cli один, для prefork другой итд, глазки надо открыть =/
#24
У меня PHP Version 5.3.6 аналогичная хрень, на главной и в админке, при этом в админку даже войти не могу.
Warning: 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\language\lang_russian\lang_main.php on line 1634 Warning: 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\language\lang_russian\lang_main.php on line 1634
А в редактировании профиля вообще вот такое:
Warning: 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\language\lang_russian\lang_main.php on line 1634 Warning: 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\language\lang_russian\lang_main.php on line 1634 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729 Warning: mktime(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\WebServer\htdocs\Torrentpier\includes\ucp\usercp_register.php on line 729

В php.ini пробовал и date.timezone = Europe/Kiev и date.timezone = Europe/Moscow и как только не пробовал. Аппач соответственно перезапускал - нифига.
Ну вот к примеру щаз так:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
; date.timezone = Europe/Kiev

#25
Ну вот к примеру щаз так:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Europe/Moscow"
#26
тебе ни о чём не говорит точка с запятой перед значением?

и ещё можно указать вручную в самом двиге в common.php date_default_timezone_set('Europe/Moscow');
#27
не забываем что ; в php.ini означает комментарий.
#28
в .htaccess
php_value date.timezone "блабла"
#29
krumax, зачем такие сложности?
#30
krumax, зачем такие сложности?
Когда-то на одном хостинге после переустановки системы были проблемы с часовым поясом.
Быстрое решение было таким. 🙂