I had a lot of trouble trying to update the Views module. When I would attempt to run update.php, I got the White Screen of Death. I removed several modules and tried to view the modules page - and got this error:
cannot redeclare date_api_views_data()
Apparently back in one of the many updates, I had upgraded the Date module by dragging the new version on top of the old one. This must have left a conflicting file in place that only interfered once Views was updated.
The solution was to delete the Date module from the modules folder and install a clean copy from Drupal.org's modules download site.
More on this issue:
View 2.3 fatal error
Ads by Google
Posted by ellen at February 18, 2009 12:58 PM
Thanks, you saved me a ton of time.
Just wanted to say thanks--same error, same solution for me. You saved me a lot of trial and error...
Same problem. Your solution worked! Thanks. I would add only that I always update modules by copying over the existing folder. Has worked well for over a year of using Drupal. Some modules don't include everything (E.g. fckeditor), so removing the folder isn't a good idea. Copying over the existing module is proper, I thought. I think this date update issue falls back on the developer, not the user.
I did as above and removed the old date module then replaced it with the latest date module and now get the following error message.
Fatal error: Cannot redeclare calendar_views_query_alter()