(1.4.1) Virtual album - image count 0 when displayable images (1.4.1) Virtual album - image count 0 when displayable images
 

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

(1.4.1) Virtual album - image count 0 when displayable images

Started by P4ul, September 02, 2005, 11:24:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

P4ul

1st, an excellent product, many thanks everyone for making available

Not sure if this is a real problem or not

If i create a virtual album,with keyword, it displays the associated images from other ablums within correctly.
However it does not show the number of files within the virtual album, always 0, so noone tends to look in it.



RH9, Apache2.0.40, PHP 4.3.7 , cgp 1.4.1 + all cvs updates from a couple of days ago


Tarique Sani

SANIsoft PHP applications for E Biz

P4ul


Tarique Sani

Heh! in that case all I can say is works fine for me :)

We will wait for someone else to verify that this is indeed a bug....
SANIsoft PHP applications for E Biz

P4ul

Thanks, that was a help knowing it should work and i think i've found the problem

I've just tried putting a real pic in the album and get
1 files, last one added on Sep 02, 2005, 2 linked files, 3 files total

But with no real images it says
0 files

Now i understand how it works I can add a dummy to get a count pending a real fix
I'd prefer it to register linked without any real thou

Aditya Mooley

Quote
I'd prefer it to register linked without any real thou

It is supposed to work and works as advertised. I have "0 files, 2 linked files, 2 files total".
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

artistsinhawaii

I believe you have to delete all files and cookies, exit, reenter before it will show the 0 pics + X# of linked files.

There was a similar thread at:  http://forum.coppermine-gallery.net/index.php?topic=20914.0


Dennis



Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Aditya Mooley

It works even when there is no file in the album where you want to show the linked picture. I just downloaded CPG 1.4.1 and tested it on my local setup and it is working fine.

The other problem in thread http://forum.coppermine-gallery.net/index.php?topic=20914.0 "not possible to select a thumbnail for the album" is a known issue.
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

artistsinhawaii

Quote from: Aditya Mooley on September 03, 2005, 10:42:04 AM
It works even when there is no file in the album where you want to show the linked picture. I just downloaded CPG 1.4.1 and tested it on my local setup and it is working fine.

The other problem in thread http://forum.coppermine-gallery.net/index.php?topic=20914.0 "not possible to select a thumbnail for the album" is a known issue.

Great. But it didn't work for the original poster and it didn't work for me, at least not until I deleted all temporary files and cookies from my browser and refreshed.  So, I suspect that if you had been working on other things for a spell before adding the keywords, you need to clear out the saved temp files in the browser before it shows the 0 files and linked stats.  I had nearly 600 files loaded before linking them  in all sorts of directions, across albums and categories.

I only discovered the 0 files + # links when I ran Opera to confirm the view I was getting in IE.   So I tried to clean out the cache in IE and it all showed up.  

Dennis

Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

P4ul

I have now found a bit more about this.

if I move the virtual ablum as i call it between different parts of the tree (into different Categories), the linked files appeals for some and not for others. - It's consitant in its behaviour, ie if i move it back i get the same result for that part of the tree.

I haven't as yet found a pattern to this, but will test further and report here

I just tried the suggest about about clearing files, but this did not work for me

Joachim Müller

make sure you have the most recent code from the cvs, and make sure to force-refresh your browser ([Ctrl]+[F5]) every time you test.

P4ul

Quote from: GauGau on September 03, 2005, 11:28:13 AM
make sure you have the most recent code from the cvs, and make sure to force-refresh your browser ([Ctrl]+[F5]) every time you test.

Yes I have the lastest files from cvs

artistsinhawaii

Quote from: GauGau on September 03, 2005, 11:28:13 AM
make sure you have the most recent code from the cvs, and make sure to force-refresh your browser ([Ctrl]+[F5]) every time you test.


Why didn't I know that!  ([Ctrl]+[F5])    <-- probably fundamental IE but who does keyboard clicks these day.    As we say in Hawaii... this is good stuff!

Might I suggest that this be included in the Docs somewhere?
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

This is browser-specific, not sure if all browsers do that. Same effect as holding the [Ctrl] key down while clicking on the Refresh-icon in your browser. Browser-caching mechanisms differ greatly, depending on OS, browser and user settings, and I don't think it's actually coppermine-related, but browser-related, so I'm not convinced that this should go into the docs. Glad you find this usefull however.

Tranz

On my installation at http://tu2.net/cpg/ you can see two albums where one shows the file count and the other doesn't. I made the album properties the same. I even tried it with both albums using the same keyword and the count didn't change.

Tranz

I just checked my local installation and noticed a similar pattern, though it might be a coincidence. The file count only shows for the first album that is keyword-only. The ones that follow all say 0 files.

Tranz

If I add one file in the second album, then it will show the correct count. If I remove it again, it will show 0 files although there are linked files.

Tranz

If I add a file to the third keyword-only album, it will show the correct count. The second will show 0 files.

P4ul

I feel better knowing it not just me now :-)

To add to the above, I have one virtual album, and as I move the album around it appears to have a similar effect,

0 linked when placed in first sub-category of a parent category
correct number linked when placed in second
0 linked when placed in third


Tranz

I'm glad I'm not the only one, either.

Here's another gallery with the issue: http://cpg-contrib.org/index.php?cat=3

The second row of albums have linked files but the file count is 0. I temporarily moved one of the albums to no category and the count was correct.