Error after Migration

gordyhulten

Joined: 2006-01-31
Posts: 1
Posted: Mon, 2008-03-24 20:27

I've migrated an existing Gallery2 installation from one hosting company to another, while keeping the same domain name and URLs, etc.

After some problems getting thumbnails to update, etc., everything seems to display correctly. But I'm having problems manipulating the Gallery2 items. For example, when I try to move a handful of photos from one album to another, I get this error:

Quote:
Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PATH) : rename /home/gordyhul/public_html/gallery/g2data/albums/Photography/IMG_4127.JPG to /home/gordyhul/public_html/gallery/g2data/albums/Miscellaneous/IMG_4127.JPG

* in modules/core/classes/GalleryFileSystemEntity.class at line 234 (GalleryCoreApi::error)
* in modules/core/classes/GalleryItem.class at line 362 (GalleryFileSystemEntity::move)
* in modules/core/ItemMove.inc at line 150 (GalleryItem::move)
* in main.php at line 231 (ItemMoveController::handleRequest)
* in main.php at line 94
* in main.php at line 83

System Information
Gallery version 2.2.4
PHP version 5.2.5 apache2handler
Webserver Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 PHP/5.2.5
Database mysql 4.1.22-standard
Toolkits SquareThumb, ImageMagick, Thumbnail
Operating system Linux server.resultsplusconsulting.com 2.6.21.5-hostnoc-3.1.7-libata-grsec-32 #1 SMP Mon Feb 11 06:36:58 EST 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

Any suggestions?

Thanks in advance.

Login or register to post comments
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3469
Posted: Tue, 2008-03-25 01:30

It's possible after migrating that not all your old album permissions are set correctly.
See here for instructions on how to fix them.
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?

(Looking at the code, it seems to say ERROR_BAD_PATH for any copy failure, even, say, no permissions to write to the other album dir, which I'd guess is the likely culprit.)

Login or register to post comments