Page 1 of 1

problems with calendar...

Posted: Fri Jan 12, 2007 11:22 pm
by wolle
hi,
i'm using cmsms 1.2 and calendar 0.7.8.
by showing the calendar function i'm getting the following error message:

Fatal error: Call to a member function on a non-object in /home/www/.../modules/Calendar/function.displaycalendar.php on line 120

the code of line 120 is:

if($rs->RecordCount() > 0)

the error only appears when i have more then 1 calendar entry.
so i looked by using

echo var_dump($rs);

what values are in $rs.
effect: bool(false)

so there must be a problem with defining the object.
but i have absolutly no idea how to fix that.
can anybody help?

greets
wolle

Re: problems with calendar...

Posted: Sat Jan 13, 2007 12:36 pm
by Dee
It's a bug reported in the Calendar forge. I will try to take a look at it later today (after work).

Regards,
D

Re: problems with calendar...

Posted: Sat Jan 13, 2007 1:40 pm
by wolle
yap, i know the bug is reported by me :)
i had open the topic for discussing the problem,
thank you for looking after the bug ahead.

greets
wolle

Re: problems with calendar...

Posted: Sun Jan 14, 2007 6:54 pm
by Dee
Calendar-0.7.7 seems to work fine here on cmsmadesimple-1.0.2; also after upgrading from 0.7.6.
I tried it both in PHP4 and PHP5, adding events with and without end date and using a plain {cms_module module=Calendar} tag, but got no errors.