Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2009 at 02:56 UTC
Updated:
11 Feb 2009 at 00:57 UTC
After installing Views 6.x.2.3 I got the following error (preceded by clicking "status reports"):
Fatal error: Cannot redeclare date_api_views_data() (previously declared in /path-to/sites/all/modules/date/includes/date_api.views.inc:123) in /path-to/sites/all/modules/date/date_api.views.inc on line 60
Comments
Comment #1
merlinofchaos commentedThe problem you report is clearly in date.module -- sites/all/modules/date
(guessing at version)
Comment #2
asimmonds commentedYou have two releases of date 6.x-2.x installed into the same directory. Delete the date directory entirely and extract a fresh copy of the latest date (6.x-2.0-rc6) in it's place.
Comment #3
2createwdrupal commentedYes, but re-installing views 2.2 removed the "fatal error" (last night).
I did have date rc6 installed, but did as suggested by @asimmonds and deleted and re-installed the date module.
Then I installed Views 2.3 (but have date module unticked) and "reports>available updates" tells me that 2.2 is installed. Odd, but everything is (appears to be) working, so I'm leaving it alone for now.
Thanks!
Comment #4
jgoldfeder commentedI experienced the same issue. By uploading views 6-2.3, it produced the same error.
I fixed it by removing the date module and re-uploading it.
Comment #5
2createwdrupal commentedYesterday, one Views page, nodes were displayed ok, but all the images were gone and a list of error messages appeared at the top of the page. I figured that this was due to a recent loss of images in the files directory - although I had already restored the images in the files directory via ftp. So, I then thought that I had to reload each image by editing each node and I did that yesterday.
Today, when I looked at that page, all the images were gone and several lines of "Unable to create scaled Thumbnail image." appeared at the top of the page.
I completely re-installed Views 2.2. When I refreshed the page with 2.2 installed, all the images and thumbnails were in place.
Conclusion: there are some problems with Views 2.3. I wish I could be of more help.
Also, I should note that I have not ticked "date" module back on - though other parts of date are on.
Comment #6
Tony Sharpe commentedTo add to the above, I had this problem with both date and calendar. I deleted all files for both date and calendar modules and put fresh rc6 code back in and all now works fine.
Comment #7
merlinofchaos commented#5: You're confusing me. I don't understand why you moved this back; what you report in #5 is totally different from the original issue report, and I don't have the time to go fishing. I need concise, easy to follow bug reports and your issue report is weaving and bobbing like a drunken driver.
I'm going to won't fix this, because there's nothing useful in this report. Please file a new issue if you still need assistance.
Comment #8
2createwdrupal commentedSorry that was so confusing, but yes, 2.3 was causing problems like a drunken driver. I wasn't driving though; I was the designated test driver.
To sum up: date module wasn't the cause of part two, so moved it back to Views. Date module off, Views 2.3 presented a different problem, as stated. It is not necessary to fix it because Views 2.2 works fine.
All I can do is state what happened. I update as updates become available, but sometimes an update doesn't work. I usually have the previous version to revert to and that is what works for now. It's ok, don't worry about it. You've spent a lot of time on this excellent and important module and I, and many others I'm sure, appreciate it. I've spent, relatively speaking, a little time trying out the latest version, but like the previous version better.
Comment #9
merlinofchaos commentedOk. I still think there are at least 2 separate issues here and you're documenting them both in a single issue and that's confusing.