| Author |
Message |
gunner
Sergeant


Joined: Jul 07, 2003
Posts: 140
|
Posted:
Sun Jan 04, 2004 7:36 am |
  |
Is anybody getting this eerror with the survey module?
| Code: |
| Parse error: parse error in /home/boozebro/public_html/modules/Surveys/index.php on line 3 |
I just added the newest CVS files on 3 Jan. Strange...
Ok just edited my post I think this might be the problem the
| Code: |
<?php
$Author: zx $
$Date: 2004/01/03 18:12:20 $
$Log: index.php,v $
Revision 1.4 2004/01/03 18:12:20 zx
Fixed one more entry for improper result counting.
Revision 1.3 2003/11/23 20:24:17 robin
Increased survey polling from 1800 seconds to 2592000 seconds
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/ |
Should be
| Code: |
<?php
#$Author: zx $
#$Date: 2004/01/03 18:12:20 $
#$Log: index.php,v $
#Revision 1.4 2004/01/03 18:12:20 zx
#Fixed one more entry for improper result counting.
#Revision 1.3 2003/11/23 20:24:17 robin
#Increased survey polling from 1800 seconds to 2592000 seconds
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/ |
|
_________________ .::.
http://www.boozebros.ca |
|
    |
 |
nukecopsjerry
Nuke Soldier


Joined: Dec 12, 2003
Posts: 14
|
Posted:
Sun Jan 04, 2004 4:48 pm |
  |
Yes, this will work. But when you get to Survey main menu. And choose one of the survey. Vote it, and you found another error message:
| Quote: |
| Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in d:\iis\modules\Surveys\comments.php on line 271 |
I don't know if this happens to other people too? |
|
|
   |
 |
gunner
Sergeant


Joined: Jul 07, 2003
Posts: 140
|
Posted:
Sun Jan 04, 2004 6:21 pm |
  |
| Quote: |
| Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/boozebro/public_html/modules/Surveys/comments.php on line 271 |
Hmmm.... you're absolutely correct. Hopefully they'll fix this one soon. |
_________________ .::.
http://www.boozebros.ca |
|
    |
 |
infotech
Nuke Cadet


Joined: Feb 14, 2003
Posts: 8
Location: UK
|
Posted:
Thu Jan 08, 2004 11:19 am |
  |
The Survey Module in 7.0 does not work. It does not count votes and the total remains at 0. |
|
|
    |
 |
infotech
Nuke Cadet


Joined: Feb 14, 2003
Posts: 8
Location: UK
|
Posted:
Thu Jan 08, 2004 11:21 am |
  |
I commented out the lines but did not get the second error message.
However, the votes are still not counted and the total remains at 0. |
|
|
    |
 |
infotech
Nuke Cadet


Joined: Feb 14, 2003
Posts: 8
Location: UK
|
Posted:
Thu Jan 08, 2004 11:28 am |
  |
I commented out the lines, but do not get the second error message.
However, the same problem remains: the votes are NOT counted and remain at 0.
I hope this problem is investigated because I am unable to locate the problem.
Thanks in advance. |
|
|
    |
 |
gunner
Sergeant


Joined: Jul 07, 2003
Posts: 140
|
Posted:
Fri Jan 09, 2004 2:45 pm |
  |
My problem is that I can no longer add comments. I'll likely just use the old survey files. |
_________________ .::.
http://www.boozebros.ca |
|
    |
 |
judas
Corporal


Joined: Apr 24, 2003
Posts: 66
Location: dev/hda1
|
Posted:
Wed Jan 14, 2004 9:52 am |
  |
yeah zx..index.php on surveys..have bugs.
cvs history needs to be commented (comments dont have the #)
and comments.php have T_ENCAPSED_AND_WHITESPACE issues.
and cvs seems to be broken..a error about .lock permission denied on the mysqltap module.
excuse me fort my bad english.
bye |
|
|
   |
 |
kjcdude
Captain


Joined: Jun 10, 2003
Posts: 441
Location: Southern California
|
Posted:
Thu Jan 15, 2004 6:07 pm |
  |
Index.php for the servey module is most likely not the problem, that original error was just something that the BNC staff missed, easy fix. The comment.php error is something a bit more, i have tried to fix it but no luck, the staff should have it fixed soon. |
_________________ Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks |
|
       |
 |
gandolf8
Nuke Cadet


Joined: Jan 24, 2004
Posts: 4
|
Posted:
Mon Jan 26, 2004 9:40 pm |
  |
I had the first error which was easily fixed by commenting out the first lines.
Then I got the second error when i click "results". It now counts votes, but no comments.
"comments.php on line 271" |
|
|
    |
 |
STeeL_LT
Nuke Cadet


Joined: Jan 10, 2004
Posts: 3
|
Posted:
Sun Mar 21, 2004 10:21 am |
  |
I got the latest revision of survey module with CVS update:
# Revision 1.6 2004/03/19 00:59:04 cs
I still had to comment-out first lines of code in index.php, but after that, everything worked fine - results AND comments. |
|
|
   |
 |
TRANCEBUDHA
Nuke Soldier


Joined: Apr 06, 2004
Posts: 13
|
Posted:
Tue Apr 06, 2004 3:38 pm |
  |
WHAT I DID I HAVE A COPY OF PHPNUKE 7.1 AND I COPY THE FULL SURVEY MODULE OVER THE CVS SURVEY MODULE AND IT WORKED |
|
|
    |
 |
|
|