Author |
Message |
bakersman
New Member


Joined: Oct 27, 2005
Posts: 1
|
Posted:
Thu Oct 27, 2005 12:16 pm |
|
Good day
I have recently started to play around with phpnuke 7.8. I can create a poll, add comments to it etc. but I can't vote on it.
I select the option I want, and then click on vote. It takes me to the results page, but no votes show up. I asked my friends to vote on the same poll(different answers) but they all get the same problem, taking them to the results page with no vote count.
I would greatly appreciate it if you could help me out of this predicament.
Thank you!
Regards |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Oct 27, 2005 3:59 pm |
|
I know this doesn't directly answer your question, but I would highly recommend that you entirely scrap v7.8 and delete the database. Then, d/l the 7.6 patched version and install it. We recommend that you not use any version past v7.6 because of security and bug issues that were introduced. Can you try that and then report back if you still have problems. |
|
|
|
 |
Rumbaar
Regular


Joined: Apr 16, 2004
Posts: 78
Location: Melbourne, Australia
|
Posted:
Thu Oct 27, 2005 5:15 pm |
|
Well just to add to that. I've downloaded and installed your full 7.6 patched and am having blank page issues with the Survey module.
But I'd be interested to see what you encounter bakersman if you choose to install 7.6. |
_________________ Victim's aren't we all! |
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Thu Oct 27, 2005 5:36 pm |
|
Point me to the download url for the full 7.6 patched, i want to check its files. |
|
|
|
 |
Raven

|
Posted:
Thu Oct 27, 2005 5:44 pm |
|
Chat, I'm checking them right now. I have tried your latest patches and it still breaks. I'm not saying it's the patch. I'm checking on it. I'll let you know. |
|
|
|
 |
chatserv

|
Posted:
Thu Oct 27, 2005 5:50 pm |
|
It could be the patch which is why i wanted to check it, either way let me know |
|
|
|
 |
Raven

|
Posted:
Thu Oct 27, 2005 6:05 pm |
|
|
|
 |
Rumbaar

|
Posted:
Thu Oct 27, 2005 6:10 pm |
|
The link to the download is the PHPNuke v7.6 Patch Level v3.1 that is in the download seciton of this site, if that is what you were asking. ( Only registered users can see links on this board! Get registered or login!)
Also I've been discussing the issue I've been having with the 7.6 Survey module in this thread FYI:
Only registered users can see links on this board! Get registered or login!
Note: I seem to be having more issues with FireFox 1.0.6+ than IE. |
|
|
|
 |
chatserv

|
Posted:
Thu Oct 27, 2005 7:12 pm |
|
Raven can you send me the survey module's index file and the surveys block from that pack to my email? i seem to be having problems as the download stops at only 200-300 kb |
|
|
|
 |
Rumbaar

|
Posted:
Thu Oct 27, 2005 8:03 pm |
|
D'OH!
I totally forgot about the block-Survey.php in the whole scheme of things. HaHA was working with only the module index.php file, now I can see straight away that the code in the block doesn't have the:
$boxContent .= "<input type=\"hidden\" name=\"forwarder\" value=\"".$url."\">";
in the $content populator for the block or $url poplulator for the input type.
The simplest things...
When I added
Code: if(!isset($url))
$url = sprintf("modules.php?name=Surveys&op=results&pollID=%d", $pollID);
|
and
Code: $content .= "<input type=\"hidden\" name=\"forwarder\" value=\"".$url."\">";
|
to the block code it now functions correctly. Had to hard code the 'Surveys' module instead of the $module_name that was used in the index.php file.
I'm sure the code can be improved on, and I'll await your results. |
|
|
|
 |
|