Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.8
Author Message
bakersman
New Member
New Member



Joined: Oct 27, 2005
Posts: 1

PostPosted: Thu Oct 27, 2005 12:16 pm Reply with quote

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
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Oct 27, 2005 3:59 pm Reply with quote

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.
 
View user's profile Send private message
Rumbaar
Regular
Regular



Joined: Apr 16, 2004
Posts: 78
Location: Melbourne, Australia

PostPosted: Thu Oct 27, 2005 5:15 pm Reply with quote

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! 
View user's profile Send private message Visit poster's website
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Thu Oct 27, 2005 5:36 pm Reply with quote

Point me to the download url for the full 7.6 patched, i want to check its files.
 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Thu Oct 27, 2005 5:44 pm Reply with quote

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







PostPosted: Thu Oct 27, 2005 5:50 pm Reply with quote

It could be the patch which is why i wanted to check it, either way let me know
 
Raven







PostPosted: Thu Oct 27, 2005 6:05 pm Reply with quote

okay, your turn Laughing
http://www.ravenphpscripts.com/modules.php?name=Downloads&d_op=getit&lid=134#dl

The problem, I believe, is that $forwarder isn't getting populated. Therefore, header() craps out.
 
Rumbaar







PostPosted: Thu Oct 27, 2005 6:10 pm Reply with quote

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







PostPosted: Thu Oct 27, 2005 7:12 pm Reply with quote

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







PostPosted: Thu Oct 27, 2005 8:03 pm Reply with quote

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&amp;op=results&amp;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.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.8

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©