problems with calendar...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
wolle
Forum Members
Forum Members
Posts: 60
Joined: Wed Jun 07, 2006 6:49 pm

problems with calendar...

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: problems with calendar...

Post 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
wolle
Forum Members
Forum Members
Posts: 60
Joined: Wed Jun 07, 2006 6:49 pm

Re: problems with calendar...

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: problems with calendar...

Post 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.
Post Reply

Return to “CMSMS Core”