I've set up a content type with a Datetime field using Text Field with Date Pop-up calendar.
When I try to save the new node, I get a white screen with this error:

Fatal error: Call to undefined function date_is_all_day() in "blahblah"\sites\all\modules\date\date\date\date\date.module on line 711

The node does get created, but with the default date and time (current), instead of what was selected with the widget. I haven't tried using other widgets yet to see what effect that might have. I'm not a code developer, so I don't know how to proceed beyond reporting this.

Comments

David D’s picture

FWIW, I get the same error regardless of which widget I use, and I also get the error when trying to view any node created with this content type.

duntuk’s picture

same here, just tried making a new event and error popped up.

duntuk’s picture

actually, the culprit was the date module being out of date.

Updating to latest dev fixed this--as mentioned here: http://drupal.org/node/985710#comment-3778352

arlinsandbulte’s picture

Status: Active » Fixed

Yep, you need the latest -dev release of the Date module. I am marking this issue as fixed.

I also marked #985710: problems with Calendar module as a duplicate of this issue.

David D’s picture

Thank you! It seems ok now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

pjriot’s picture

Status: Needs work » Closed (fixed)

This appears to have regressed. There is still a call to this function on line 729. I'm reopening the issue in the hopes of getting someone who knows something about it to have a look. If you want to provide me with pointers to what functions should be used instead, I'm more than happy to write a patch. Apologies in advance if I'm breaking process here.

pjriot’s picture

Status: Closed (fixed) » Needs work
karens’s picture

Status: Closed (fixed) » Fixed

This is a valid function. The errors were because the Date module, which has it, was out of date.

The date files have all been re-organized. If you're still getting errors you probably need to clean out the date folder and re-download the files, then clear the caches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

pjriot’s picture

Gah, just got to get back to this now. Thanks a lot Karen, that worked like a charm.