Can please anyone give me a little fast help with the following big problem/bug please?
The index.php doesnt display some albums, the album pictures are empty,
no link, no picture counts, etc.
Please look here if you cant understand my bad english ;)
http://www.fahrgeschaefte.com/index.php?cat=5&page=2
Not all albums have this problem, like you can see here:
http://www.fahrgeschaefte.com/index.php?cat=2&page=3
...or here:
http://www.fahrgeschaefte.com/index.php?cat=6
for example.
This problem is template independent. No errors with the previous Version 1.1 on this albums. Everything was displayed ok.
Please help me :cry:
can you post a screen shot of your config settings for albums?
i had the same problem with coppermine 1.2..
just publish a picture to this album..... and the problem is gone :lol:
I have 560 Albums in my Gallery, i dont really want to post 560 Fotos to correct this ;)
Here is a Screenshots of my Album View Settings:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.h-o-m-e-p-a-g-e.info%2Fforumposts%2Falbumview.jpg&hash=c1e830560894fafcf630b7e7e2041572ffcfafcc)
I cant really look what Albums this are because there is no link to a special id or so.
What's the use of empty albums?
Because Users can't submit new Album Names in the normal Gallery view i have to create a lot of albums.
My Gallery is used as an Database, so i have no use for "User Albums" in a special Folder, because noone will find the pictures in the correct Cathegorie Hierarchy.
But i think it should not matter if an album is empty or not. The function was correct in the version before. I just like to have it like it worked before. Please give me an idea how to fix this.
I still have this problem and cant find an solution. Please can anybody help me?
I dont really understand the problem - you want links to your empty albums and their names showing up...
Right?
You problem is caused in the list_albums() function which is located in index.php.
I noticed this bug while integrating features of 1.2 into CPG-Nuke.
The SQL query $alb_stats_q = db_query($sql); returns 0 cos there are no images.
So change if ($count > 0) {
$visibility = $alb_thumb['visibility'];
into $visibility = $alb_thumb['visibility'];
if ($count > 0) {
Then you see the album settings
@DJMaze: please start a tracker on this - this has to be checked in detail...
GauGau
Many Thanks to DJMaze. That solved the problem. If you click on the links above you can now see the albums correctly, even if they are empty...
Thanks again!
BTW: Could you implement this to further versions please, so i dont have to change this lines with every update?
We will if/when we determine that it doesn't make a mess out of something else... ;)