Menu

An image directory error occurred. Please che

Help
Salvo
2002-01-31
2003-02-14
  • Salvo

    Salvo - 2002-01-31

    HI all,
    An image directory error occurred. Please check you gallery configuration file.
    This is the usual problem I have read others.

    Now I have it.. I am trying the gallery local?
    "other plug-ins work"
    so its all in here
    http://salvo/phpwscopy/
    http://salvo/phpwscopy/mod/gallery/images/
    http://salvo/phpwscopy/mod/gallery/media/
    This is my path:

    what should I have in the conf..?
    I tried all. please help.

    $gal_path = '/phpwscopy/mod/gallery';
    $gal_url = './mod/gallery';

    Sal

     
    • Andrew Fisher

      Andrew Fisher - 2002-02-01

      Sal,

      Your paths aren't correct and it's hard to say what the path is without knowing the system. If you're running some form of Unix, go to the mod/gallery directory and type "pwd" at the command line. This will give you the path. If you're running windows, your path will begin with C:\ or a similar letter. Following the C:\ will be directories until you reach mod\gallery.

      The second line for you would be: $gal_url = './phpwscopy/mod/gallery';

       
    • Anonymous

      Anonymous - 2002-02-05

      I am having this problem as well.

      I have:

      $gal_path = '/pajamapixels-www/main/mod/gallery'
      $gal_url = './main/mod/gallery'

      but I am still gettting this error.  I have dropped the  -www but still nothing.

       
      • Andrew Fisher

        Andrew Fisher - 2002-02-07

        Shawn, Double check your paths. If you still can't figure it out, can I see the URL to your phpWebSite installation?

        In the next version, in order to prevent all these path problems, I'm going to include a path helper, or something of the likes.

         
        • Anonymous

          Anonymous - 2002-05-10

          Hi, I also having some problems with the paths, can you help me?

          Erik

           
          • Andrew Fisher

            Andrew Fisher - 2002-05-10

            Erik, I need to know the URL to your phpWebSite installation.

             
    • Anonymous

      Anonymous - 2002-06-04

      Hi Andrew,

      today i install the newest version. But i have also the Problems: An image directory error occurred.
      The URL is http://markt-fischach.de.
      The paths are:
      /* Absolute system path to the gallery
      mod directory. Exclude trailing slash. */
      $gal_path = '/home/www/doc/1042/markt-fischach.de/www/mod/gallery'; ## example: /home/htdocs/mod/gallery

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

      I have tested difficult versions - but allways: ERROR!

      I NEED HELP!!!

      Wolfgang

       
      • Andrew Fisher

        Andrew Fisher - 2002-06-05

        Your $gal_path is incorrect even though it looks fine. I tried to find the correct path for you, but it looks as if the displaying of PHP errors has been turned off on your web site. The best thing to do would be to contact your web host and ask them what the correct absolute path to your gallery mod directory is.

         
    • Anonymous

      Anonymous - 2003-01-20

      I've had this problem on my WIN XP PRO box too !. I sorted it out by as the notes say "USE THE FULL PATH" in my case, as i'm running the apache server install from http://www.firepages.com.au/ i have to use the paths
      $gal_path = 'C:\phpdev\www\euphoria\mod\gallery'; and
      $gal_url = 'C:\phpdev\www\euphoria\mod\gallery';

      You must know the physical path from where-ever your webserver is installed from the c:\

      I'm gonna have fun installing it on my webserver though !

       
    • Anonymous

      Anonymous - 2003-02-04

      Also getting this error....

      this is the absolute path to the directory....
      /var/www/html/mod/gallery

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

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

      What I have in the config file.

      So what am I not getting here? I can be pretty sure of my path, though it is virtual hosting, but when I telnet in, this is it .

      Wes

       
    • Andrew Fisher

      Andrew Fisher - 2003-02-10

      Make sure your directories have the correct permissions.

       
    • Anonymous

      Anonymous - 2003-02-14

      And the correct permissions are?
      Should they all be the same as the images, media, uploads and thumbnails? (open up everything?) Not too secure.

      From the filemanager
      path
      /var/www/html/bsa292/mod/gallery
      Permissions
           Owner    
      Read    
      Write    
      Execute   
          Group    
      Read    
      Write    
      Execute   
          Others    
      Read    
      Write    
      Execute   

      All checked

      I too have a virtual host

      My config

      $gal_path = '/var/www/html/bsa292/mod/gallery';
      $gal_url = './bsa292/mod/gallery';

      I get the same error as stated above
      Help Please

       

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.