+ Reply to Thread
Results 1 to 15 of 15

Thread: albums stored in filesystem, what should the path look like?

  1. #1

    albums stored in filesystem, what should the path look like?

    So i went to move my files from database to filesystem. I'm using IIS6 for my webserver. I get the following options:

    Album pictures are currently being stored in the database
    1. Full Picture File Path This file path should be readable AND writeable by your web server (usually chmod 0777)
    2. Thumbnail File Path This file path should be readable AND writeable by your web server (usually chmod 0777)
    3. URL to Thumbnails (relative to main forum directory)
    is it wanting a full path, eg.:
    e:\inetput\wwwroot\website\forums\albums ?

    I tried that and got an "unable to write to directory" error

  2. #2
    Senior Member beishe8 will become famous soon enough
    Join Date
    Oct 2005
    Location
    The most livable City on Earth
    Posts
    2,107
    Quote Originally Posted by Justin98TransAm View Post
    So i went to move my files from database to filesystem. I'm using IIS6 for my webserver. I get the following options:



    is it wanting a full path, eg.:
    e:\inetput\wwwroot\website\forums\albums ?

    I tried that and got an "unable to write to directory" error
    There isn't a clear example that how to set it up.
    It works for me this way:
    mysite.net
    mysite.net/myforum
    mysite.net/myforum/trypics
    mysite.net/myforum/trypics/thumbnailstry
    mysite.net/myforum/thumbnailstry

    Full Picture File Path: trypics
    Thumbnail File Path: thumbnailstry
    URL to Thumbnails: http://mysite.net/myforum/thumbnailstry

    Something going to be deleted from here.

  3. #3
    well that helps me to understand a little more. when it said, "Full Picture File path" I just realized that means the path the the "full size" picture, and not the full path (as in location) to the pictures

    however that doesn't clear much up. i'm still not able to move my pics into the file system, it's saying they can't create the file to check that webserver has permission to write/delete in that folder. I know it does becaue it's in my site root.

    Anyone have a better description of the syntax needed to do this? do i need to use full urls, forum relative paths, or site relative paths?

  4. #4
    anybody....? Bueller...? Bueller....?


  5. #5
    first of all -

    1. login to your ftp client

    2. create a new folder in your forum directory, for example albumpictures (forums/albumpictures)

    3. chmod this new created albumpictures folder to 777

    4. use the link to this new created folder for "Full Picture File Path" in Admin CP, for example:

    (this is my link):
    /home/xxx_com/www/forums/albumpictures

  6. #6
    btw, I would recommend to update you PhotoPost ASAP!

    http://www.photopost.com/forum/showthread.php?t=134910

  7. #7
    Quote Originally Posted by boogie box high View Post
    first of all -

    1. login to your ftp client

    2. create a new folder in your forum directory, for example albumpictures (forums/albumpictures)

    3. chmod this new created albumpictures folder to 777

    4. use the link to this new created folder for "Full Picture File Path" in Admin CP, for example:

    (this is my link):
    /home/xxx_com/www/forums/albumpictures
    I'm running on an IIS6 Server that I administer, so the file path doesn't resemble yours. but I did everything else as you've stated. I created a folder named "albumpics" in my forums folder, this folder inherits the permission of it's parent "forums" in this case. I then tried every syntax I could think of from full path including drive letter to relative paths, but they all say the same thing.. I'm sure it's a syntax error specifc to IIS

    Quote Originally Posted by boogie box high View Post
    btw, I would recommend to update you PhotoPost ASAP!

    http://www.photopost.com/forum/showthread.php?t=134910

    Saw that too, but according to the notice, it's actually an apache security hole. Since I'm running IIS6 I'm hoping that this doesn't affect me

    I have however realized that I'm in the minority since I run my own server and I'm using IIS6. I have direct access to the file system so I don't use FTP access, and it seems 90% of the people here use apache so it's sometimes hard to get help haha.. Thanks for the info I'll try some more iterations of the path, and hopefully stumble upon the right one.. or if I'm really lucky someone from vBulletin will just tell me what the proper syntax is supposed to be.

  8. #8
    Senior Member beishe8 will become famous soon enough
    Join Date
    Oct 2005
    Location
    The most livable City on Earth
    Posts
    2,107
    Quote Originally Posted by Justin98TransAm View Post
    I created a folder named "albumpics" in my forums folder, this folder inherits the permission of it's parent "forums"
    Are you sure that it inherits the permissions?

  9. #9
    Senior Member syrus.xl is on a distinguished road syrus.xl's Avatar
    Join Date
    Jun 2005
    Location
    Gloucester, England
    Age
    46
    Posts
    388
    Under Linux I have set the path outside the webserver root, basically more secure than having it in the public_html.

    /home/username/images

    The images directory is chmodded to 0777, and all images seem to be working fine.
    Digital Port UK- vBulletin Flash Enhancements

  10. #10
    Quote Originally Posted by beishe8 View Post
    Are you sure that it inherits the permissions?
    yep, already double checked that.

  11. #11
    bump... still can't get this to work.

  12. #12
    Customer Support Manager Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    143,007
    Either the path you are using is wrong, or that directory and subdirectories are not world-readable and writable.
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  13. #13
    Quote Originally Posted by Steve Machol View Post
    Either the path you are using is wrong, or that directory and subdirectories are not world-readable and writable.
    well I figured that much. can you guys provide an example syntax for the album path for a vbulletin install running on IIS, if it is indeed different. As for permissions i've gone as far as even giving the iis server user FULL rights to the folder and still doesn't work. i'm sure it's something with the path statment.

  14. #14
    Customer Support Manager Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol is a splendid one to behold Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    143,007
    Example:

    C:\directory\attachments
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  15. #15
    Okay, figured it out finally. if anyone else is having the problem on IIS. the IUSR_MachineName user needs to have read/write/modify access to the album directory.
    Last edited by Justin98TransAm; Wed 16th Jan '08 at 3:14am.

+ Reply to Thread

Similar Threads

  1. Can I delete custom avatars stored in filesystem
    By cirdok2 in forum vBulletin 3.6 Questions, Problems and Troubleshooting
    Replies: 1
    Last Post: Thu 17th Aug '06, 1:11am
  2. Attachments stored in both DB and filesystem?
    By mariannet in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 4
    Last Post: Wed 22nd Jun '05, 9:50am
  3. Backup files stored in filesystem
    By ChriSsY in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 2
    Last Post: Fri 14th Jan '05, 7:19am
  4. Customavatar stored in Filesystem
    By belinea in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 8
    Last Post: Fri 31st Dec '04, 10:25pm
  5. backup database (stored in filesystem)
    By ChriSsY in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 1
    Last Post: Thu 16th Dec '04, 9:45pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts