[SOLVED] Root album created in sub-sub-album

pande

Joined: 2005-05-08
Posts: 56
Posted: Thu, 2009-11-12 17:17

I have divided my Gallery in years, from 1999 until now. Since I am able to upload photo's again, I wanted to create the new folders '2008' and '2009' on the home (root) of my Gallery.

But strangely enough, new albums in the root are being created in a sub-album of 2007 (check screenshot).

The albums '2008' and '2009' are being shown on the front page, but they link to a folder in a sub-sub-dir and I have absolutely no idea why this is happening.

I have tried creating a folder '2008' in '2007', which works as it should, but moving it to the root, gives the same error again.

In the database I am able to change the relative_path_cache and relative_url_cache from 2007/qday2007/2008 to simply 2008 and that seems to work for the url you go to, but the physical location of where the albums are created and the photos are stored on the server is still '2007/qday2007/2008'.

Any suggestions on how to solve this?

Just to be complete, this is my platform info:

# OS: Linux 2.6.18-028stab064.4
# Apache: Apache/2.2.8 (Ubuntu) mod_python/3.3.1 Python/2.5.2 PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8
# PHP: 5.2.4-2ubuntu5.6
# MySQL: 5.0.51a-3ubuntu5.4

And my stats:

# Versie: 3.0 git (pre-RC1)
# Albums: 241
# Foto's: 14325

Thank you!

AttachmentSize
error_gallery_root_album_in_sub_sub_album.jpg56.1 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-11-12 18:06

Make sure you're using the latest experimental code and then use the rescue module.

Latest code:
http://codex.gallery2.org/Gallery3:Upgrading

Rescue module:
http://codex.gallery2.org/Gallery3:Modules:rescue
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
pande

Joined: 2005-05-08
Posts: 56
Posted: Fri, 2009-11-13 10:50

Nice! Fixed!

Thanks!