1
technobia
XoopsPoll 1.1 & PHP5
  • 2006/10/11 19:41

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


I was using xoopspoll 1.0 successfully until I upgraded to PHP 5.1.6 and it broke.

I deactivated it, uninstalled it, deleted the module folder, cleared all the cache and template_c files, recreated my cache/adminmenu.php file AND made sure the old db tables were gone from the database.

Then I installed the lates version 1.1.

I have the same issue I had with 1.0. Can not edit, delete, or add a new poll.

Any suggestions?
I REALLY need a simple poll module for my portal.
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!

2
togobs
Re: XoopsPoll 1.1 & PHP5
  • 2006/10/11 20:23

  • togobs

  • Just popping in

  • Posts: 23

  • Since: 2005/5/2 1


I had the same problem, but I solved it.

You had to work on the php and change these variables:

$HTTP_GET_VARS è ora $_GET
$HTTP_POST_VARS è ora $_POST
$HTTP_COOKIE_VARS è ora $_COOKIE

and all work well

ciao
toto

3
technobia
Re: XoopsPoll 1.1 & PHP5
  • 2006/10/11 20:35

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Hey thanks but what file or files need to be edited?

I do not understand what the ' è ora ' characters are. Should that be ' = '?
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!

4
togobs
Re: XoopsPoll 1.1 & PHP5
  • 2006/10/11 20:45

  • togobs

  • Just popping in

  • Posts: 23

  • Since: 2005/5/2 1


ooops sorry, I've copied these from the italian site...

$HTTP_GET_VARS must be $_GET
$HTTP_POST_VARS must be $_POST
$HTTP_COOKIE_VARS must be $_COOKIE

This means that you had to substitute $HTTP_GET_VARS with $_GET and the same for the others...

You must change these variabiles in different files (I don't remember which, but are several), manually searching every variable and changing it.
I can't attach the corrected file.

5
technobia
Re: XoopsPoll 1.1 & PHP5
  • 2006/10/11 20:48

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


OK thanks. Just to be sure. You are talking about the .php files in the xoopspoll module right?
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!

6
togobs
Re: XoopsPoll 1.1 & PHP5
  • 2006/10/11 20:52

  • togobs

  • Just popping in

  • Posts: 23

  • Since: 2005/5/2 1


YES!

Good work and good xoops

TOTO

7
technobia
Re: XoopsPoll 1.1 & PHP5
  • 2006/10/11 21:37

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


WOO HOO! That worked great! THANKS TOTO!

The files that need to be edited are as follows:

modules/xoopspoll/index.php
modules/xoopspoll/pollresults.php
modules/xoopspoll/admin/index.php

In each file I replaced each incident of:

$HTTP_GET_VARS with $_GET
$HTTP_POST_VARS with $_POST
$HTTP_COOKIE_VARS with $_COOKIE
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!

8
Frodo
Re: XoopsPoll 1.1 & PHP5
  • 2006/10/11 23:03

  • Frodo

  • Just popping in

  • Posts: 6

  • Since: 2006/10/11



9
Timpa
Re: XoopsPoll 1.1 & PHP5
  • 2008/3/4 22:38

  • Timpa

  • Just popping in

  • Posts: 18

  • Since: 2008/1/9 1


Thanks! :)

Login

Who's Online

150 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 150


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