Page 1 of 1

Can't upload images or add albums to Gallery app

Posted: Thu Feb 11, 2010 9:29 pm
by lwhaney
I'm at wits' end. I've searched this forum and gallery with no love on finding the solution. I can't seem to upload any pics or create albums through the local server, upload applet, etc. I've tried several suggestions including changing the permissions through the gallery2/lib/support. I even deleted and reinstalled the web-app several times. At one point, I made enough changes to where I didn't get any error messages and thought it uploaded, but it still didn't display any pics.

I just opened up the gallery2/html/ to 777 out of frustration thinking it was a permissions problem. This is the debug statement that I got.

Error (ERROR_COLLISION) : mkdir failed for /var/hda/web-apps/gallery2/html/g2data/albums/temp

* in modules/core/classes/GalleryAlbumItem.class at line 231 (GalleryCoreApi::error)
* in modules/core/classes/GalleryAlbumItem.class at line 154 (GalleryAlbumItem::_createDir)
* in modules/core/classes/helpers/GalleryItemHelper_advanced.class at line 234 (GalleryAlbumItem::create)
* in modules/core/classes/GalleryCoreApi.class at line 1646 (GalleryItemHelper_advanced::createAlbum)
* in modules/core/ItemAddAlbum.inc at line 80 (GalleryCoreApi::createAlbum)
* in main.php at line 250 (ItemAddAlbumController::handleRequest)
* in main.php at line 104
* in main.php at line 88

I've seen the ERROR_PLATFORM_FAILURE a few times over the past 7 days.

I could really use your help here.

Thanks in advance!

Re: Can't upload images or add albums to Gallery app

Posted: Thu Feb 11, 2010 10:36 pm
by cpg
bug filed here http://bugs.amahi.org/issues/show/437

feel free to file bugs in the future. don't fight it for 7 days!!

please login to the bug tracker and "watch" that bug to get notifications, testing it, etc.

Re: Can't upload images or add albums to Gallery app

Posted: Fri Feb 12, 2010 9:22 am
by gboudreau
See my update in the above bug.

As root, you need to create 3 directories, and you'll be good to go.

Re: Can't upload images or add albums to Gallery app

Posted: Fri Feb 12, 2010 12:21 pm
by bigfoot65
This issue has been fixed. Not sure why they were not created, but added the code to the install script.

Thanks for pointing out the issue.