Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » event_calendar module produces empty pages

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 1587 Views
  • freakout
    Avatar
    Community Member
    49 Posts

    event_calendar module produces empty pages Link to this post

    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?

  • UncleCheese
    Avatar
    4085 Posts

    Re: event_calendar module produces empty pages Link to this post

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

  • freakout
    Avatar
    Community Member
    49 Posts

    Re: event_calendar module produces empty pages Link to this post

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: event_calendar module produces empty pages Link to this post

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

  • freakout
    Avatar
    Community Member
    49 Posts

    Re: event_calendar module produces empty pages Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: event_calendar module produces empty pages Link to this post

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

  • freakout
    Avatar
    Community Member
    49 Posts

    Re: event_calendar module produces empty pages Link to this post

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

  • UncleCheese
    Avatar
    4085 Posts

    Re: event_calendar module produces empty pages Link to this post

    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:

    1587 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.