Closed (fixed)
Project:
Date
Version:
7.x-1.x-dev
Component:
Date Popup
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2010 at 01:28 UTC
Updated:
11 Feb 2011 at 15:35 UTC
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
Comment #1
David D commentedFWIW, 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.
Comment #2
duntuk commentedsame here, just tried making a new event and error popped up.
Comment #3
duntuk commentedactually, 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
Comment #4
arlinsandbulte commentedYep, 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.
Comment #5
David D commentedThank you! It seems ok now.
Comment #7
pjriot commentedThis 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.
Comment #8
pjriot commentedComment #9
karens commentedThis 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.
Comment #11
pjriot commentedGah, just got to get back to this now. Thanks a lot Karen, that worked like a charm.