Some issues with new WPG3 install

getsumbaby

Joined: 2007-11-13
Posts: 18
Posted: Tue, 2007-11-13 16:23

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

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Tue, 2007-11-13 16:42
Quote:
mkdir failed for /home/kustom07/public_html/gallery/g2data/albums/warrior

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

 
getsumbaby

Joined: 2007-11-13
Posts: 18
Posted: Tue, 2007-11-13 19:45

g2data folder = 777
g2data/albums folder = 755

I will move the folder...

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2007-11-13 21:33

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