Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By gregp808 on
when I go to admin>modules I get the following error:
Fatal error: Cannot redeclare votingapi_debug_help() (previously declared in /home/.jewels/cipherdood/realworldexplorer.com/modules/votingapi/votingapi_actions.module:8) in /home/.jewels/cipherdood/realworldexplorer.com/modules/votingapi/votingapi_debug.module on line 15
Please help! what is wrong here
Thanks
Comments
Easy to fix
That was a very short-lived bug that resulted from an error in Votingapi. Download the latest version -- and delete the votingapi_debug.module, which was never supposed to be included in the install package at all. Sorry for the confusion!
--
Eaton's blog | VotingAPI discussion
--
Eaton — Partner at Autogram
Thanks for the fast
Thanks for the fast response...will let you know if any further problems
More problems
after enabling all voting modules and running update.php I am getting the following:
admin>modules:
user warning: Unknown column 'parent_name' in 'where clause' query: SELECT * FROM votingapi_action_set WHERE parent_name = '' ORDER BY weight, name ASC in /home/.jewels/cipherdood/realworldexplorer.com/includes/database.mysql.inc on line 120.
user warning: Unknown column 'parent_name' in 'where clause' query: SELECT * FROM votingapi_action_set WHERE parent_name = '' ORDER BY weight, name ASC in /home/.jewels/cipherdood/realworldexplorer.com/includes/database.mysql.inc on line 120.
user warning: Unknown column 'parent_name' in 'where clause' query: SELECT * FROM votingapi_action_set WHERE parent_name = '' ORDER BY weight, name ASC in /home/.jewels/cipherdood/realworldexplorer.com/includes/database.mysql.inc on line 120.
Help appreciated. Thanks
update.php?
Have you run the update.php file? Those tables and columns were all added to VotingAPI a few versions ago. Running the update should get the tables in sync properly...
--
Eaton's blog | VotingAPI discussion
--
Eaton — Partner at Autogram
Thanks, but this is the
Thanks, but this is the message I got after running update.php
Any suggestions?
Cheers,
Hmmm
Are you, by chance, running pgsql as opposed to mysql?
Also, try visiting update.php and MANUALLY selecting votingapi update number 7, then submitting the page. That should force a recreation of the voting action tables...
--
Eaton's blog | VotingAPI discussion
--
Eaton — Partner at Autogram