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 and 2.4


Reply

929 Views

Avatar
briley

22 December 2009 at 10:43am (Last edited: 22 December 2009 10:45am), Community Member, 7 Posts

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.