[EXPLAINED] alb_count, pic_count are always zero? [EXPLAINED] alb_count, pic_count are always zero?
 

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

[EXPLAINED] alb_count, pic_count are always zero?

Started by yonasb, November 14, 2003, 06:48:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yonasb

in the cpg_catagories tables, the pic_count  and alb_count are always zero. arn't they supposed to hold the total number of pictures and albums in each catagory respectively?  It is also the same for the  user_lastvisit_cp filed on the nuke_users table. It seems to me that they are not getting updated correctlly.

the stange thing is that, the number of albums and pics that shows on my coppermine main page is correct. did they culculate on the fly?

--yonasb

DJMaze

I also noticed it while fixing a count bug for the Users gallery.

Since MySQL counts in less then 0.01 second the total count of albums and catagories, i think the original developer removed the fields from the scripts.
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