1
Sir_Saeed
Problem with xoopspoll module
  • 2008/6/16 10:21

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


hello friends

recently, I had a problem with xoopspoll modules. as I try to go to the vote part in each poll or see the results, I would be redirected to the main page of module.
I did upload the files again and updated the module, but the problem still exist.

Have anybody any solution?
Thanks

2
zyspec
Re: Problem with xoopspoll module
  • 2008/6/16 13:39

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Which version of XoopsPoll, XOOPS and PHP are you using?

XoopsPoll was updated within the past year (I think) to make it work with PHP5.

3
Sir_Saeed
Re: Problem with xoopspoll module
  • 2008/6/16 14:34

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


Xoops 2.0.18.1
Xoopspoll 1
php 5

4
Anonymous
Re: Problem with xoopspoll module
  • 2008/6/16 14:58

  • Anonymous

  • Posts: 0

  • Since:


You could just search through the module files and replace all instances of $HTTP_GET_VARS with $_GET and $HTTP_POST_VARS with $_POST.

5
Sir_Saeed
Re: Problem with xoopspoll module
  • 2008/6/16 21:49

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


well, I found those in two files: index.php and admin/index.php
It solved a part of problem which is to go to the poll page to vote. but still it doesn't go to the result page and say 'return to where u were' or sth.

Is there any other solution too?

6
zyspec
Re: Problem with xoopspoll module
  • 2008/6/16 22:32

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


It's also in ./pollresults.php (around line 35)...

7
Sir_Saeed
Re: Problem with xoopspoll module
  • 2008/6/17 8:49

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


thanks you friends, it's ok now
but can u explain me what these changes do?

8
zyspec
Re: Problem with xoopspoll module
  • 2008/6/17 13:28

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Here's the description from the PHP documentation....

Quote:

Description
An associative array of variables passed to the current script via the HTTP POST method.

$HTTP_POST_VARS contains the same initial information, but is not a superglobal. (Note that $HTTP_POST_VARS and $_POST are different variables and that PHP handles them as such)


9
Sir_Saeed
Re: Problem with xoopspoll module
  • 2008/6/17 14:26

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


aha thank you a lot

Login

Who's Online

111 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 111


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits