Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem: If a CCK content type is created which includes a date field, it is not possible to create a node of that type because the node creation form does not have a date entry field.
I have set up a second server from scratch specifically to recreate this issue.
Steps to create:
- Server: Ubuntu 8.04 using php 5.2.4; apache 2.2.8; MySQL 5.0.51a
- Also tested on: CentOS 5.1 using php 5.1.6; apache 2.2.3; MySQL 5.0.22
- Install Drupal 6.2
- Install cck-6.x-1.x (2008-04-12)
- Install date-HEAD (2008-03-12)
- Enable CCK: content only
- Enable Date: Date + DateAPI + Date Timezone
- Create new content type called Event
- Add one new field of type: Date (Text Field with strtotime validation)
- Save Event content type
- Try and create a new node of type Event -- there will be nowhere to enter the date
I was concerned that this might be a PHP 5.1 / 5.2 issue, so I set up the Ubuntu server with PHP 5.2 but it did not solve the problem.
Comments
Comment #1
andrewfn CreditAttribution: andrewfn commentedI have done some more testing on this:
Comment #2
andrewfn CreditAttribution: andrewfn commentedI was using HEAD, thinking I was using the latest version, but because of some missing tagging, HEAD is old (March 12)
When I used CVS instead of head, some of my problems started to get resolved. I am going to do some in-depth testing, but my initial findings are that:
Fatal error: Class 'views_handler_argument_date' not found in /var/www/sites/all/modules/date/date/date_views.inc on line 53
Comment #3
kriskd CreditAttribution: kriskd commentedSames results here. Where do I grab the CVS version (didn't see it in "View all releases")?
Comment #4
andrewfn CreditAttribution: andrewfn commentedYou have to check it out from CVS using CVS tools.
Karen, it would be a *great* help if you could tag HEAD as 6.x-1.x-dev so that nightly builds get generated!
Comment #5
KarenS CreditAttribution: KarenS commentedI can't do anything with HEAD right now, I should be able to rename it, but I can't, so something is wrong with it (as noted in the issue I filed).
I'm going to do a D6 branch shortly (hopefully by the end of the week).
Comment #6
kriskd CreditAttribution: kriskd commentedStill not getting a date field in my content type with the beta 6 version.
Comment #7
kriskd CreditAttribution: kriskd commentedI'm still not getting a field for the date from the May 10 release of 6.x-1.x-dev. Is anyone else getting it? In my content type I even deleted my date field and re-created it. Still a no show.
Comment #8
KarenS CreditAttribution: KarenS commented@kriskd - I can't reproduce your problem so do an export of your date field and post it here, and also provide info about your system -- PHP version, MYSQL version, etc.
Comment #9
andrewfn CreditAttribution: andrewfn commentedJust for the record, I was the one who posted this problem and it went away for me a month ago, once I started using CVS and not the old HEAD build.
Comment #10
kriskd CreditAttribution: kriskd commentedI tried to export the date field and got the following error:
Maybe that will provide a clue to my problem?
PHP Version 5.2 and MySQL 5.
Comment #11
KarenS CreditAttribution: KarenS commentedI just released a new 6.2-beta2 version for Date, so update to the latest code for Date and also get the latest -dev version of the Views module, which has some date-related changes that are needed for the Date views handling. If you use the Calendar module, get the new 6.2-beta2 version of that as well.
If you still have problems after that, open a new issue marked with the beta2 version so I know it's still a problem there.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.