mediamax Posted April 22, 2017 Report Posted April 22, 2017 i have two hosting providers, Inmotion hosting ( USA ) and Spiralhosting ( Ireland ). after i install Revive on both hostings i have problem with log in on Inmotion hosting where it says 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 /home/webtim5/public_html/revive/variables.php on line 67 on Spiralhosting ther is no problem with this and i can normaly log in. i had chat with tech support in inmotion hosting and they assure me that i need to change something in line 67 in variables.ph need help with this and what should i need to change in line 67 thx in advance damir Quote
Ian Posted April 22, 2017 Report Posted April 22, 2017 Simply set the timezone in the php.ini file # grep -i timezone /etc/php.ini ; Defines the default timezone used by the date functions ; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone date.timezone = Europe/Amsterdam Quote
mediamax Posted April 22, 2017 Author Report Posted April 22, 2017 in file manager i go to search all my files and search for php.ini file and ther is no this file anywhere ??, how to? Quote
mediamax Posted April 22, 2017 Author Report Posted April 22, 2017 thx. i manage this problem with your help. thx again Quote
mediamax Posted April 27, 2017 Author Report Posted April 27, 2017 hello again, it seems that problem come back again. in php.ini file is line that you send me date.timezone = "Europe/Amsterdam" but now it wont work again. it shows me same line that there is UTC time zone in variables.php need help thx Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.