date |
[eluser]Unknown[/eluser]
A PHP Error was encountered Severity: Warning Message: 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/Paris' for '2.0/DST' instead Filename: models/member.php Line Number: 41 ---------------------------------------------- This is a real bugger in my code, it pops up with everything i do, i changed the timezone.ini in the config, added the changes in the index.php but then i get a 500 internal error back, this sucks!! How can i fix this ????
[eluser]oldrock[/eluser]
Hi , i am not clear , please can you post your code here so that it will be easy to fix your issue. thanks
[eluser]danmontgomery[/eluser]
timezone.ini? set date.timezone in php.ini: Code: [Date] Then restart apache. See http://php.net/manual/en/timezones.php for a list of valid timezones Or, at the top of index.php, include: Code: date_default_timezone_set('Europe/Paris'); |
Welcome Guest, Not a member yet? Register Sign In |