Big Bug with albumview in "index.php" Big Bug with albumview in "index.php"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Big Bug with albumview in "index.php"

Started by Metapro, October 27, 2003, 08:03:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Metapro

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:

jasendorf

can you post a screen shot of your config settings for albums?
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

hardlocke

i had the same problem with coppermine 1.2..

just publish a picture to this album..... and the problem is gone  :lol:

Metapro

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.

jasendorf

Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Metapro

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.

Metapro

I still have this problem and cant find an solution. Please can anybody help me?

Tarique Sani

I dont really understand the problem - you want links to your empty albums and their names showing up...
Right?
SANIsoft PHP applications for E Biz

DJMaze

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
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Joachim Müller

@DJMaze: please start a tracker on this - this has to be checked in detail...

GauGau

Metapro

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?

jasendorf

We will if/when we determine that it doesn't make a mess out of something else...  ;)
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.