vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Move Attachments to the File System (https://vborg.vbsupport.ru/showthread.php?t=208813)

blue6995 03-19-2009 05:21 PM

Move Attachments to the File System
 
I am trying to move the attachments from the database to a file system. I have created a folder called attachments in the root directory, CHMod it to 777, but cannot get vBulletin to recognize it. I have tried all variations of the path with no luck.

Basically, my site is www.rwf-forum.co.uk and the folder is attachments. Would I enter that as: www.rwf-forum.co.uk/attachments, or should it be in the vBulletin directory (which is my forum directory)?

Thanks

Lynne 03-19-2009 05:26 PM

No, you need to enter is as something like /home/yourfoldername/attachments

And do NOT put it in the /forums directory. From the popup help:
Quote:

If you are moving attachments into the file system, it is recommended that you do *not* place the folder under your web root (usually named public_html or www or www_root) because people will be able to bypass vBulletin's permission system and download them. Also, you will need to make the folder writeable by PHP. The easiest way to do this is CHMOD it 777 (consult your FTP, Telnet, or SSH documentation for more info on how to do this). We do not recommended that you put a folder that is CHMODed 777 under your web root - another good reason to have it located above the document root.

saadessa 03-19-2009 05:33 PM

Hello .....

i make this moving of my forum to file system as yo tell

the attatement folder must be ( off line ) ....in the same directory of your forum folder

to this link more and clear expalaning
i have practic this explan for my forum ...every thing is ok

http://www.vbulletin-faq.com/optimiz...tin-server.htm

regards :)

blue6995 03-19-2009 07:26 PM

Quote:

Originally Posted by Lynne (Post 1771965)
No, you need to enter is as something like /home/yourfoldername/attachments

And do NOT put it in the /forums directory. From the popup help:

Sorry, I just don't understand this! I just don't get the create a folder above the web root document or offline directory etc. But thank you both for pitching in, it is appreciated.

snakes1100 03-19-2009 07:38 PM

admincp --> maintenance --> view php info

scroll and look for this:
your path will be something like this:
_ENV["SCRIPT_FILENAME"] /some/path/pointing/to/this/file/vbulletin/admincp/index.php

the path you enter would be something like this, i do not put it a public folder as its not needed:

/some/path/pointing/to/this/file/attachments/

your forum points here
/some/path/pointing/to/this/file/public_html/vbulletin/

blue6995 03-19-2009 08:04 PM

Quote:

Originally Posted by snakes1100 (Post 1772057)
admincp --> maintenance --> view php info

scroll and look for this:
your path will be something like this:
_ENV["SCRIPT_FILENAME"] /some/path/pointing/to/this/file/vbulletin/admincp/index.php

the path you enter would be something like this, i do not put it a public folder as its not needed:

/some/path/pointing/to/this/file/attachments/

your forum points here
/some/path/pointing/to/this/file/public_html/vbulletin/

I see, yes. I have found the path. Thanks

triff 06-07-2009 12:04 PM

HOW exactly do I create an offline root directory? :confused:

SGL.

Lynne 06-07-2009 04:07 PM

I don't know what an offline root directory is. If you are talking about creating the directory for your attachments, I know I just created the folder using my ftp client. Make sure you change the permissions for the folder after you create it.

COBRAws 06-10-2009 06:58 PM

Quote:

Originally Posted by triff (Post 1825029)
HOW exactly do I create an offline root directory? :confused:

SGL.

Like Lynne said, connect using your FTP Client and your forum files are probably hosted in a directory called "public_html", you need to go one level up, to the root directory. In that root DIR you should set up a new folder with the permissions specified some posts above.

Then continue with the normal setup steps.

itilm 08-27-2011 10:50 AM

same Prob dear


All times are GMT. The time now is 06:50 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.01108 seconds
  • Memory Usage 1,731KB
  • 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)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete