Can't move sub-album to root album

fotonut

Joined: 2009-02-21
Posts: 74
Posted: Fri, 2011-07-15 00:07

I can't move a sub-album to a root album. Is it even supposed to work. The call is "rename".

Last Run Details:

Gallery URL = http://preferredprivate.com/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.17 cgi
Webserver = Apache
Database = mysqlt 5.0.91-log, lock.system=flock
Toolkits = Exif, Gd, NetPBM, Getid3, ImageMagick, ArchiveUpload
Acceleration = none/900, none/900
Operating system = Linux infong 2.4 #1 SMP Thu Nov 25 01:59:22 UTC 2010 i686 GNU/Linux
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110614 Firefox/3.6.18
Rows in GalleryAccessMap table = 69
Rows in GalleryAccessSubscriberMap table = 3089
Rows in GalleryUser table = 76
Rows in GalleryItem table = 3089
Rows in GalleryAlbumItem table = 48
Rows in GalleryCacheMap table = 0 

Try to move a sub-album to a root album:

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PATH) : rename /homepages/12/d373751111/htdocs/Drupal/PhotoGalleryData/albums/Manhattan/Brianspictures/ to /homepages/12/d373751111/htdocs/Drupal/PhotoGalleryData/albums/Brianspictures

    * in modules/core/classes/GalleryFileSystemEntity.class at line 234 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryItem.class at line 364 (GalleryFileSystemEntity::move)
    * in modules/core/classes/GalleryAlbumItem.class at line 423 (GalleryItem::move)
    * in modules/core/ItemMove.inc at line 162 (GalleryAlbumItem::move)
    * in main.php at line 250 (ItemMoveController::handleRequest)
    * in main.php at line 104
    * in main.php at line 88
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2011-07-15 00:22

looks like gallery is having trouble creating the directory /albums/Brianspictures
try chmod -R 0777 /homepages/12/d373751111/htdocs/Drupal/PhotoGalleryData/

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
fotonut

Joined: 2009-02-21
Posts: 74
Posted: Fri, 2011-07-15 00:56

I get the same error after the chmod :-(

>> I created the directory manually off of albums/Brianspictures

>> and it still would not copy there

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2011-07-15 01:00

put gallery in debug mode, but I almost guarantee it shows "failed to make directory"

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
fotonut

Joined: 2009-02-21
Posts: 74
Posted: Fri, 2011-07-15 01:03

Note that I have no problem going moving on folder to another folder, as long as the hierarchy is the same. It's only when I go up a level in hierarchy from a sub-folder up to a main folder that this error occurs. THanks

 
fotonut

Joined: 2009-02-21
Posts: 74
Posted: Fri, 2011-07-15 01:21

How do I get the debug file attached without getting a hand-spank for adding too much text to the fora :-)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2011-07-15 01:27

create a txt document copy/paste the debug and attach it to this forum

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
fotonut

Joined: 2009-02-21
Posts: 74
Posted: Fri, 2011-07-15 03:01

Here is the error log