Jump to content

- - - - -

[IP.Calendar 3.2.2 AND 3.3.0] Upcoming events block on board index shows no forthcoming events

There is a bug in IP.Calendar 3.2.2 where-by the Upcoming Events block displayed on the board index can periodically reset, showing "No forthcoming events" instead of a list of upcoming calendar events.

The bug can be resolved by patching an IP.Calendar PHP file in your installation. The patch is slightly different for 3.2.2 and 3.3.0

FOR Calendar version 3.2.3---

Open admin/applications_addon/ips/calendar/modules_public/calendar/view.php


$this->functions	= new $classToLoad( $this->registry );

Change this to

$this->functions	= new $classToLoad( $this->registry, $return );

FOR Calendar version 3.3.0----

Same file.. Find

		$this->functions	= new $classToLoad( $this->registry, false, $return );

And change it to

		$this->functions	= new $classToLoad( $this->registry, $return, $return );

This change should prevent the task that runs once a day from wiping out the events cache, causing the aforementioned issue. After making this change, you will need to visit the ACP to recache your events if the block on the board index is currently empty. To do this, visit the ACP, go to the System tab, and click on Cache Management under Tools and Settings. Under the Calendar tab, click the button to recache the "calendar_events" cache.
  • NewRockRabbit likes this


Developer Docs · Error Codes