Move Items from Database into File System

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jared867
    Member
    • Mar 2009
    • 64

    Move Items from Database into File System

    What should my path look like for this? I tried "/public_html/mywebsitefolder/myvbfolder/storage/attachments"
    I have storage and attachments set to 777 but I keep getting told writing the test file has failed.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74172

    #2
    On some servers, the directories have to be owned by and in the same group as the webserver users as well. This would be due to additional security layers that hosts sometimes install. You would have to ask your hosting provider if this is necessary and if they can help you with the change.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • snakes1100
      Senior Member
      • Aug 2001
      • 1249

      #3
      You can get the correct path a few different ways, a quick and easy way is to look at your phpinfo in the maintenance section of your admincp.

      The line noted here: _SERVER["SCRIPT_FILENAME"]

      This will show the full path, /home/username/public_html/mywebsitefolder/myvbfolder/storage/attachments

      You should be able to use /home/username/attachments depending on server security settings.
      Gentoo Geek

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...