PDA

View Full Version : Server Change how to RESTORE attachmnets


itilm
08-27-2011, 11:26 AM
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 :confused:

Lynne
08-27-2011, 01:48 PM
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.

snakes1100
08-27-2011, 03:56 PM
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

itilm
08-27-2011, 04:46 PM
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 1314467311 at 1314467311 ---------------

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.

snakes1100
08-27-2011, 04:58 PM
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

itilm
08-27-2011, 05:02 PM
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..