Posted by kidrobot on October 30, 2009 at 9:29am
| Project: | Fivestar |
| Version: | 6.x-1.19 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
| Issue tags: | CCK, Fivestar, relationships, views, votingapi |
Issue Summary
When trying to add the Node:Vote Results relationship in Views, I was getting an ajax error.
After turning off Javascript on views and trying to add the relationship again, the following error appeared:
Fatal error: Call to undefined function content_types_install() in sites/all/modules/fivestar/fivestar.module on line 1801
I guess this is because I don't have CCK installed. However CCK is not required since I'm only using the fivestar widget not the fivestar rating field with axis etc.
Comments
#1
yeap.. i also having this same problem.
what i remember is i clear views cache under tools then facing this problem concurrently.
#2
I have the exact same issue! Just managed to fixed it :) See below post
#3
FIXED:
I guessed we're all wrong, CCK is REQUIRED! I went to http://drupal.org/project/cck and installed CCK and the issue is fixed. :)
#4
Automatically closed -- issue fixed for 2 weeks with no activity.
#5
this worked for me also. CCK is REQUIRED!
#6
We should simply skip over that function call with an
if module_exists('content') {. It does not need to be run if CCK is not installed.#7
Here is a patch
#8
Works for me
#9
Had the same issue. The patch worked for me.
It has also fixed AJAX error.
#10
I'm surprised this hasn't been fixed yet.
The patch worked for me.