Updated my module when I saw the new one was out. Votes don't register now. Please help.

CommentFileSizeAuthor
#2 bug414868.patch2.38 KBbrad.bulger

Comments

brad.bulger’s picture

I am seeing this also. In addition, when I vote for a node, the vote count disappears instead of being updated by the Javascript. Reloading the node restores the original vote count (my vote is not added to the db).

brad.bulger’s picture

StatusFileSize
new2.38 KB

the syntax of the url() function was incorrect in the security release. i've attached the change i made to fix it as a patch.

dmuth’s picture

Issue tags: +patch

I saw this, too. (Not to be rude, but wasn't the fix tested?)

The provided patch fixed the problem. It really needs to be integrated into this module, ASAP. Lots of folks are going to get frustrated when they install the security fix and it breaks the module.

Ainur’s picture

Syntax of url() in 5.x version of the module in theme_vote_up_down_widget() and theme_vote_up_down_widget_alt() is taken from 6.x version.

shiver’s picture

Just installed the module, and i can't add new votes either!! I've tried applying that patch but it breaks my site.
Perhaps somebody can throw up the vote_up_down.module file and make life easier, please and thank you

ianchan’s picture

The patch in #2 worked. BTW - this module is very useful.

Chappy-1’s picture

This patch worked great for me, thank you.

To apply the patch:

cd into your modules directory - either sites/all/modules/vote_up_down or modules/vote_up_down

# wget http://drupal.org/files/issues/bug414868.patch 

# cp vote_up_down.module vote_up_down.module.ORIG
(Make a backup of the .module file - just in case)

# patch vote_up_down.module < bug414868.patch

Just to be safe, I disabled the module before applying the patch, and re-enabled the module once the patch was applied. I had no problems making this change on a production site.

sterwa’s picture

wanted to report that I experienced the same problem and the patch did help

chazz’s picture

"I am seeing this also. In addition, when I vote for a node, the vote count disappears instead of being updated by the Javascript. Reloading the node restores the original vote count (my vote is not added to the db)"

I have the same issue after update to the 1.1 ... :(

vood002’s picture

Thanks very much for the detailed patching instructions... I've found applying certain patches to be overly complex. I patched and the issue is resolved.

Greg Go’s picture

Thanks for the patch. Worked perfectly.

IMHO, this bug/fix warrants a new stable version (5.x-1.2)....

(Ignore this: help for searchers looking for "votes not saved".... :)

marvil07’s picture

Status: Active » Closed (won't fix)
Issue tags: -patch

Please take a look to the update on the project page, now 5.x is not-really-maintained.

avior’s picture

@brad.bulger Thanks for the patch , saved my day (night...)

@marvil07 , i know 5.x is not maintained, just put a note on the project page and reference this page will be enough