I am trying to upgrade my 5.x site to 6.10 and using date 6.x.2.1 to convert event node to date node.
I have created a date content type which with a date field, ready for import event nodes into.
But when I using the "date tool" to perform the import, it always show the message as follows:
There are no date fields in this database to import the data into. Please add a date field to the desired node types and be sure to indicate it uses both a "from" and a "to" date.
I followed exactly the steps on the document pages, but this tool still not working.
Do I missing anything?
Comments
Comment #1
wylbur commentedThis is still an issue with Drupal 6.15 and Date 6.x-2.4. Very frustrating. The tool is not recognizing the date field that I just setup with the date wizard.
Comment #2
klaasm commentedOn line 827 and line 878 change:
if ($field['type'] == 'date' || $field['type'] == 'datestamp')to
if ($field['type'] == 'date' || $field['type'] == 'datestamp' || $field['type'] == 'datetime')This solved the problem for me.
Comment #3
arlinsandbulte commented#2:
Should that change be applied to lines 274 & 325 of date_tools.event.inc?
Comment #4
karens commentedWent ahead and committed that.