I cannot create new album. I get this error:
Error Detail -
Error (ERROR_COLLISION) : mkdir failed for /home/kustom07/public_html/gallery/g2data/albums/warrior
in modules/core/classes/GalleryAlbumItem.class at line 234 (GalleryCoreApi::error)
in modules/core/classes/GalleryAlbumItem.class at line 157 (GalleryAlbumItem::_createDir)
in modules/core/classes/helpers/GalleryItemHelper_advanced.class at line 232 (GalleryAlbumItem::create)
in modules/core/classes/GalleryCoreApi.class at line 1561 (GalleryItemHelper_advanced::createAlbum)
in modules/core/ItemAddAlbum.inc at line 76 (GalleryCoreApi::createAlbum)
in main.php at line 231 (ItemAddAlbumController::handleRequest)
in main.php at line 94
in modules/core/classes/GalleryEmbed.class at line 179
in /home/kustom07/public_html/wp-content/plugins/wpg2/wpg2template.inc at line 71 (GalleryEmbed::handleRequest)
in ??? at line 0
in /home/kustom07/public_html/wp-includes/plugin.php at line 164
in /home/kustom07/public_html/wp-includes/template-loader.php at line 3
in /home/kustom07/public_html/wp-blog-header.php at line 21
in /home/kustom07/public_html/index.php at line 4
System Information
Gallery version 2.2.3
PHP version 5.2.4 apache
Webserver Apache
Database mysqlt 4.1.22-standard
Toolkits ImageMagick, Thumbnail
Operating system Linux a2s25.a2hosting.com 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 26 14:14:47 EDT 2007 x86_64
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
My setup is:
Setup Detail:
WPG2 v 3.0.2
Gallery2 v 2.2.3
wordpress v 2.3.1
Ed
http://www.clubkustom.com
Posts: 492
It looks like you don't have the proper permissions set on your g2data directory and/or subdirectories. What permissions are set on g2data and g2data/albums.
Separate, but related issue. For security reasons, you probably want to put your g2data file below your web root, so that it is not directly accessible from the web. I'd move it to /home/kustom07/g2data/. See FAQ: How can I move my storage folder to another path?
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 18
g2data folder = 777
g2data/albums folder = 755
I will move the folder...
Posts: 1378
Please make sure you chmod -r the g2data with the correct permission as right now you cannot create albums..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo