Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-19-2009, 05:21 PM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 03-19-2009, 05:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-19-2009, 05:33 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 03-19-2009, 07:26 PM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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.
Reply With Quote
  #5  
Old 03-19-2009, 07:38 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/
Reply With Quote
  #6  
Old 03-19-2009, 08:04 PM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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
Reply With Quote
  #7  
Old 06-07-2009, 12:04 PM
triff's Avatar
triff triff is offline
 
Join Date: Sep 2007
Location: Norway
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HOW exactly do I create an offline root directory?

SGL.
Reply With Quote
  #8  
Old 06-07-2009, 04:07 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 06-10-2009, 06:58 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by triff View Post
HOW exactly do I create an offline root directory?

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.
Reply With Quote
  #10  
Old 08-27-2011, 10:50 AM
itilm's Avatar
itilm itilm is offline
 
Join Date: Aug 2011
Location: Karachi
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same Prob dear
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:28 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.04229 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete