Timezone problem after datacenter transfer on sourceforge
Posted by rodocop
Timezone problem after datacenter transfer on sourceforge February 18, 2018 05:44AM |
Registered: 4 years ago Posts: 6 |
Hi all!
We, K-Meleon community, need help, once again.
Last days our hoster, sourceforge.net have migrated all the data to new datacenter and now our Phorum 5.2.13 shows the next warning instead any single forum posting:
I wonder is it possible to fix this through Phorum Admin procedures or only editing of php-files would solve the problem? (it seems that our forum admin, who owns access credentials to edit files on server, is unavailable now)
We, K-Meleon community, need help, once again.
Last days our hoster, sourceforge.net have migrated all the data to new datacenter and now our Phorum 5.2.13 shows the next warning instead any single forum posting:
Quote
Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/kmeleon/htdocs/phorum-5.2.13/include/format_functions.php on line 263
I wonder is it possible to fix this through Phorum Admin procedures or only editing of php-files would solve the problem? (it seems that our forum admin, who owns access credentials to edit files on server, is unavailable now)
Re: Timezone problem after datacenter transfer on sourceforge February 18, 2018 06:58AM |
Registered: 4 years ago Posts: 6 |
It also shows the same warnings for other files:
Quote
Warning: localtime(): 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 /home/project-web/kmeleon/htdocs/phorum-5.2.13/include/email_functions.php on line 187
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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/kmeleon/htdocs/phorum-5.2.13/mods/smtp_mail/phpmailer/class.phpmailer.php on line 1636
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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/kmeleon/htdocs/phorum-5.2.13/mods/smtp_mail/phpmailer/class.phpmailer.php on line 1640
Warning: fsockopen(): unable to connect to prwebmail:25 (No route to host) in /home/project-web/kmeleon/htdocs/phorum-5.2.13/mods/smtp_mail/phpmailer/class.smtp.php on line 122
There was an error sending the message. Error returned was: SMTP Error: Could not connect to SMTP host.
Warning: Cannot modify header information - headers already sent by (output started at /home/project-web/kmeleon/htdocs/phorum-5.2.13/include/email_functions.php:187) in /home/project-web/kmeleon/htdocs/phorum-5.2.13/common.php on line 1805
Re: Timezone problem after datacenter transfer on sourceforge February 18, 2018 09:50AM |
Admin Registered: 16 years ago Posts: 549 |
You probably won't be able to correct this issue from Phorum. You may be able to have your own php.ini, but this depends on the server setup, which is beyond your control
Below are from other messages on this Forum, I did not do an extensive search.
Besides server time there is
In the php.ini [php.net]
Here is a reference to changes in php.
Below are from other messages on this Forum, I did not do an extensive search.
Besides server time there is
In the php.ini [php.net]
Here is a reference to changes in php.
Quote
php 5.4 Backward Incompatible Changes
In the date and time extension, the timezone can no longer be set using the TZ environment variable. Instead you have to specify a timezone using the date.timezone php.ini option or date_default_timezone_set() function. PHP will no longer attempt to guess the timezone, and will instead fall back to "UTC" and issue a E_WARNING.
Re: Timezone problem after datacenter transfer on sourceforge February 18, 2018 09:52AM |
Registered: 4 years ago Posts: 6 |
Re: Timezone problem after datacenter transfer on sourceforge February 19, 2018 01:26PM |
Registered: 4 years ago Posts: 6 |
Sorry, only registered users may post in this forum.