If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced poll 2.03 Install problems  XML
Forum Index » Support Forum
Author Message
Bargemanos
Beginner

Joined: 10/09/2005 16:26:39
Messages: 10
Offline

Hi there,

I'm trying to install Advanced poll 2.03, just to look at it, and i think because of the good support in this forum use it in future, but i have problems installing the poll.

when i start the install.php in show up nice, with the wizard screen (nice work btw) but when i klik on next, nothing happens.
strange, no errors or something, i looked in the Apache log files and foud the following error:

[Wed Dec 14 00:26:52 2005] [error] PHP Notice: Undefined variable: HTTP_SERVER_VARS in d:\\www\\vorduh\\poll2\\install.php on line 10

8| $version = "v2.03";
9| if (!isset($PHP_SELF)) {
10| $PHP_SELF = $HTTP_SERVER_VARS["PHP_SELF"];
11| if (isset($HTTP_GET_VARS)) {
12| while (list($name, $value)=each($HTTP_GET_VARS)) {
13| $$name=$value;

1st i thing i noticed where the \\ but don't know if this is a problem.

maby anyone has a suggestion?

Greatz
Bargemanos
Bargemanos
Beginner

Joined: 10/09/2005 16:26:39
Messages: 10
Offline

it had something to do with the superglobals think.
i changed:

8| $version = "v2.03";
9| if (!isset($PHP_SELF)) {
10| $PHP_SELF = $HTTP_SERVER_VARS["PHP_SELF"];
11| if (isset($HTTP_GET_VARS)) {
12| while (list($name, $value)=each($HTTP_GET_VARS)) {
13| $$name=$value;

into:

8|$version = "v2.03";
9|if (!isset($PHP_SELF)) {
10| $PHP_SELF = $_SERVER["PHP_SELF"];
11| if (isset($_GET)) {
12| while (list($name, $value)=each($_GET)) {
13| $$name=$value;

So i changed the superglobal variables.

same to admin/commen.inc.php and all the necesary other files otherwish you can't login / sent comment or vote at all after installation.

and the part below this into the new superglobals of PHP4.*+ ( i use PHP5, and the function -register_globals = off)

Greatz
Bargemanos
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum