Filecount incorrect? Filecount incorrect?
 

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

Filecount incorrect?

Started by jp-photo.dk, October 30, 2006, 10:41:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jp-photo.dk

I've noticed on the mainpage of my galleri, that if I total the number of files and albumbs I don't end up with the same numbers as the summary on the bottom of the page?

A manual summary gives 7.506 files, and the summary states 9.333 files?

A link to the page is: http://galleri.jp-photo.dk/ [Note! Direct link is worksafe, but rest of galleri IS NOT!]


Joachim Müller


jp-photo.dk

But as Administrator should I not have access to all albums? Users are not allowed to create their own albums, so the only albums in the gallery are created by me.


jp-photo.dk

A couple of calculations found the problem. I have a category called "Heste" which states 1.947 files. In this category there are 4 subcategories which holds 1.827 files, add those to the 7.506 files reported on the mainpage as being in the categories the result comes to.. 9.333 files.

So a category only count files in albums in it, and not the albumbs in the catogorys subcategories. I'm not sure whether to call this a feature or a bug?

Joachim Müller

Missing feature - we're aware of this and decided not to add the load of even more queries just for the sake of exacty stats for sub-structures. After all, coppermine is a gallery app, not some stats app.