Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar problem - cannot create new calendar event

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1093 Views
  • josh.gross
    Avatar
    Community Member
    8 Posts

    Event Calendar problem - cannot create new calendar event Link to this post

    Hi there,

    I'm testing out Uncle Cheese's Event Calendar module, and I get a PHP error every time I try to create a new calendar event. I'm not sure if I'm doing something wrong, or whether it's a problem with the Event Calendar module, the DataObjectManager module, or a conflict with Sapphire, so I thought I'd post it here.

    When I try to add a new Calendar Event to a Calendar I get the following PHP error:

    Fatal error: Call to a member function FormName() on a non-object in C:\wamp\www\sapphire\forms\DateField.php on line 208

    Has anyone else come across this problem?

    I'm using SilverStripe version 2.4.5, and the master versions of Event Calendar and DataObjectManager.

    Thanks

  • josh.gross
    Avatar
    Community Member
    8 Posts

    Re: Event Calendar problem - cannot create new calendar event Link to this post

    Somehow this problem seems to have fixed itself. I tried it again today, and now I can create new Events with no errors.

    I haven't reinstalled anything since I tried it last (I had tried that earlier, and it didn't seem to make a difference), so I'm not sure why it's working now.

    Anyway, it all seems good.

  • flashbackzoo
    Avatar
    Community Member
    2 Posts

    Re: Event Calendar problem - cannot create new calendar event Link to this post

    I'm having this problem too. Did you figure out what was causing it?

  • josh.gross
    Avatar
    Community Member
    8 Posts

    Re: Event Calendar problem - cannot create new calendar event Link to this post

    No, I'm not sure what caused the problem, or how it was fixed. One day it wasn't working for me, and the next day, without changing anything about it, I suddenly found that it did work.

  • Codenz
    Avatar
    Community Member
    6 Posts

    Re: Event Calendar problem - cannot create new calendar event Link to this post

    This error is making me bald. I've been trawling the forums for any information about this and just get dead ends. I'm running SS2.4.5 with the github versions of Uncle Cheese's dataobject_manager, uploadify and I've tried installing the legacydatetimefields module, Tried some suggestions from various threads : But nothing works. The next step is to downgrade everything to 2.3.7 compatibility which I know will work. But I really don't want to have to do that. Can anyone out there in the Silverstripe community pinpoint this issue.

    I get exactly this message on a grey background when trying to create a New CalendarEvent...

    "Fatal error: Call to a member function FormName() on a non-object in /home/flydutch/domains/theflyingdutchman.co.nz/public_html/sapphire/forms/DateField.php on line 208"

    I'm hoping that when I go to sleep tonight, I'll wake up to continue on the issue and Bam! it's mysteriously fixed itself over night just like for Josh.gross. Please oh please.

  • Codenz
    Avatar
    Community Member
    6 Posts

    Re: Event Calendar problem - cannot create new calendar event Link to this post

    OK so I woke up and the magic didn't happen. I had to revert to ss2.4.0 with compatible DOM, Event_Calendar and swfupload. That all works sweat.
    Would still love to know what causes this error though so if anyone does know, can you please share. Cheers.

    1093 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.