Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

event_calendar module produces empty pages


Go to End
Reply

11 Posts   1649 Views

Avatar
freakout

6 March 2010 at 3:00am Community Member, 49 Posts

I installed event_calendar module with no problems. The dev/build runs fine in SilverStripe-2.3.6. i can see the new pagetypes and add and configure event_calendar/events in the CMS. So far - so good. But when i call the URLs i only get completely empty pages - no error - no page - just empty. Regardless wheter in live or development mode. In php-log I have: [05-Mar-2010 14:42:45] PHP Fatal error: Class 'UpgradeSiteTreePermissionSchemaTask' not found in /opt/silverstripe-2.3.6-1/sapphire/core/model/SiteTree.php on line 968
[05-Mar-2010 14:43:39] PHP Fatal error: Class 'sfDate' not found in /opt/silverstripe-2.3.6-1/modules/event_calendar-v0.1/code/Calendar.php on line 555
[05-Mar-2010 14:43:45] PHP Fatal error: Class 'sfDate' not found in /opt/silverstripe-2.3.6-1/modules/event_calendar-v0.1/code/Calendar.php on line 555
[05-Mar-2010 14:44:08] PHP Fatal error: Class 'sfDate' not found in /opt/silverstripe-2.3.6-1/modules/event_calendar-v0.1/code/Calendar.php on line 555

Any Idea?

Avatar
UncleCheese

6 March 2010 at 3:05am 4085 Posts

Make sure the name of your event calendar directory is "event_calendar" and not "event_calendar_rXXXX" or whatever that ZIP file gives you.

Avatar
freakout

6 March 2010 at 3:45am Community Member, 49 Posts

Yes the directory is "event_calendar" - still giving empty pages. Yes - i used ?flush=1 to refresh the cache.

Avatar
UncleCheese

6 March 2010 at 5:56am 4085 Posts

Really? Your PHP error log says it's looking in "event_calendar-v0.1"...

Avatar
freakout

6 March 2010 at 7:00am Community Member, 49 Posts

Yes i changed the directory and tried again. Now in log:
[05-Mar-2010 18:57:59] PHP Fatal error: Class 'sfDate' not found in /home/silvers/franks/site/event_calendar/code/Calendar.php on line 555

Avatar
UncleCheese

6 March 2010 at 7:34am 4085 Posts

There should be a pair of require_once() statements in the event calendar _config.php to bring those files in.

Avatar
freakout

6 March 2010 at 11:32pm Community Member, 49 Posts

Could you please give me this pair of statement to add to _config.php.
The _config.php in the module evnet_calendar is empty!

Avatar
UncleCheese

7 March 2010 at 4:00am 4085 Posts

Where did you get this distribution of EventCalendar? The _config.php should by no means be empty. Best bet is to check it out through svn:

svn co http://bluehousegroup.svn.beanstalkapp.com/modules/trunk/event_calendar

Go to Top