Jump to:

10844 Posts in 2515 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar and 2.4

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 880 Views
  • briley
    Avatar
    Community Member
    7 Posts

    Event Calendar and 2.4 Link to this post

    So, I'm working on a site with Event Calendar and the 2.4 alpha, and I've just about got the admin part working correctly on my test server, but on the live server I'm getting a weird error when I try to create an event in a calendar:

    The AJAX request:

    /admin/getitem?ID=8&ajax=1

    Nothing is printed to the browser, but this was in the server error log:

    PHP Fatal error: Call to a member function FormName() on a non-object in /var/www/vhosts/trainor.com/subdomains/mwp/httpdocs/sapphire/forms/DateField.php on line 54

    I'm not really sure why this isn't an issue on my local dev server that (as far as I know) is using the same alpha build as the remote dev server, but I haven't been able to successfully trace through the code to figure out why this is triggering... any thoughts?

    [Edit]
    I have made a change to the module: I added support for an event to be in multiple calendars using a many-many relationship between CalendarEvents and Calendars and a CalendarHierarchy extension for the Calendar class, if that helps at all.

    880 Views
Page: 1
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.