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 08-27-2011, 11:26 AM
itilm's Avatar
itilm itilm is offline
 
Join Date: Aug 2011
Location: Karachi
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Server Change how to RESTORE attachmnets

Dear all I have got BIG prob MY SQL was very Big... i try on Localhost & separate the attachments will change the server so how can i restore the attachments SQL is All ready installed..
what is the path of attachment....

plz help me full detail

attachments folder is in publichtml/attachments
Reply With Quote
  #2  
Old 08-27-2011, 01:48 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you have the attachments stored in the database or the filesystem? If in the filesystem, then you are the only one who knows where you put them - it isn't a path that vbulletin set, it is a path that you had to manually set up yourself.
Reply With Quote
  #3  
Old 08-27-2011, 03:56 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can easily find the path that your site needs by viewing your php info from the admincp maintenance section.

At the bottom of the php info page, look in the last block which is "PHP Variables", check the following line:

_SERVER["DOCUMENT_ROOT"] /home/username/public_html

That line wil ltell you your path that is needed to set the attachments path to in the attachment manager section:
/home/username/public_html/attachments

It would be better to place them in a none public directory:
/home/username/attachments
Reply With Quote
  #4  
Old 08-27-2011, 04:46 PM
itilm's Avatar
itilm itilm is offline
 
Join Date: Aug 2011
Location: Karachi
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Did you have the attachments stored in the database or the filesystem? If in the filesystem, then you are the only one who knows where you put them - it isn't a path that vbulletin set, it is a path that you had to manually set up yourself.

Sir in database 1.12GB

this Error Showing me plz Help me

We attempted to write a test file to /home/itilm/attachments, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path.


--------------- Added [DATE]1314467311[/DATE] at [TIME]1314467311[/TIME] ---------------

Quote:
Originally Posted by snakes1100 View Post
You can easily find the path that your site needs by viewing your php info from the admincp maintenance section.

At the bottom of the php info page, look in the last block which is "PHP Variables", check the following line:

_SERVER["DOCUMENT_ROOT"] /home/username/public_html

That line wil ltell you your path that is needed to set the attachments path to in the attachment manager section:
/home/username/public_html/attachments

It would be better to place them in a none public directory:
/home/username/attachments

sir plz Urgent Help me i have all ready my data lost plz
this ERROR showing me
We attempted to write a test file to /home/myname/public_html/attachments, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path.
Reply With Quote
  #5  
Old 08-27-2011, 04:58 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your ftp browser, you will need to chmod the attachments dir and its sub dirs to 777

You can also chmod the dir 777 via the cmd line in ssh
Reply With Quote
  #6  
Old 08-27-2011, 05:02 PM
itilm's Avatar
itilm itilm is offline
 
Join Date: Aug 2011
Location: Karachi
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
In your ftp browser, you will need to chmod the attachments dir and its sub dirs to 777

You can also chmod the dir 777 via the cmd line in ssh


ok Thx allot Sir I check then tell you..
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 12:34 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.03623 seconds
  • Memory Usage 2,210KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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