Closed (won't fix)
Project:
Voting
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Sep 2005 at 05:01 UTC
Updated:
3 Feb 2013 at 15:44 UTC
I'm not sure what's going wrong, but where the module usually would display "Poor", "Average" etc., it says error, and will not save anything to the database. Stars show up just fine, no MYSQL error messages. Example
help?
Comments
Comment #1
warrenm-1 commentedI am experiencing the same/similar problem...
1. base drupal install
2. add voting module
3. create a node with voting attached
The node_voting table is populated, but the votes table had no values and the 'Stars' display shows the message "Error" when the mouse enters the star region.
Possibly this is because I am trying to make it work on my development PC - a simple Mysql, php, Apache, Windows XP install. Perhaps there is something that needs to be setup for shockwave to work properly?
Comment #2
benshell commentedI developed the voting module using a Windows XP, Apache, PHP, and MySQL system, so that shouldn't be a problem. However, I just thought of something that might be the problem (I haven't got a chance to test it yet)... are you using clean URLs? If not, the Flash file won't be able to access the URL 'voting/flash'. However, I'm pretty sure I made that a variable that is passed to the Flash file, so it shouldn't be too hard to fix.
Comment #3
warrenm-1 commentedI just enabled mod_rewrite and set 'clean URLs'.
Voting works correctly now! Thanks for the tip.
Comment #4
benshell commentedI'm glad that worked. Obviously I need to make the voting module work without clean URLs, so I'll try to get back to this sometime next week. Thanks for your patience.
Comment #5
kerrizor commentedThat would be excellent.. although I need to enable clean URLs anyways, it should still work with both preferably.
Otherwise, add a note to the documentation.
Comment #6
scutter commentedMy ISP does not have Mod_Rewrite support, so I cannot enable Clean URL's.
I've reviewed the script in flash and would like to know if can make the change.
I'm not an expert programmer, but could make the change if given direction.
Is this where the change can be made?
Line 93: voteData.sendAndLoad(url + "?rnd="+random(999),voteData,"POST");
Would appreciate any advice.
Thanks!
Comment #7
vthirteen commentedsince there is no further reply to this, i just wanted to ask if the module code had been fixed in order to work w/out clean urls...
thnk you!
Comment #8
duaelfrThis version of Voting is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.