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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Justin98TransAm
    Senior Member
    • Aug 2005
    • 104
    • 3.6.x

    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
  • beishe8
    Senior Member
    • Oct 2005
    • 6782
    • 4.2.X

    #2
    Originally posted by Justin98TransAm
    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.


    vB5 is unequivocally the best forum software, but not yet...

    Comment

    • Justin98TransAm
      Senior Member
      • Aug 2005
      • 104
      • 3.6.x

      #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?

      Comment

      • Justin98TransAm
        Senior Member
        • Aug 2005
        • 104
        • 3.6.x

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

        Comment

        • boogie box high
          Senior Member
          • Jul 2004
          • 200
          • 3.6.x

          #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

          Comment

          • boogie box high
            Senior Member
            • Jul 2004
            • 200
            • 3.6.x

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

            Comment

            • Justin98TransAm
              Senior Member
              • Aug 2005
              • 104
              • 3.6.x

              #7
              Originally posted by boogie box high
              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

              Originally posted by boogie box high
              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.

              Comment

              • beishe8
                Senior Member
                • Oct 2005
                • 6782
                • 4.2.X

                #8
                Originally posted by Justin98TransAm
                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?


                vB5 is unequivocally the best forum software, but not yet...

                Comment

                • syrus.xl
                  Senior Member
                  • Jun 2005
                  • 546

                  #9
                  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.

                  Comment

                  • Justin98TransAm
                    Senior Member
                    • Aug 2005
                    • 104
                    • 3.6.x

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

                    Comment

                    • Justin98TransAm
                      Senior Member
                      • Aug 2005
                      • 104
                      • 3.6.x

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

                      Comment

                      • Steve Machol
                        Former Customer Support Manager
                        • Jul 2000
                        • 154488

                        #12
                        Either the path you are using is wrong, or that directory and subdirectories are not world-readable and writable.
                        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                        Change CKEditor Colors to Match Style (for 4.1.4 and above)

                        Steve Machol Photography


                        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                        Comment

                        • Justin98TransAm
                          Senior Member
                          • Aug 2005
                          • 104
                          • 3.6.x

                          #13
                          Originally posted by Steve Machol
                          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.

                          Comment

                          • Steve Machol
                            Former Customer Support Manager
                            • Jul 2000
                            • 154488

                            #14
                            Example:

                            C:\directory\attachments
                            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                            Change CKEditor Colors to Match Style (for 4.1.4 and above)

                            Steve Machol Photography


                            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                            Comment

                            • Justin98TransAm
                              Senior Member
                              • Aug 2005
                              • 104
                              • 3.6.x

                              #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; Tue 15 Jan '08, 10:14pm.

                              Comment

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