Album cover picuters missing

Baraja

Joined: 2007-03-26
Posts: 34
Posted: Tue, 2013-10-15 13:51

Hi,

i recently moved my gallery to another webspace. Everything has worked fine except that my cover pictures for all my albums are not being displayed.

I have already tried this workaround but it hasn't worked.

Does someone have an idea how to fix that?

Regards

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Tue, 2013-10-15 15:07

Not enough info.

Are they really there and not being shown, or do they need to be rebuilt? (Depending on how you moved it over, some clients/methods don't automatically copy over hidden files.)

Try using the rebuild_items module to rebuild the thumb for one or two of the album covers and see if that changes anything. (Could also try selecting a new image as the album cover and verifying that the thumb is properly generated.)

If that doesn't help, then I'd need more info about your setup and any htaccess files you have affecting the gallery (starting with seeing the full htaccess file you're using in your gallery's root folder).

 
Baraja

Joined: 2007-03-26
Posts: 34
Posted: Tue, 2013-10-15 15:32

The structure of my gallery looks like this:

Album1
__Album2
____Album3
______Picture
______Picture
__Album4
____Album5
______Picture
______Picture

When i use the rebuild module within Album 1, 2 or 4, i get the message "There is no photos in this album. Try sub-albums". The module would work within the Albums 3 and 5 but there my thumbnails are ok.
Selecting a new image as album cover works for all Albums.

I migrated the gallery like this:
1. Full database backup
2. Full FTP-Download of /gallery/
3. Imported backup into new database
4. Uploaded /gallery/ on the new Webspace
5. Modified database.php
6. Did all maintenance jobs that were possible (repair gallery, remove old files....)

The ".album.jpg" files are all available in each folder within the structure /var/thumbnails/

I use the htaccess file which i've attached.

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Tue, 2013-10-15 15:41

If creating a new album cover works, the issue is not related to seeing hidden files. (The new thumbs are hidden the same way the old ones were.)

Maybe it's a permissions issue on the old files? (The user ID would've likely changed when you change servers.)

EDIT: Also, why is this line commented out in the htaccess file: # Options +FollowSymLinks? It's intended to be uncommented like the rest of the block, unless that caused you some issues somewhere?

 
Baraja

Joined: 2007-03-26
Posts: 34
Posted: Tue, 2013-10-15 15:48

The user/group (both system user) setting as well as the access rights (644) of the one cover that has worked is the same as for the covers where it does not work.

The line in the htaccess is commented out because when i set the "mod_rewrite" option for my domain in confixx, this setting gets set by default.
When i remove the comment i get a "Internal Error"

Thanks so far for your ideas.

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Tue, 2013-10-15 15:53

Well, too many options (in my mind) to otherwise narrow down the cause. Could be corrupted data during either the download or the upload to the new server (can tell by checking the file size and by renaming, then downloading and seeing if it opens properly in your browser). Could be a lot of things. As long as creating a new thumbnail works and there are no issues with creating new albums and thumbs, your best option will be to recreate them.

Baraja wrote:
When i remove the comment i get a "Internal Error"

That shouldn't be happening, but is likely unrelated.

 
Baraja

Joined: 2007-03-26
Posts: 34
Posted: Tue, 2013-10-15 16:02

Ok, thanks anyway.