Timezone Frustration

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Alice Kaye
New Member
New Member
Posts: 3
Joined: Wed Dec 01, 2010 9:04 pm

Timezone Frustration

Post by Alice Kaye »

I feel like I am absolutely losing my mind. I am new to this CMS and I've only just installed it today. So far I really like it, but I am having a problem with the whole "timezone" thing. I thought I changed it earlier somewhere to GMT-5, but apparently that was wrong and now my site is an entire day ahead.

The problem, however, is that I can't recall where I made this change. I feel like I have been through every page in the ACP and still can't find it.

I'm also using CGCalendar and that is also showing a day ahead.

Thanks for any help you can provide. :)

Also, as a side note: I have tried changing my .htaccess page as some have suggested, however that did nothing for me. I have cleared my cache both on the site and my personal browser cache, with no positive outcome.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

Re: Timezone Frustration

Post by M@rtijn »

In config.php you'll find the timezone settings

Code: Select all

# Timezone setting
# PHP 5.3 requires that timezones be set at the server level.
# This variable can be used to set your sites timezone.
# Valid values for this variable can be found at:
# http://www.php.net/manual/en/timezones.php
# If this field is empty, no timezone will be set
$config['timezone'] = 'Europe/Amsterdam';
Make your community a better place!
Alice Kaye
New Member
New Member
Posts: 3
Joined: Wed Dec 01, 2010 9:04 pm

Re: Timezone Frustration

Post by Alice Kaye »

mr202020 wrote: In config.php you'll find the timezone settings

Code: Select all

# Timezone setting
# PHP 5.3 requires that timezones be set at the server level.
# This variable can be used to set your sites timezone.
# Valid values for this variable can be found at:
# http://www.php.net/manual/en/timezones.php
# If this field is empty, no timezone will be set
$config['timezone'] = 'Europe/Amsterdam';
Thanks for the quick reply Mr202020. Quick, really stupid (I'm sure) question but, where is config.php located? I saw a reply similar to this one (might have even been yours, as your name is familiar) on one of my searches, but I have yet to find where config.php is located.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Timezone Frustration

Post by Nullig »

The config.php file should be in the root directory of your site.

Nullig
Alice Kaye
New Member
New Member
Posts: 3
Joined: Wed Dec 01, 2010 9:04 pm

Re: Timezone Frustration

Post by Alice Kaye »

Nullig wrote: The config.php file should be in the root directory of your site.

Nullig
See and thats what I thought. Loaded it several times. It wasn't there. Weirdness because now of course I look like an idiot and well, now its there.

Thanks Nullig.

Update: Thank you both. I got it working.
Last edited by Alice Kaye on Wed Dec 01, 2010 9:59 pm, edited 1 time in total.
Locked

Return to “CMSMS Core”