-
- 3 Posts
Hi there I am new and i just uploaded modx to my webserver and this is what i get:
FATAL ERROR:MODX Setup cannot continue.
To use PHP 5.3.0+, you must set the date.timzone setting in your php.in. Please do set it to a proper timezone before proceeding.
I have changed the code in php.ini to:
[Date]
; defines the default timezone used by the date functions
date.timezone = "US/central"
Can i get some help please
Thank you.
According to the documentation on this site, we are not supposed to use timezones listed in the "Other" category like ’US/Central’ and the like. They are only available for backwards compatibility. So, I assume they will go bye-bye in future versions.
http://www.php.net/manual/en/timezones.america.php
-
- 3 Posts
Thank you very much!
I am here : [tt]America/Los_Angeles[/tt] can you give me the [tt]code[/tt] and show me how it should look?
Here’s what I have
[Date]
; Defines the default timezone used by the date functions
; Will be changed by MAMP to system timezone
date.timezone = "Asia/Jerusalem"
Make sure that you don’t have another php.ini file somewhere overriding what you’re setting; take a look at your .htaccess file too.
-
- 3 Posts
I think that my ht.access needs to be configured, I need help on this I think that might be the problem?
I cant seem to make this work for me ):
Ive tried fixing what i can, idk whats missing...
-
- 24,544 Posts
Quote from: paulAB at Jul 06, 2011, 12:03 AM
I think that my ht.access needs to be configured, I need help on this I think that might be the problem?
I cant seem to make this work for me ):
Ive tried fixing what i can, idk whats missing...
ht.access is ignored. It won’t have any affect at all unless it’s renamed to .htaccess.
Normally, the timezone setting goes in the php.ini file.
Try with just this line (note the capital "C" in "Central"):
date.timezone = "US/Central"