Topic: News is 5 hours ahead

Okay, i've tried to fix this myself but i have had no luck whatsoever.

All of my active news updates show up as being posted five hours after it was actually posted.

So like, if i post something at 12AM, it says that it was posted at 5AM.. And i would like to somehow get this resolved if possible.

I've tried using the Time Adjustment to -300 in system configuration, but it does nothing.


Please help?

2 (edited by 2012-11-10 14:39:40)

Re: News is 5 hours ahead

Please create a PHP file with the code below, upload it somewhere on your server and copy its output. It will just output the time of the server and its timezone. Like this, we know that the server's time is the problem and that it isn't CuteNews doing something weird.

<?php
echo 'Server time: '.date('d M Y, H:i');
echo '
Timezone: '.date('e (\G\M\T P)');
echo '
Timestamp: '.time();
?>

Please provide your actual time as well — my guess is that "Server time" will be five hours ahead of your time. That would mean the server's timezone is configured five hours ahead of you, which seems a bit odd (unless you're in Hawaii and you're renting a server located on the East Coast). Once confirmed, we can look into changing your timezone (if possible).

If you go back to Options > System Configurations and look at the setting Time Adjustment, does it still say -300 or has it defaulted back to 0, for instance? (There was a bug in an early UTF-8 CuteNews version doing that.) Could you also please try setting it to "60" for instance and see if that value has any effect?

Re: News is 5 hours ahead

I've tried using the Time Adjustment to -300 in system configuration, but it does nothing.


this only works on new posts, it doesn't redate existing posts.

Posts: 3

Pages 1

You must login or register to post a reply

CutePHP Forums → Problem Solving / Help & Support → News is 5 hours ahead