Hi, after update I am getting fatal error

Fatal error: require_once() [function.require]: Failed opening required '.../sites/all/modules/date/date_views/includes/date_plugin_display_attachment.inc' (include_path='.:/usr/php5/lib/php') in ..includes/bootstrap.inc on line 2977

CommentFileSizeAuthor
#5 dateview.png23.52 KBRyanPrice
#5 datecontenttype.png16.51 KBRyanPrice

Comments

karens’s picture

The Date Browser has been removed from the code. You need to remove it from any views you are using. I tested that this worked without a fatal error before committing it. If you're getting a fatal error be sure you don't have custom code trying to use that attachment somewhere. Also be sure to clear the cache. The notes about this are in the CHANGELOG.txt.

karens’s picture

Status: Active » Postponed (maintainer needs more info)
RyanPrice’s picture

I received the same error after updating. I don't have custom code, but do use the date in a view. What needs to be updated in the view to change this?

I'll have to revert back to an older release and make the change as I'm getting the same error trying to look at the views admin page.

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

I just committed a fix to add an empty file to get around the fatal error. It won't do anything but will prevent the error. You will still need to go to the view and remove the unneeded attachment and add a Date pager instead.

If you're using the tarball instead of git, the change won't be available until tomorrow. If you need an immediate fix, just put an empty file with that name in date/date_views/includes.

RyanPrice’s picture

StatusFileSize
new16.51 KB
new23.52 KB

Thanks KarenS,

I updated to your recent commit and it did indeed fix the error. I am confused what you mean by "You will still need to go to the view and remove the unneeded attachment and add a Date pager instead."

I've attached my view and the content type the date is used in. I'm not sure what the unneeded attachment is you are referring to.

Thanks,
Ryan

karens’s picture

If you had a view that used the Date Browser attachment, you will need to remove the attachment from the view. If you didn't have such a view there is nothing to do.

Status: Fixed » Closed (fixed)

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