vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Survey (UCCASS Survey app integration) (https://vborg.vbsupport.ru/showthread.php?t=82384)

tamarian 06-03-2005 12:55 AM

Quote:

Originally Posted by OrangeFlea
Just tried that, this is what I got:

COMMAND:> chmod -R 744 survey
550 Could not change perms on 744 survey: No such file or directory


I feel like such a n00b ;(

You need to do this command while in your forum's main directory, where the survey directory is just below it.

Type pwd to find where you are in the directory structure:)

tamarian 06-03-2005 01:08 AM

I'v re-uploaded the zip file with some minor changes. No need to upgrade. If you already installed it, just make this edit in this file:

./survey/templates/Default/results_table.tpl

Find this:

Quote:

<tr class="alt1"<td>
Replace with this:
Quote:

<tr class="alt1"><td>
Also made template_c empty, to help those FTP'in. The content will be auto generated when the templates are first accessed.

TTG 06-03-2005 01:46 AM

Quote:

Originally Posted by tamarian
Try chmod -R 744 *

That produces an error

Code:

Warning: getimagesize(/usr/home/thetechg/public_html/retreat/survey/templates/Default/images/bar.gif): failed to open stream: Permission denied in /survey/classes/results.class.php on line 233

tamarian 06-03-2005 01:51 AM

Quote:

Originally Posted by TTG
That produces an error

Code:

Warning: getimagesize(/usr/home/thetechg/public_html/retreat/survey/templates/Default/images/bar.gif): failed to open stream: Permission denied in /survey/classes/results.class.php on line 233

Give me more details. Does this happen only when accessing results, but the rest is working?

TTG 06-03-2005 01:55 AM

Quote:

Originally Posted by tamarian
Give me more details. Does this happen only when accessing results, but the rest is working?

Only when accessing results .. everthing else works fine :)

tamarian 06-03-2005 02:06 AM

Quote:

Originally Posted by TTG
Only when accessing results .. everthing else works fine :)

O.k., try chmod -R 777 instead of 744 just to see if it's really a permission problem.

If that works, then it may just be a matter of changing the owner.

If the apache server is running as apache user (or whatver the user:groupname is), you can then do this:

chown -R apache:apache survey
Then chmod -R 744 survey

TTG 06-03-2005 02:26 AM

Problem solved .. I'd placed the survey directory in the same directory as forum, not below .. when I viewed page source to read the img src, I realised my error .. duh.

All works perfectly .. thanks for the help

OrangeFlea 06-03-2005 08:10 AM

This is killing me. I did everything. The folders are in the right directory, I even manually changed all the permissions to 744, and I still get this:

Code:

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


tamarian 06-03-2005 10:15 AM

Quote:

Originally Posted by OrangeFlea
This is killing me. I did everything. The folders are in the right directory, I even manually changed all the permissions to 744, and I still get this:

Code:

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


Try this:

https://vborg.vbsupport.ru/showpost....0&postcount=16

tamarian 06-03-2005 02:08 PM

There are a couple of template changes. One causes not updating edited questions. I've changed the zip file. For those who already installed it, you just need to re-upload the .tpl files in this directory: ./survey/templates/Default/


All times are GMT. The time now is 10:42 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.01177 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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