Warning: date() [function.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 'America/New_York' for 'EDT/-4.0/DST' instead in /home/zennu/public_html/engine/lib/metadata.php on line 121
Warning: date() [function.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 'America/New_York' for 'EDT/-4.0/DST' instead in /home/zennu/public_html/engine/lib/metadata.php on line 121
Warning: date() [function.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 'America/New_York' for 'EDT/-4.0/DST' instead in /home/zennu/public_html/engine/lib/sites.php on line 243
Warning: date() [function.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 'America/New_York' for 'EDT/-4.0/DST' instead in /home/zennu/public_html/engine/lib/sites.php on line 243
Warning: date() [function.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 'America/New_York' for 'EDT/-4.0/DST' instead in /home/zennu/public_html/engine/lib/elgglib.php on line 959
_____________________________________________________________________________________________
Anyone with an idea to solve it? Thank you in advance.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Set the timezone variable in php.ini on your server:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "America/New_York"
Alternatively, adding it to Elgg's .htaccess in the <IfModule mod_php5.c> section should work, too:
php_value date.timezone "America/New_York"
I tried that out, adding the code to the .htaccess, but it is not working. I don't have the control over php.ini. can you please tell me another way or help me anyway?
Put a call to date_default_timezone_set() in engine/start.php. Check out: http://php.net/date_default_timezone_set for more info.
I didn't get what you said, Brett. Can you please explain?
You need to add date_default_timezone_set() to the top of your engine/settings.php file. It's for a different issue, but look at the instructions under "Different Timezone" on this page: http://docs.elgg.org/wiki/No_images#Different_timezone
That's what you want to do.
I tried to fix all the errors at my site and now its not working at all.. :( . Anyone who is ready to help me with this? my site is http://www.buddygo.net/
What have you done exactly? Can you undo the changes?
I tried to update it into 1.7.11, then got some error. And tried disabling plugins.
Now, I tried re-uploading 1.7.10, and it shows internal server error..!!..
What version did you upgrade from? Maybe you need to replace the .htaccess file with the new one that comes with Elgg 1.7.11 (merging any modifications you have made). Have you followed all steps in the upgrade procedure? What was the error exactly?
- Previous
- 1
- 2
- Next
You must log in to post replies.