Gallery error: keeps saying it can't find albums directory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • timyang
    Junior Member
    • Jun 2004
    • 7

    #1

    Gallery error: keeps saying it can't find albums directory

    Hi

    I'm using Gallery. And I've installed it numerous times and I've never come across this problem before.

    I ran the install script and it keeps telling me that the directory I specified for the albums directory is missing.

    But I had created it already and after I got the error, I deleted it and recreated it again. But still the error occurs.

    I changed the permissions of the albums folder, the setup folder and the gallery folder to 777 and still it can't find the albums folder.

    Can someone who has used Gallery recently please help me out? I'm using Gallery 1.4.3pl2.

    Thanks!
  • sdjl
    Senior Member
    • Mar 2004
    • 502

    #2
    PHPsuExec doesn't work with directory permissions over 777.
    Change those folders to 755.

    David
    -----
    Do you fear the obsolescence of the metanarrative apparatus of legitimation?

    Comment

    • timyang
      Junior Member
      • Jun 2004
      • 7

      #3
      Thanks for the reply sdjl!

      It's 755 now. But Gallery keeps insisting that the directory does not exist.

      Is there something else I should do to ensure that Gallery recognises it? Should I create the directory in a place elsewhere?

      Incidently, at the first step, one of Gallery's warnings is:
      Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:

      <Directory /home/tim/public_html/gallery>
      AllowOverride Options FileInfo
      </Directory>

      Does the problem have something to do with this message?

      Thanks!

      Tim

      Comment

      • josephus
        Junior Member
        • Mar 2004
        • 15

        #4
        Gallery albums

        I have my gallery and albums directories in public_html (but not one inside the other) and it has always worked.
        About the "not obeying your .htaccess" message, I have gotten a similar message on every config I've ever done and I just ignore it.
        Let us know what helps, OK? Joseph

        Comment

        • sdjl
          Senior Member
          • Mar 2004
          • 502

          #5
          Have you set the right path to your albums directory? That would be the most likely cause of your problems.
          The .htaccess file is mainly used by gallery for mod_rewrite. This means you can have neat URL's instead of long .php?this=thia&that=that ones

          Have you also consulted the Gallery FAQ or troubleshooting manual(s)?



          David
          -----
          Do you fear the obsolescence of the metanarrative apparatus of legitimation?

          Comment

          • timyang
            Junior Member
            • Jun 2004
            • 7

            #6
            Hi Josephus

            Yeah, I'll be ignoring that message from now on, thanks!


            Hi sdjl

            Yes, I think I have set the path to the album correctly. Please let me know if this is wrong.

            There is an albums folder in the public_html directory.

            So the path is /home/tim/public_html/albums, right?

            Tim

            Comment

            • Jonathan
              Senior Member
              • Mar 2004
              • 1229

              #7
              try just simply /albums as the path
              "How can someone be so distracted yet so focused?"
              - C

              Comment

              • timyang
                Junior Member
                • Jun 2004
                • 7

                #8
                Thanks for the reply Jonathan!

                I followed you advice and used /albums instead of the full path. But it still says "Error: Directory /albums does not exist. Please create it.", yet the albums folder is there. I even deleted it and created it again and it still gave the same error.

                If it helps, i am using Transmit on OSX as my ftp software and I used it to create the folder and it uses something called PASV mode for data transfers. I don't think it has anything to do with this problem. But I just thought I'd mention it.

                Tim

                Comment

                • Jonathan
                  Senior Member
                  • Mar 2004
                  • 1229

                  #9
                  erhm... FTP software shouldn't matter, IMO.
                  When it askes for the path, what does it say?

                  Full path? Relative path? System path?
                  "How can someone be so distracted yet so focused?"
                  - C

                  Comment

                  • timyang
                    Junior Member
                    • Jun 2004
                    • 7

                    #10
                    Hi Jonathan

                    Thanks for being so patient!

                    The instruction is this: (REQUIRED) The full path on physical disk to the directory where your photos will be stored. This directory should start off empty—Gallery will fill it. Note that this directory needs to have write access by the user who is running the web server (in your case this user is tim).

                    Tim

                    Comment

                    • Jonathan
                      Senior Member
                      • Mar 2004
                      • 1229

                      #11
                      Than CHMOD of 755 and the path you said earlier
                      should work in that case...
                      "How can someone be so distracted yet so focused?"
                      - C

                      Comment

                      • timyang
                        Junior Member
                        • Jun 2004
                        • 7

                        #12
                        Hi Jonathan

                        It's already at 755. I didn't have to reset it. I think that's the default permissions setting when folders are created.

                        Comment

                        • Jonathan
                          Senior Member
                          • Mar 2004
                          • 1229

                          #13
                          weird...should work.
                          Try to delete the files and reinstall it maybe?
                          "How can someone be so distracted yet so focused?"
                          - C

                          Comment

                          Working...