Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Date off by 2 hours

More
10 years 8 months ago #2702 by slighted
Date off by 2 hours was created by slighted
Hi!
Great Module first of all!
I am using the show date in format "days hours minutes ago." However, in the display on my site it's off by 2 hours. I publish sth and it tells me aritcle has been published 2 hours, etc. ago ...

Time setting in configuration is correct, didn't find any settings for this module though.

Please help!

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2704 by admin
Replied by admin on topic Re: Date off by 2 hours
Thank you!
A good test to make sure this is not a configuration issue is to try the latest news module packaged with Joomla! Also make sure you have the latest version of the module as I have fixed this issue in the latest version (at least I thought I was done with this issue). Also, make sure that your user settings are also identical to your server settings in terms of time zone.

Olivier.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2705 by slighted
Replied by slighted on topic Re: Date off by 2 hours
Thanks! I actually didnt have the latest version running. It works now!

However, I am now experiencing this issue: www.simplifyyourweb.com/index.php/forum/...33-error-output#2633

I tried your solution, didn't work .. see the above post why.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2708 by admin
Replied by admin on topic Re: Date off by 2 hours
Great!

Olivier.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2721 by slighted
Replied by slighted on topic Re: Date off by 2 hours
Hi again!

After I got everything to work this morning I was working on the site all day, and just now I get the following error when the module loads for the first time:

Fatal error: Call to a member function hasChildren() on a non-object in .../modules/mod_latestnewsenhanced/helpers/helper_standard.php on line 63

I commented out '$app->triggerEvent('onContentPrepare'...' in helper files of the module, that was on line 263.

It was working perfectly all day until just now.

I was moving around, deleting and creating categories and articles when the error suddenly occured.


Can you point me to the right solution again, admin?

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #2722 by slighted
Replied by slighted on topic Re: Date off by 2 hours
If you like you can delete this and the last post I just made.

The error was caused by some deleted categories and new ones added, once I changed the category settings in the module it was functioning again.

SOrry to bother you.

Please Log in or Create an account to join the conversation.