Free Php scripts that works on Pb July 06, 2013 12:26AM |
Registered: 11 years ago Posts: 57 |
Re: Free Php scripts that works July 06, 2013 12:32AM |
Registered: 11 years ago Posts: 57 |
Re: Free Php scripts that works on Pb July 06, 2013 12:35AM |
Registered: 11 years ago Posts: 57 |
Re: Free Php scripts that works on Pb July 06, 2013 04:08AM |
Registered: 11 years ago Posts: 57 |
Re: Free Php scripts that works on Pb August 23, 2013 12:54PM |
Registered: 11 years ago Posts: 62 |
Re: Free Php scripts that works on Pb August 25, 2013 12:14AM |
Registered: 11 years ago Posts: 57 |
Re: Free Php scripts that works on Pb August 25, 2013 08:19AM |
Registered: 11 years ago Posts: 62 |
Re: Free Php scripts that works on Pb August 26, 2013 03:06AM |
Registered: 11 years ago Posts: 62 |
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
Re: Free Php scripts that works on Pb August 26, 2013 06:40AM |
Admin Registered: 12 years ago Posts: 311 |
Language: HTMLhttps://www.mediawiki.org/wiki/Thread:Project:Support_desk/Installation,/reply_%289%29
Re: Free Php scripts that works on Pb August 26, 2013 07:57AM |
Registered: 11 years ago Posts: 62 |
Language: PHP<?php date_default_timezone_set(';Asia/Jakarta';); if (date_default_timezone_get()) { echo ';date_default_timezone_set: '; . date_default_timezone_get() . ';<br />';; } if (ini_get(';date.timezone';)) { echo ';date.timezone: '; . ini_get(';date.timezone';); } ?>
Warning: date_default_timezone_get(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /opt/piratebox/www/php/test/test.php on line 5 Fatal error: date_default_timezone_get(): Timezone database is corrupt - this should *never* happen! in /opt/piratebox/www/php/test/test.php on line 5
Re: Free Php scripts that works on Pb August 26, 2013 04:40PM |
Registered: 11 years ago Posts: 57 |
Re: Free Php scripts that works on Pb August 27, 2013 03:36AM |
Registered: 11 years ago Posts: 62 |
Re: Free Php scripts that works on Pb August 27, 2013 10:04AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Free Php scripts that works on Pb August 27, 2013 01:00PM |
Registered: 11 years ago Posts: 62 |
root@IIzqqLdF:~# date Sat Aug 24 20:36:06 UTC 2013
Re: Free Php scripts that works on Pb August 28, 2013 05:46AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Free Php scripts that works on Pb August 30, 2013 07:31AM |
Registered: 11 years ago Posts: 13 |
date(): Timezone database is corrupt February 27, 2017 02:41PM |
Re: date(): Timezone database is corrupt February 27, 2017 08:15PM |
Admin Registered: 13 years ago Posts: 4,680 |
CET CST6CDT EET EST EST5EDT GB-Eire Eire \ GB GMT GMT+0 GMT-0 GMT0 Greenwich \ HST MET MST MST7MDT \ PRC PST8PDT ROC ROK UCT UTC \ Universal W-SU WET Zulu Etc/* zone.tab ; do \
opkg -d ext install /mnt/usb/install/cache/zoneinfo-*If I am not wrong, that should reinstall these files.
Re: Free Php scripts that works on Pb April 04, 2019 03:02PM |
Registered: 6 years ago Posts: 6 |
Re: Free Php scripts that works on Pb August 14, 2019 11:10AM |
Registered: 5 years ago Posts: 3 |