I just installed the gallery plugin. I followed all the directions, but when I click on the "create gallery" button on mod.php?mod=gallery&op=mainmenu, I get the error "An image directory error occurred. Please check you gallery configuration file."
I looked through my configuration file. There is nothing I can see that is wrong or out of place. I also double-checked to make sure my images & media directory are both chmod to 777
Any suggestions as to what canbe causing this error? If need be, you can reace me via e-mail dan@weasel.cx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-04-27
I do have the same problem.
Everything seems to be OK but also the same error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your $gal_path variable in the config. file is incorrect. Basically, the script can't open $gal_path/images. The path needs to be an absolute path, so check it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-05-07
It is not just the $gal_path. You have to make sure that the directory structure is created. The zip file in the download does not contain all the required dirctories.
In step (1) of the installation instructions it says:
"Under "gallery", if the folders "images" and "media" are not there, create the directories "images" and "media". Under "media", create a directory named "thumbnails".
If you create the media, media/thumbnails, and images directory you should be GTG.
Billy-
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-08-25
I had the same problem. read the faq in the above link.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-10-12
if you are running the phpwebsite, then just mess up your dbconnect.php file (located in the root file of phpwebsite), so that it cannot access your database.
run your website and it will give you an error page (stating that your dbconnect.php is wrong on line 11, or so)
it will list your path in bold, just copy it over to the gallery_config, and then fix your dbconnect.php back to normal. worked very fine for me, and i didn't have to wait for my webhost to get back to me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-02-14
sufado,
This is the right answer. This should be submitted to the FAQ mentioned above.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just installed the gallery plugin. I followed all the directions, but when I click on the "create gallery" button on mod.php?mod=gallery&op=mainmenu, I get the error "An image directory error occurred. Please check you gallery configuration file."
I looked through my configuration file. There is nothing I can see that is wrong or out of place. I also double-checked to make sure my images & media directory are both chmod to 777
Any suggestions as to what canbe causing this error? If need be, you can reace me via e-mail dan@weasel.cx
I do have the same problem.
Everything seems to be OK but also the same error.
Your $gal_path variable in the config. file is incorrect. Basically, the script can't open $gal_path/images. The path needs to be an absolute path, so check it.
It is not just the $gal_path. You have to make sure that the directory structure is created. The zip file in the download does not contain all the required dirctories.
In step (1) of the installation instructions it says:
"Under "gallery", if the folders "images" and "media" are not there, create the directories "images" and "media". Under "media", create a directory named "thumbnails".
If you create the media, media/thumbnails, and images directory you should be GTG.
Billy-
I'm having the same problem, and I've tried all of these things. Help!
Please try and be more specific about your problem because it's real vague. Also, what's your web site's URL?
I am also receiving the following error at www.hwpc.org:
Error!
An image directory error occurred. Please check you gallery configuration file.
I have the following paths:
/* Absolute system path to the gallery mod directory. Exclude trailing slash. */
$gal_path = '/data/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 the following directories:
/data/mod/gallery
drwxrwxrwx 2 x users 4096 Jul 26 15:39 images
drwxrwxrwx 3 x users 4096 Jul 26 15:36 media
drwxrwxrwx 2 x users 4096 Jul 26 15:39 uploads
/data/mod/gallery/media
drwxrwxrwx 2 x users 4096 Jul 26 15:36 thumbnails
Any help is appreciated, thanxs.
Visit the FAQ at http://phpwsgallery.sourceforge.net/mod.php?mod=faq
I had the same problem. read the faq in the above link.
if you are running the phpwebsite, then just mess up your dbconnect.php file (located in the root file of phpwebsite), so that it cannot access your database.
run your website and it will give you an error page (stating that your dbconnect.php is wrong on line 11, or so)
it will list your path in bold, just copy it over to the gallery_config, and then fix your dbconnect.php back to normal. worked very fine for me, and i didn't have to wait for my webhost to get back to me.
sufado,
This is the right answer. This should be submitted to the FAQ mentioned above.
The absolute path for gallery is as follows (with no trailing slash):
Linux: /home/www/htdocs/PHPWEBSITE_DIR/mod/gallery // no trailng slash
Windows: C:\\inetpub\\wwwroot\\PHPWEBSITE_DIR\\mod\\gallery
Windows PHPDEV: /phpdev/www/phpwebsite_en/mod/gallery