Forums

2 problems

joom14 07 Feb, 2009
Hi!

Just installed ChronoComments, but am having a few issues:

1. If the "Show Comments link in Blog view" is enabled, I'm getting this message multiple times on Section Blog Layouts and Category List Layouts:

"Notice: Trying to get property of non-object in C:\wamp\www\plugins\content\ChronoComments.php on line 140"

I'm also getting the "Read 0 Comments... >>" on Category List Layout, under categorys title and before the list - I don't know if this is a feature or not (probably/hopefully not, since who would want to comment a category list, right?).

2. All the timestamps of comments are 2 hours ahead of time - how to fix this? (I have the same problem with CB's profile page on "Last logged in" however thats 2 hours behind. All the other profile times like "Last updated" are correct).

Thank for your answers!
GreyHead 07 Feb, 2009
Hi jooma14,

Can't stop now to hunt them all down but I think you'll find all the answers you need in the forums here.

Bob
joom14 08 Feb, 2009
When I changed Time Zone to UTC 00:00 from Joomlas Global Settings, the timestamps started to show the right time. So this is not really ChronoComments problem. If someone knows how to get the CB to show the right time, that would be appreciated (I live in GMT +2). I have no idea where Joomla takes its time anyway (from Apache? How to change this?)..

However, the other problem still persist. I tried to search the forum but couldn't find anything.
GreyHead 08 Feb, 2009
Hi joom14,

You can probably get rid of the notice by setting Error Reporting to one of 'System Default', 'Simple' or 'None' in your site Global Configuration | Server tab.

There's a thread on 'categories' here with some links to similar threads. I don't quite know which one is most relevant to you.

Bob
Max_admin 08 Feb, 2009
Hi joom14,

if you want your site time to be GMT+2 then use this in the Joomla global config, if chronocomments time is wrong then its a bug, it has some fix here in the forums!

regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
joom14 08 Feb, 2009
Yes.. When I choose +2 UTC from Joomla Global Config:
- Joomla shows article update times etc correctly
- Has no effect to Community Builders profile page times ('last login' 2 hours behind, rest correct)
- ChronoComments is 2 hours ahead

I'm running Joomla on my computer with WAMP-server. Where does Joomla get its time? From my computers clock? From WAMP? And does CB get its time from somewhere else than Joomla since it isn't affected by Joomlas time settings..? All so confusing..


GreyHead: I'll check those out tomorrow and report back!

Thanks for the replys!
joom14 10 Feb, 2009
Hi,

I was able to get rid of the error messages by inserting
if(!$row->id)return;
(on ChronoComments.php)
after
global $mainframe;
(on row 16)

So 😀 for that! (btw, why do those errormessages appear in the first place, and can I be sure that my comments will be working reliably after this 'mod'?)

Haven't been able to figure out the wrong timestamp issue. The closest thread I found was http://www.chronoengine.com/forums.html?cont=posts&f=2&t=11770 but I don't even know what file you guys are talking about! 🙄

Also there's this stuff on php.ini
[Date]
; Defines the default timezone used by the date functions
;date.timezone = 


Does these have anything to do with my problem?
joom14 11 Feb, 2009
Thank you!

If I'll ever get my site published, I'm sure I'll get a license for ChronoComments (hmm.. now that I looked into it, can I? I'm only seeing ChronoForms license..).
GreyHead 11 Feb, 2009
Hi joom14,

Home page and scroll right down to the bottom - or hit the 'End' key

Bob
This topic is locked and no more replies can be posted.