[SOLVED] Move Item Error

zyurph

Joined: 2005-04-12
Posts: 10
Posted: Fri, 2005-04-29 14:34

EDIT: I forgot to mention that I did update my GalleryFileSystemEntity.class file to version 1.42 from the CVS.

I am getting the following error when I only when I try to move a item from the main album(Gallery or default album) to subalbum. If I move from subalbum to subalbum its fine.

Here is the error I am getting, I also believe it gives you all my server and install version:

Warning: rename(/home/coreysm/public_html/pictures/data/albums/3 fold Screen for Wedding.JPG,/home/coreysm/public_html/pictures/data/albums/wedding/3 fold Screen for Wedding.JPG): No such file or directory in /home/coreysm/public_html/pictures/modules/core/classes/GalleryPlatform.class on line 456

Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PATH) : rename /home/coreysm/public_html/pictures/data/albums/3 fold Screen for Wedding.JPG to /home/coreysm/public_html/pictures/data/albums/wedding/receptionhall/3 fold Screen for Wedding_001.JPG

* in modules/core/classes/GalleryFileSystemEntity.class at line 264 (gallerystatus::error)
* in modules/core/classes/GalleryItem.class at line 375 (galleryfilesystementity::move)
* in modules/core/classes/GalleryDataItem.class at line 388 (galleryitem::move)
* in modules/core/ItemMove.inc at line 143 (galleryphotoitem::move)
* in main.php at line 173 (itemmovecontroller::handlerequest)
* in main.php at line 79
* in main.php at line 70

System Information
Gallery version 2.0-beta-1+
PHP version 4.3.11 apache
Webserver Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Database mysql 4.0.22-standard
Toolkits ImageMagick, Gd
Operating system Linux server14.totalchoicehosting.com 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 19 01:53:23 GMT 2005 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
----

Gallery URL (optional):pictures.coreysmall.com
Gallery version:2beta2
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-04-29 15:18

you took beta-1 and updated one file from CVS? it's very risky to upgrade only part of the codebase as there can be dependencies between changes in different files.. try upgrading to (complete) current cvs or nightly snapshot.

 
zyurph

Joined: 2005-04-12
Posts: 10
Posted: Fri, 2005-04-29 15:30

I don't have control of my server, its a hosting service.

Is there a way to update with out console access?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-04-29 15:38

See README.html

 
zyurph

Joined: 2005-04-12
Posts: 10
Posted: Fri, 2005-04-29 15:56

Ok I have gone to the gallery Updater, but it doesn't seem to do anything.

On Step 2 I get this about 100 times with different offset numbers:

Notice: Undefined offset: 4 in /home/coreysm/public_html/pictures/modules/core/classes/GalleryUtilities.class on line 1181

Also everything successfully passes except:
Gallery file integrity Warning
- Missing files (3)

* <<<<<<< MANIFEST
* =======
* >>>>>>> 1.58

On Step 3 I get this:

Upgrading the Gallery Core Module

Your Gallery Core Module is up to date!
Currently installed 0.9.9

It also never asks me to backup my data.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-04-29 16:41

remove that manifest file and reupdate from cvs.. make sure cvs doesn't report any files as in conflict (C) or modified (M).

 
zyurph

Joined: 2005-04-12
Posts: 10
Posted: Fri, 2005-04-29 19:53

Thanks for you help mindless, move is working perfectly now!!!!