You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 53 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Error with survey module [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
gunner
Sergeant
Sergeant


Joined: Jul 07, 2003
Posts: 140


PostPosted: Sun Jan 04, 2004 7:36 am Reply with quoteBack to top

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
Find all posts by gunnerView user's profileSend private messageVisit poster's website
nukecopsjerry
Nuke Soldier
Nuke Soldier


Joined: Dec 12, 2003
Posts: 14


PostPosted: Sun Jan 04, 2004 4:48 pm Reply with quoteBack to top

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?
Find all posts by nukecopsjerryView user's profileSend private message
gunner
Sergeant
Sergeant


Joined: Jul 07, 2003
Posts: 140


PostPosted: Sun Jan 04, 2004 6:21 pm Reply with quoteBack to top

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
Find all posts by gunnerView user's profileSend private messageVisit poster's website
infotech
Nuke Cadet
Nuke Cadet


Joined: Feb 14, 2003
Posts: 8

Location: UK

PostPosted: Thu Jan 08, 2004 11:19 am Reply with quoteBack to top

The Survey Module in 7.0 does not work. It does not count votes and the total remains at 0.
Find all posts by infotechView user's profileSend private messageVisit poster's website
infotech
Nuke Cadet
Nuke Cadet


Joined: Feb 14, 2003
Posts: 8

Location: UK

PostPosted: Thu Jan 08, 2004 11:21 am Reply with quoteBack to top

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.
Find all posts by infotechView user's profileSend private messageVisit poster's website
infotech
Nuke Cadet
Nuke Cadet


Joined: Feb 14, 2003
Posts: 8

Location: UK

PostPosted: Thu Jan 08, 2004 11:28 am Reply with quoteBack to top

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.
Find all posts by infotechView user's profileSend private messageVisit poster's website
gunner
Sergeant
Sergeant


Joined: Jul 07, 2003
Posts: 140


PostPosted: Fri Jan 09, 2004 2:45 pm Reply with quoteBack to top

My problem is that I can no longer add comments. I'll likely just use the old survey files.

_________________
.::.
http://www.boozebros.ca
Find all posts by gunnerView user's profileSend private messageVisit poster's website
judas
Corporal
Corporal


Joined: Apr 24, 2003
Posts: 66

Location: dev/hda1

PostPosted: Wed Jan 14, 2004 9:52 am Reply with quoteBack to top

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
Find all posts by judasView user's profileSend private message
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Thu Jan 15, 2004 6:07 pm Reply with quoteBack to top

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
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
gandolf8
Nuke Cadet
Nuke Cadet


Joined: Jan 24, 2004
Posts: 4


PostPosted: Mon Jan 26, 2004 9:40 pm Reply with quoteBack to top

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. Sad

"comments.php on line 271"
Find all posts by gandolf8View user's profileSend private messageVisit poster's website
STeeL_LT
Nuke Cadet
Nuke Cadet


Joined: Jan 10, 2004
Posts: 3


PostPosted: Sun Mar 21, 2004 10:21 am Reply with quoteBack to top

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.
Find all posts by STeeL_LTView user's profileSend private message
TRANCEBUDHA
Nuke Soldier
Nuke Soldier


Joined: Apr 06, 2004
Posts: 13


PostPosted: Tue Apr 06, 2004 3:38 pm Reply with quoteBack to top

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
Find all posts by TRANCEBUDHAView user's profileSend private messageVisit poster's website
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.printer-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.530 Seconds - 159 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::