View Full Version : Move Attachments to the File System
blue6995
03-19-2009, 05:21 PM
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:
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/optimize-vbulletin-server.htm
regards :)
blue6995
03-19-2009, 07: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:
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
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
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.