View Full Version : Storing files outside of the data base question
dcpaq2xx
03-23-2005, 09:18 AM
Group,
I do not want to store my attachment files inside the data base and am trying to create a folder outside of my data base as explained in the control panel settings.
I have tried creating a folder at the following path (/forum/files) and chmod to 777 but i keep getting error messages that it was UNsuccessful.
Can anyone help me out with this? I am use to PHPBB so this is all new to me, Im learning a whole new game here from what Ive seen so far.
Thanks
Doug
is your forum folder chmod to 0777 ?
dcpaq2xx
03-23-2005, 09:21 AM
Yes.
This is the file path to store attachments in. This file path should be readable AND writeable by your web server (usually CHMOD 777). It should be above your web documents root or users will be able to bypass vBulletin's permissions system and download attachments anyway.
When they say that it should be above your web root or users what the heck does that actually mean?
Above your user/root means you should have it in a web visible area, such as public_html/foldername or public_html/forum/foldername
You may wish to try to place a folder in the same dir as your forum (so they are both in the same list) then chmod it to 0777 and set the path as it should be.
dcpaq2xx
03-23-2005, 04:45 PM
When I try to use /domainname/forum/files or /forum/files neither work and i get the following message.
We attempted to write a test file to /messageboard/files, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path.
Also i chmod'ed the messageboard to 777 and it made no difference.
Would it possibly have something to do with the folder/file ownership and or permmisions in the servers operating system?
I myself am out of ideas here. I would have thought the Vbulletin program writters would have made files external as the default or made this easier to convert. this is a pain. PHPBB was so much easier in this respect.
Doug
Go to your php info in forum, it should show you the absolute path to the file /home/sitename/public_html/forum , something like that.
noppid
03-23-2005, 08:55 PM
Go to your php info in forum, it should show you the absolute path to the file /home/sitename/public_html/forum , something like that.
Thank you, the previous posts were making me nuts till I got here. Good job.
Just trying to do my part and help any I can :) .
noppid
03-23-2005, 10:24 PM
Just trying to do my part and help any I can :) .
I need to quit computers and get an editorail job.
I am sure you would be missed ;)
dcpaq2xx
03-24-2005, 07:20 AM
Go to your php info in forum, it should show you the absolute path to the file /home/sitename/public_html/forum , something like that.
Hate,
Thanks very much for helping me out on this one. Your advice worked. This is the path that I had to use in order to get it to work. This is with an Hsphere Web Hosting Control Panel. (www.psoft.net)
/hsphere/local/home/"accountname"/"domainname"/messageboard
Thanks so much for your help.
Doug
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.