vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Storing files outside of the data base question (https://vborg.vbsupport.ru/showthread.php?t=78609)

dcpaq2xx 03-23-2005 09:18 AM

Storing files outside of the data base question
 
Group,

I do not want to store my attachment files inside the data base and am trying to create a folder outside of my data base as explained in the control panel settings.

I have tried creating a folder at the following path (/forum/files) and chmod to 777 but i keep getting error messages that it was UNsuccessful.

Can anyone help me out with this? I am use to PHPBB so this is all new to me, Im learning a whole new game here from what Ive seen so far.

Thanks

Doug

hate 03-23-2005 09:19 AM

is your forum folder chmod to 0777 ?

dcpaq2xx 03-23-2005 09:21 AM

Yes.

Quote:

This is the file path to store attachments in. This file path should be readable AND writeable by your web server (usually CHMOD 777). It should be above your web documents root or users will be able to bypass vBulletin's permissions system and download attachments anyway.
When they say that it should be above your web root or users what the heck does that actually mean?

hate 03-23-2005 09:31 AM

Above your user/root means you should have it in a web visible area, such as public_html/foldername or public_html/forum/foldername

You may wish to try to place a folder in the same dir as your forum (so they are both in the same list) then chmod it to 0777 and set the path as it should be.

dcpaq2xx 03-23-2005 04:45 PM

When I try to use /domainname/forum/files or /forum/files neither work and i get the following message.

Quote:

We attempted to write a test file to /messageboard/files, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path.
Also i chmod'ed the messageboard to 777 and it made no difference.

Would it possibly have something to do with the folder/file ownership and or permmisions in the servers operating system?

I myself am out of ideas here. I would have thought the Vbulletin program writters would have made files external as the default or made this easier to convert. this is a pain. PHPBB was so much easier in this respect.

Doug

hate 03-23-2005 08:50 PM

Go to your php info in forum, it should show you the absolute path to the file /home/sitename/public_html/forum , something like that.

noppid 03-23-2005 08:55 PM

Quote:

Originally Posted by hate
Go to your php info in forum, it should show you the absolute path to the file /home/sitename/public_html/forum , something like that.

Thank you, the previous posts were making me nuts till I got here. Good job.

hate 03-23-2005 08:58 PM

Just trying to do my part and help any I can :) .

noppid 03-23-2005 10:24 PM

Quote:

Originally Posted by hate
Just trying to do my part and help any I can :) .

I need to quit computers and get an editorail job.

hate 03-23-2005 10:27 PM

I am sure you would be missed ;)


All times are GMT. The time now is 11:21 PM.

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.01082 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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