Page 1 of 1

Timezone Frustration

Posted: Wed Dec 01, 2010 9:14 pm
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.

Re: Timezone Frustration

Posted: Wed Dec 01, 2010 9:33 pm
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';

Re: Timezone Frustration

Posted: Wed Dec 01, 2010 9:47 pm
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.

Re: Timezone Frustration

Posted: Wed Dec 01, 2010 9:51 pm
by Nullig
The config.php file should be in the root directory of your site.

Nullig

Re: Timezone Frustration

Posted: Wed Dec 01, 2010 9:57 pm
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.