Menu

Gallery Install help needed

Help
Anonymous
2002-04-27
2002-08-05
  • Anonymous

    Anonymous - 2002-04-27

    I have installed the gallery mod as specified in the install doc. It shows up in the admin, and I can go to it. But when I click Create Gallery, I get, "An image directory error occurred. Please check you gallery configuration file. "  I do not have root access, so I made the images, media, and even the thumbnails folders to have rwx for all.

    In the config file, I think I have set the variables as follows:

    /* Absolute system path to the gallery
    mod directory. Exclude trailing slash. */
    $gal_path = '/var/www/html/php/mod/gallery'; ## example: /home/htdocs/mod/gallery

    /* Relative URL to the gallery mod
    directory. Exclude trailing slash */
    $gal_url = './php/mod/gallery'; ## example: ./mod/gallery

    I think that's correct.  The top variable is the complete path and the other just from the actual web documents folder forward.

    Help?!
    Thanks in advance.

    Jeff Mao
    jmao@classof92.org

     
    • Joel Williams

      Joel Williams - 2002-08-02

      I'm having the same problem.  I'm running Version 0.8.2 of phpws on a shared server at www.futurequest.net  Homepage for phpws is

      I've tried installing several modules this morning which state they are for 0.8.2 but don't have any of them working.  Some show up in the Modules Setup, some don't.  For example, "gallery" shows up and says it has installed.  "ShowInMain" does not show up at all.

      PhpWebsite is running at http://www.coastaloutdoors.com/phpwebsite/index.php  Right now, this is just for development, so, if you want to see any of the admin stuff, just use the standard admin login.

      This is my config Gallery:

      $gal_path = '/big/dom/xcoastaloutdoors/phpwebsite/mod/gallery'; ## example: /home/htdocs/mod/gallery

      /* Relative URL to the gallery mod directory. Exclude trailing slash */
      $gal_url = '/phpwebsite/mod/gallery'; ## example: /mod/gallery

      I get the same error as Jeff.

      Obviously I am missing something major with the modules thing.  Some direction would be greatly appreciated.

      Thank you Joel joel@coastaloutdoors.com

       
    • Edward Ritter

      Edward Ritter - 2002-08-05

      For one thing, ShowInMain WON'T show up in the admin section by it's very nature. Be sure to read the documentation that came with it.

      It looks like your paths are set up right. Now again, by reading the docs (which is what I did to get it running) you need to make sure that there is an additional directory under media called "thumbnails" again with the appropriate permissions. It IS in the documentation. I suggest reading and not skimming.

      I'm sorry if this sounds harsh, but I take no pity on those not reading directions.

      Now, if you get an error stating that it can't copy an image, now that has to do with your hosting company having PHP SAFE_MODE on and that is an issue you can deal with the author about...

      Ed

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.