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

eaton’s picture

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

gregp808’s picture

Thanks for the fast response...will let you know if any further problems

gregp808’s picture

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

eaton’s picture

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

gregp808’s picture

Thanks, but this is the message I got after running update.php

Any suggestions?

Cheers,

eaton’s picture

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