Closed (fixed)
Project:
Voting API
Version:
5.x-1.2
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
27 Dec 2006 at 22:43 UTC
Updated:
6 Jun 2008 at 03:14 UTC
After I enable votingapi, I get the following message:
Table 'kelp_drpl1.votingapi_vote' doesn't exist query: SELECT DISTINCT uid from votingapi_vote in /home/kelp/public_html/tutorialwhore/includes/database.mysql.inc on line 121.
Comments
Comment #1
AndyDoan commentedI'm having the same problem getting the DB to update.
Comment #2
thomasmuirhead commentedI have this very problem as well. The votingapi.install file does not seem to be running properly as the tables are missing from the database upon installation. I have also tried running update.php and this stalls so i am now stuck.
My first stab at fixing it was to try reinstalling using the devel module but this has not worked either.
Any thoughts on a solution?
Cheers
thomas
Comment #3
junyor commentedI'm having this same problem when trying votingapi on 4.7.
Comment #4
klipseracer commentedagain, same problem.... says its a warning.
Comment #5
zoon_unit commentedThere is a workaround for this problem. Delete the voting api tables, then find any and all records in the system table that list voting api and delete them. This will force a fresh install of voting api and should fix your problem.
If this is an update from 4.7, I suspect the problem lies in the fact that the system table does not update the path of the voting api module. If you moved your module from 4.7's module directory to 5.0's sites/all/modules, this may be the cause.
Comment #6
costik commentedYes, this work-around does the job. I'll note that I got the same error when trying to enable the Voting API at the same time as several other modules that depend on it (Five Star and the CRE). After deleting from the DB, I carefully turned on Voting API, and only then others dependent on it, and installation went smoothly. For the nonce, a simple fix might be to tell users to be sure to turn on Voting API before any dependent modules.
Comment #7
eaton commented