Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar BUGS

Discuss all other Modules here.

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

Page: 1 2 3
Go to End
Author Topic: 2999 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar BUGS Link to this post

    Can you give me your revision #'s for event_calendar and dataobject_manager? Are you on SS 2.3.3?

  • cygnet
    Avatar
    Community Member
    20 Posts

    Re: Event Calendar BUGS Link to this post

    I have the latest version of everything - dataobject, silverstripe 2.3.3, event_calendar.

    There is someting wrong with calendar popup while editing date and time. The calendar popup does not appear with or without dataobject, perhaps there is a bug not related with dataobject and event_calandar but with javascript calendar popup?

  • karibe
    Avatar
    Community Member
    56 Posts

    Re: Event Calendar BUGS Link to this post

    Hi UncleCheese

    I'm using Event Calendar and found some bug last time. All my events are placed under "Events"( Calendar type ) page, but there is one that is so important that it should be placed in separated top menu parent "Curses" ( Redirector page type ). I tried to place it under Curses(Redirector)->Problematic Event( Redirector ) to redirect to Events proper subpage but I'm getting error:

    [Warning] file_get_contents() [function.file-get-contents]: Filename cannot be empty
    ....

    Trace

    * file_get_contents()
    Line 280 of SSViewer.php
    * SSViewer::getTemplateContent(BreadCrumbs)
    Line 2 of SSViewer.php(403) : runtime-created function
    * __lambda_func(Array)
    * preg_replace_callback(/<% include +([A-Za-z0-9_]+) +%>/,�lambda_3709,<!-- template /home/karibe/public_html/ijoga/themes/safenet/templates/Layout/CalendarEvent.ss --> <% require css(themes/safenet/css/calendar.css) %> <% require javascript(event_calendar/javascript/calendar_core.js) %> <div id="content"> <div id="article"> <h1>$Title</h1> <div id="primaryContent" class="clearfix"> <div class="innerpad"> <div id="calendar-sidebar"> <div id="monthNav"> <span class="feed"><a href="$RSSLink"><% _t('SUBSCRIBE','Subscribe to the Calendar') %></a></span> $LiveCalendarWidget <h4><% _t('FILTERCALENDAR','Fitler calendar') %>:</h4> $CalendarFilterForm </div> </div> <div id="calendar-main"> <% if Level(2) %> <% include BreadCrumbs %> <% end_if %> <div class="vevent"> <% if OtherDates %> <div id="additionalDates"> <h4><% _t('ADDITIONALDATES','Additional Dates') %></h4> <dl class="date clearfix"> <% control OtherDates %> <dt><a href="$Link" title="$Event.Title">$_Dates</a></dt> <% end_control %> </dl> </div> <% end_if %> <% control CurrentDate %> <h4><a href="$ICSLink" title="Add to Calendar">$_Dates</a></h4> <% if StartTime %> <ul id="times"> <li>$_Times</li> </ul> <% end_if %> <% end_control %> $Content $Form $PageComments </div> </div> </div> </div> <% include BottomNav %> </div> </div> <!-- end template /home/karibe/public_html/ijoga/themes/safenet/templates/Layout/CalendarEvent.ss -->)
    Line 403 of SSViewer.php
    * SSViewer::parseTemplateContent(<% require css(themes/safenet/css/calendar.css) %> <% require javascript(event_calendar/javascript/calendar_core.js) %> <div id="content"> <div id="article"> <h1>$Title</h1> <div id="primaryContent" class="clearfix"> <div class="innerpad"> <div id="calendar-sidebar"> <div id="monthNav"> <span class="feed"><a href="$RSSLink"><% _t('SUBSCRIBE','Subscribe to the Calendar') %></a></span> $LiveCalendarWidget <h4><% _t('FILTERCALENDAR','Fitler calendar') %>:</h4> $CalendarFilterForm </div> </div> <div id="calendar-main"> <% if Level(2) %> <% include BreadCrumbs %> <% end_if %> <div class="vevent"> <% if OtherDates %> <div id="additionalDates"> <h4><% _t('ADDITIONALDATES','Additional Dates') %></h4> <dl class="date clearfix"> <% control OtherDates %> <dt><a href="$Link" title="$Event.Title">$_Dates</a></dt> <% end_control %> </dl> </div> <% end_if %> <% control CurrentDate %> <h4><a href="$ICSLink" title="Add to Calendar">$_Dates</a></h4> <% if StartTime %> <ul id="times"> <li>$_Times</li> </ul> <% end_if %> <% end_control %> $Content $Form $PageComments </div> </div> </div> </div> <% include BottomNav %> </div> </div> ,/home/karibe/public_html/ijoga/themes/safenet/templates/Layout/CalendarEvent.ss)
    Line 324 of SSViewer.php
    * SSViewer->process(CalendarEvent_Controller)
    Line 349 of SSViewer.php
    * SSViewer->process(CalendarEvent_Controller)
    Line 172 of Controller.php
    * Controller->handleAction(HTTPRequest)
    Line 129 of RequestHandler.php
    * RequestHandler->handleRequest(HTTPRequest)
    Line 119 of Controller.php
    * Controller->handleRequest(HTTPRequest)
    Line 29 of ModelAsController.php
    * ModelAsController->handleRequest(HTTPRequest)
    Line 277 of Director.php
    * Director::handleRequest(HTTPRequest,Session)
    Line 121 of Director.php
    * Director::direct(/kurs-nauczycielski-introductory-ii-2010-3/)
    Line 118 of main.php

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar BUGS Link to this post

    Do you have a Breadcrumbs.ss include? If not, you shouldn't have that in your template.

  • karibe
    Avatar
    Community Member
    56 Posts

    Re: Event Calendar BUGS Link to this post

    No I have BreadCrumb.ss include under my /themes/mytheme/Page.ss

    <% if Level(1) %>
    <% include BreadCrumb %>
    <% end_if %>


    After commenting it nothing change... error is the same

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar BUGS Link to this post

    Right, but if includes/Breadcrumbs.ss doesn't exist, you shouldn't be including that template. That's what's throwing the error.

    2999 Views
Page: 1 2 3
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.