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   1742 Views

Avatar
freakout

Community Member, 49 Posts

6 March 2010 at 3:00am

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

Forum Moderator, 4096 Posts

6 March 2010 at 3:05am

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

Community Member, 49 Posts

6 March 2010 at 3:45am

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

Avatar
UncleCheese

Forum Moderator, 4096 Posts

6 March 2010 at 5:56am

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

Avatar
freakout

Community Member, 49 Posts

6 March 2010 at 7:00am

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

Forum Moderator, 4096 Posts

6 March 2010 at 7:34am

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

Avatar
freakout

Community Member, 49 Posts

6 March 2010 at 11:32pm

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

Forum Moderator, 4096 Posts

7 March 2010 at 4:00am

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