Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • vric Friend
    #199454

    Hi

    We have a strange problem with posting date. Everything we post has a 4 hours delay. The article is available to be seen, but there’s always a countdown of “in 3h 59min…” the the posted date.

    – Server timezone is correctly set to NY
    – Joomla timezone is correctly set to NY
    – Our server is in the same timezone too.

    Other template I tried only show the time and hours and not the wording that JA_Magz repport for date. It’s not a huge problem, but I can’t find what’s wrong.

    Thans for the help.

    alexsmirnov Friend
    #541309

    Hi there,

    Could you please provide us with a screenshot pointing out the countdown block?

    Regards,

    Alex

    vric Friend
    #541311

    Hi

    Thanks for the reply.

    here’s the screenshot of everything.

    You will see server timezone, joomla timezone, time I posted the article and the “In 3hours 59 minutes” countdown.
    (I translated the ja_magz lang file, this is why it’s “Dans 3 heures 59…”)

    The article is already published for everyone, so joomla is not seeing it as something that is scheduled for later. Server time is also sync (sorry no screenshots, but I just checked in WHM)

    So no idea why the template think he’s 4 hours early :p

    Thanks

    alexsmirnov Friend
    #541319

    Hi there,

    Could you please PM me your Joomla backend login credentials to have a look around your system?

    Regards,

    Alex

    Ninja Lead Moderator
    #541363

    <em>@vric 435347 wrote:</em><blockquote>Hi

    We have a strange problem with posting date. Everything we post has a 4 hours delay. The article is available to be seen, but there’s always a countdown of “in 3h 59min…” the the posted date.

    – Server timezone is correctly set to NY
    – Joomla timezone is correctly set to NY
    – Our server is in the same timezone too.

    Other template I tried only show the time and hours and not the wording that JA_Magz repport for date. It’s not a huge problem, but I can’t find what’s wrong.

    Thans for the help.</blockquote>

    Please follow my solution here

    vric Friend
    #541417

    PM sent

    Thanks

    Nazario A Friend
    #541647

    @vric,

    Did you try Ninja’s solution ?

    Let me know if this helps

    vric Friend
    #541777

    Well actually, I like the way the date is shown. It’s the 4 hours offset I would like to get rid.

    This workaround would work, but it’s not a fix.

    Thanks

    vric Friend
    #542008

    bump

    Problem is still not fixed with this workaround (it only show the date instead of elapsed time)

    Thanks

    alexsmirnov Friend
    #542013

    Hi there,

    Please do us a favor: install kindly “Akeeba Backup” extension and create your website full backup. Once done, let us know about it here, in this thread.

    Cheers,

    Alex

    vric Friend
    #542018

    Hi

    Backup is done. Could you please remove the URL from you message? We try not to have any backlink to this section since it’s a wip space.

    Thanks

    alexsmirnov Friend
    #542019

    Hi there,

    I’ve just removed the URL to your sandbox, as you requested.

    Could you please confirm that you allow us troubleshooting your /dev/en website right on your server and don’t mind if our staff treat this /dev/en web-site purely as a testing sandbox as opposite to a production site?

    Regards,

    Alex

    vric Friend
    #542021

    Yep, website is only open to our team, so you can mess around with it. Just don’t destroy things too much :p

    alexsmirnov Friend
    #542064

    Hi there,

    <em>@vric 435347 wrote:</em><blockquote>

    – Server timezone is correctly set to NY

    – Our server is in the same timezone too.
    </blockquote>

    I’ve just checked your PHP info and it seems that your server is actually set not to NY but to UTC timezone, which is exactly 4 hours ahead of NY:

    Please ask you server host to sort this out for you and get back to us with the outcome.

    Hope this helps,

    Regards,

    Alex


    1. default_timezone
    2. ny_is_4_hours_behind_utc
    vric Friend
    #542068

    Hi

    Thansk for the reply. But this is the Default Timezone. if you look for the current timezone, it’s set to America/New York.

    I just tripple checked everything. Since we have a dedicated server, I checked everything from WHM console, in php.ini file and in SSH.


    root@server [~]# mysql -e "SELECT @@global.time_zone;"
    +--------------------+
    | @@global.time_zone |
    +--------------------+
    | SYSTEM |
    +--------------------+
    root@server [~]# date
    Fri Jul 11 18:03:31 EDT 2014
    root@server [~]# mysql -e "SELECT NOW();"
    +---------------------+
    | NOW() |
    +---------------------+
    | 2014-07-11 18:03:48 |
    +---------------------+
    root@server [~]#

    Server time, PHP time and SQL time are all the same and correctly set. Is your template looking for the default timezone instead of current timezone? Default timezone can’t be changed, it’s always UTC. It’s the reference.

    If you look just underr what you took in screenshot, you will see:
    date.timezone America/New_York America/New_York

    Thanks

Viewing 15 posts - 1 through 15 (of 16 total)

This topic contains 16 replies, has 4 voices, and was last updated by  alexsmirnov 10 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum