vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Survey: Add a full-featured survey tool to your forum (https://vborg.vbsupport.ru/showthread.php?t=83038)

AWI 12-11-2005 07:45 AM

Just installed this great addon, thanks it works with 3.5.2 with no problems.

tamarian 12-11-2005 01:40 PM

Quote:

Originally Posted by WNxWakko
I am getting this error at the top when I access the survey.php file.

Have you done the file permissions steps?

Valithor 12-14-2005 06:28 AM

Ok, I've uploaded all the files etc..

Survey.php seems to work fine, but when I click on Create New Survey - nothing happens.. in fact when i click on view results or take survey for the two example surveys - nothing happens either..

As far as I can tell, I've followed the instructions to the letter. The permissions are set at 777 for survey.php, the survey directory and all the sub-directories..

However, SmartFTP wouldn't recognise the command CHOWN..

StarBuG 12-14-2005 07:45 AM

Couldn“t this install script be replaced by a product/plugins ?

mariannet 12-22-2005 12:08 PM

I'm on vB 3.5.2, file permissions fine.

When trying to add question with link "Edit Questions" I get:

Fatal error: Call to undefined function: array_fill() in /home/xxxx/xxxx-www/survey/classes/editsurvey.class.php on line 966

tamarian 12-22-2005 12:39 PM

Quote:

Originally Posted by mariannet
I'm on vB 3.5.2, file permissions fine.

When trying to add question with link "Edit Questions" I get:

Fatal error: Call to undefined function: array_fill() in

Are you using a PHP version older than 4.2? This might be the reason.

mariannet 12-22-2005 12:52 PM

Quote:

Originally Posted by tamarian
Are you using a PHP version older than 4.2? This might be the reason.

Yes, yes, yes....
Shame, it was just what I was looking for :(

Can't upgrade our PHP as it would mean upgrading our dedicated server with loads of clients. Anyway good job :)

kafi 01-03-2006 02:18 PM

I am trying to allow unregistered users to take survey but they are stopped by message (you dont have permission....)

Unregistered can see results and main page, but not take a survey. Is it bug or?

Thank you for this fine adoption .-)

kafi 01-04-2006 08:46 PM

Is the survey recording name of respondents?
There is an option in chart review of results, BUT no name is recorded.

Thank you

mcyates 01-06-2006 12:53 PM

the download file does not work. Its corrupted.

WNxWakko 01-07-2006 10:56 PM

Survey died after upgrade to 3.5.3 All I get is a big blank white page now.
http://www.warriornation.net/Forum/survey.php

peterska2 01-08-2006 12:36 AM

Quote:

Originally Posted by WNxWakko
Survey died after upgrade to 3.5.3 All I get is a big blank white page now.
http://www.warriornation.net/Forum/survey.php

upload the install file again and point your browser to it. one of the options is to install templates. click on that one. when it comes up with 'done' and a 'next step' button CLOSE YOUR BROWSER!! otherwise you will lose all data in your survey tables as it will drop them and re-create them.

WNxWakko 01-08-2006 02:57 AM

yup reinstalling templates fixed it. For whatever reason the upgrade took them out.

dd4w2000 01-12-2006 07:38 AM

Have this installed and working with no problems on 3.5.2

Recently installed this on vb3.5.3

Now getting the error

Quote:

Warning: Smarty error: problem writing './survey/smarty/templates_c/Default^results.tpl.' in /survey/smarty/Smarty.class.php on line 589
When attemting to view the demo surveys am getting

Quote:

Warning: Smarty error: problem writing './survey/smarty/templates_c/Default^question_required.tpl.' in /survey/smarty/Smarty.class.php on line 589
File permissions for survey and all subdirectories are 777
Strange as i installed a working 3.5.2 version yesterday and today on 3.5.3 (different installation, fresh install on 3.5.3 vb) i am getting these problems.

Any ideas?

OttawaGolf 01-18-2006 12:01 PM

Installed on a windows server

http://forum.GolfResource.net/survey.php

Registered users set to allow creating surveys see this above my header
Quote:

Notice: Undefined index: REQUEST_URI in C:\Inetpub\forum\includes\class_core.php on line 1906

Notice: Undefined index: REQUEST_URI in C:\Inetpub\forum\includes\class_core.php on line 1906

Notice: Undefined index: HTTP_REFERER in C:\Inetpub\forum\includes\class_core.php on line 1573

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\forum\includes\class_core.php:1906) in \includes\functions.php on line 3006

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Inetpub\forum\includes\class_core.php:1906) in \survey\classes\main.class.php on line 28

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\forum\includes\class_core.php:1906) in \survey\classes\main.class.php on line 28

Guests see only this on a white page

Quote:

Notice: Undefined index: REQUEST_URI in C:\Inetpub\forum\includes\class_core.php on line 1906

Notice: Undefined index: REQUEST_URI in C:\Inetpub\forum\includes\class_core.php on line 1906

Notice: Undefined index: HTTP_REFERER in C:\Inetpub\forum\includes\class_core.php on line 1573




Unable to add cookies, header already sent.
File: C:\Inetpub\forum\includes\class_core.php
Line: 1906


xBhp 01-18-2006 02:55 PM

To make a question mandatory i think we set the required answers to 1. if thats correct it doesnt work in my case. what do i do so that the surveyee has to answer the question in order to move ahead?

Guest210212002 01-18-2006 07:36 PM

Quick question, does this auto-insert navbar links, or links to it of any kind?

I only ask because there are no template edits in the install docs, and my navbar/etc is setup to the point where the only way I'd want to actually display a link to this would be if I coded it in myself.

Thanks!

xBhp 01-20-2006 07:29 AM

<i>again puttting up this question as this seems to have gone unnoticed : </i>

To make a question mandatory i think we set the required answers to 1. if thats correct it doesnt work in my case. what do i do so that the surveyee has to answer the question in order to move ahead?

Staircase 01-21-2006 11:59 PM

I just downloaded it, and all the files are blank.

?!!?

Guest210212002 01-22-2006 12:08 AM

Quote:

Originally Posted by Staircase
I just downloaded it, and all the files are blank.

?!!?

Downloaded just fine for me. Try it again.

Staircase 01-22-2006 12:12 AM

Ohh okay, it's fine now. Thanks. :P

Oh, I'm wondering if this will work on vB 3.5.3, because this is what happens when I run the install file:

Fatal error: Call to a member function on a non-object in /home/port/public_html/habborly/admincp/vbsurvey_install.php on line 66

PHP Code:

$DB_site->query("REPLACE INTO " TABLE_PREFIX "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" $varname "', '" addslashes($text) ."', '$phrasetype')"); 

Well, that's line 66. Help?

Staircase 01-22-2006 02:17 AM

Eh, I really need help. T.T

Also, in the installation instructions, it says to "Copy the survey directory below your forum directory (cannot change the directory name)". Does that mean put it in, let's say, /public_html/ instead of /public_html/forums/ or something? If that's the case, my forum doesn't have a directory below it since it's a forum-only site. Which files should I modify to change that?

If not... I still need help. :P

OttawaGolf 01-22-2006 09:16 PM

Oh well, after 4 days hoping for a reply, I guess none is forthcoming. I was looking forward to this hack but no cigar for me.

https://vborg.vbsupport.ru/showpost....&postcount=135

Strat 02-05-2006 05:28 AM

I'm getting a Smarty error.

My server uses Windows 2003 (IIS), not Apache. Setting permissions via FlashFXP isn't working and giving me a 500 error. I know that I need to set all TPL files to 744 as somebody else in this thread had the exact same problem (same Smarty error #).

How can I do this? Anybody know?

Gripemaster 02-05-2006 02:26 PM

This is an OUTSTANDING feature!!!

Survey sez.... INSTALLED!!! :banana:

Thank you!

tamarian 02-05-2006 11:58 PM

Quote:

Originally Posted by Strat
I'm getting a Smarty error.

My server uses Windows 2003 (IIS), not Apache. Setting permissions via FlashFXP isn't working and giving me a 500 error. I know that I need to set all TPL files to 744 as somebody else in this thread had the exact same problem (same Smarty error #).

How can I do this? Anybody know?

I'm not experienced with windows servers. If no one else here know, you might want to check the UCCASS site/forum, they might have addressed it.

simalert 02-09-2006 09:24 PM

I can confirm this works with 3.5.3 as it's now running on my forum.

Excellent! Thanks.

Strat 02-12-2006 03:55 AM

To be more precise, here's the error I'm getting. I got the files CHMODded, btw.

Warning: Smarty error: problem writing './survey/smarty/templates_c\Default%2Favailable_surveys.tpl.' in \survey\smarty\Smarty.class.php on line 589

Warning: fetch(./survey/smarty/templates_c\Default%2Favailable_surveys.tpl): failed to open stream: No such file or directory in \survey\smarty\Smarty.class.php on line 692

Warning: fetch(): Failed opening './survey/smarty/templates_c\Default%2Favailable_surveys.tpl' for inclusion (include_path='.;c:\php4\pear') in \survey\smarty\Smarty.class.php on line 692

Ideas?

MorrisMcD 02-12-2006 03:57 AM

Quote:

Originally Posted by Strat
To be more precise, here's the error I'm getting. I got the files CHMODded, btw.


Warning: Smarty error: problem writing './survey/smarty/templates_c\Default%2Favailable_surveys.tpl.' in \survey\smarty\Smarty.class.php on line 589

Warning: fetch(./survey/smarty/templates_c\Default%2Favailable_surveys.tpl): failed to open stream: No such file or directory in \survey\smarty\Smarty.class.php on line 692

Warning: fetch(): Failed opening './survey/smarty/templates_c\Default%2Favailable_surveys.tpl' for inclusion (include_path='.;c:\php4\pear') in \survey\smarty\Smarty.class.php on line 692

Ideas?

I would reinstall the product now that you have the permissions correctly set

Strat 02-13-2006 10:47 PM

Nope. No change. Oh well... I'm done battling with this add-on. I've spent a few hours trying to make it work and it just won't budge. I won't lose any more sleep over it. Good add-on, but just ain't working for me.

docvader 02-14-2006 05:40 AM

Strat, I had the same error. It had to do with getting the permissions on the files right. It's a real PITA, especially if you use FTP Voyager. Hard to really chmod things.

Make sure that your folders are 755, and that ALL of your templates (.tpl files), in ALL of the various folders, are chmod 744.

It does work, and it's one hell of a tool. Impressive.

StuartDH 02-14-2006 10:14 PM

I've tried installing a couple times and have done everything in the install instructions, but I keep getting the error:

WARNING: Cannot find default template path. Expecting: /home/wildabou/public_html/forums/includes/survey/templates/Default

I've duplicated the survey folder to the above address and chmod 777, but still no luck...any ideas?

Cheers

docvader 02-14-2006 10:45 PM

Quote:

Originally Posted by StuartDH
I've tried installing a couple times and have done everything in the install instructions, but I keep getting the error:

WARNING: Cannot find default template path. Expecting: /home/wildabou/public_html/forums/includes/survey/templates/Default

I've duplicated the survey folder to the above address and chmod 777, but still no luck...any ideas?

Cheers

Stuart, did you upload the all the files in the Survey folder? The hack calls to those .tpl template files quite a bit, and those files have to be chmodded 744 so that they can be used.

Your folders can be 755, but all those template files in the default, etc folders have to be 744.

And why did you put the survey folder in forums/ includes/? As I remember, is should go in the forum folder (http://www.xxxxx.com/forum/survey/). Not in the includes folder.

Hope this helps. I got mine to work, after a while.

Frank Butcher 02-17-2006 07:30 PM

What is meant by "Copy the survey directory below your forum directory (cannot change the directory name)"

bashy 02-17-2006 08:53 PM

Hi

I have installed this

Installation went very well....
When i click on any links such as create, or view a example survey it just refreshes the page... The only thing i can see is the documentations when i click that link...
I have set all the permissions in the admincp
Any advice please?
I am running VB 3.5.3

cmiller1014 02-18-2006 01:28 AM

Anyone have luck on 3.5.3?

zweefer 02-18-2006 07:02 PM

okay, I did a quick search, and found nothing, then an even quicker scan over the posts, and did not see my problem, so here goes...
When a member quits out of a survey and then goes back to retake/ finish the survey they can't. it says " You have quit answering this survey. Your answers were not saved." is there any way to change this so members who quit can re-take the survey?

StuartDH 02-19-2006 09:58 AM

Quote:

Originally Posted by docvader
Stuart, did you upload the all the files in the Survey folder? The hack calls to those .tpl template files quite a bit, and those files have to be chmodded 744 so that they can be used.

Your folders can be 755, but all those template files in the default, etc folders have to be 744.

And why did you put the survey folder in forums/ includes/? As I remember, is should go in the forum folder (http://www.xxxxx.com/forum/survey/). Not in the includes folder.

Hope this helps. I got mine to work, after a while.

Hi docvader,

I uploaded all of the survey folder into the forums folder, but for some reason it seems to be looking for the templates etc in forums/includes/ ???

I just tried a fresh install, chmod -R 744 for the survey folder via the CLI, but it came up with the error:

Warning: main(survey/classes/main.class.php): failed to open stream: Permission denied in /survey.php on line 8

Warning: main(survey/classes/main.class.php): failed to open stream: Permission denied in /survey.php on line 8

Fatal error: main(): Failed opening required 'survey/classes/main.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wildabou/public_html/forums/survey.php on line 8

I then -R chmod the survey folder to 777 and haven't changed the content of any of the files, the error disappears, but it's still looking for the templates /includes.

Any ideas?

jaybolt 03-02-2006 03:54 PM

Quote:

Originally Posted by StuartDH
Hi docvader,

I uploaded all of the survey folder into the forums folder, but for some reason it seems to be looking for the templates etc in forums/includes/ ???

I just tried a fresh install, chmod -R 744 for the survey folder via the CLI, but it came up with the error:

Warning: main(survey/classes/main.class.php): failed to open stream: Permission denied in /survey.php on line 8

Warning: main(survey/classes/main.class.php): failed to open stream: Permission denied in /survey.php on line 8

Fatal error: main(): Failed opening required 'survey/classes/main.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wildabou/public_html/forums/survey.php on line 8

I then -R chmod the survey folder to 777 and haven't changed the content of any of the files, the error disappears, but it's still looking for the templates /includes.

Any ideas?

I got the same error regarding template needing to be in the includes folder. I copied the survey folder in its entirity there, chmodded to 777 and it works.

DS MrSinister 03-02-2006 04:30 PM

Quote:

Originally Posted by cmiller1014
Anyone have luck on 3.5.3?


yes and 3.5.4


All times are GMT. The time now is 11:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01551 seconds
  • Memory Usage 1,842KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete