PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 19th, 2005, 02:06 PM   #1 (permalink)
Member
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 140
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
Photo Counts Way Off

RE: http://thephotostation.net/photopost/index.php

According to my Stats I have just about 12,000 pictures in my database, which is correct. (See stats on right side of page at my site)

My photo counts are as follows according to my PP homepage:

Member Galleries: 3817
Categories: 1561

So somewhere I am missing 6,000 pictures by count. Before I upgraded to 4.8.2 my member galleries count was more along the lines of 8,000.

Why would these counts change and how do I fix it?
kevinrstruck is offline   Reply With Quote
Old January 19th, 2005, 06:10 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Under Scan Database have you done a photos/post recount?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 19th, 2005, 07:50 PM   #3 (permalink)
Member
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 140
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
Yes, I have tried that several times with no luck.


1 Weird thing: About half way through the scan:

"Processing [albumn name]" actually turns into a clickable link.

I have sent you a PM with my Admin information so you can see what occurs when I run this scan. (Something I have not seen before). Maybe this will shed light on what is going on.

Thanks in advance.
kevinrstruck is offline   Reply With Quote
Old January 19th, 2005, 09:23 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Okay thats an easy one

Personal albums do not get counted in category totals
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 20th, 2005, 12:02 AM   #5 (permalink)
Member
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 140
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
But there are more than 3800 pictures in the personal albums.

For instance on http://www.photoforums.com/photopost/, Member galleries says 2877 photos which matches the Statistics total on the page also. In fact, most if not all the sites I have gone to do the same. Mine did before I upgraded.

Now I have 3700 photos in member galleries and 12,000 in my stats total. I know the stats total is correct which leads me to believe the Members Gallery total is incorrect, which I know it is. Wouldn't all photos uploaded be considered member photos?

Maybe I am confused as to how this is supposed to work.

Last edited by kevinrstruck; January 20th, 2005 at 12:12 AM.
kevinrstruck is offline   Reply With Quote
Old January 20th, 2005, 07:37 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Count your members gallery and count your cats and thats your total count for cats.

personal gallery is different and not included. You have tons of em

If you think its off do an easy test go into phpmyadmin and do queries to grab total where cat types are a certain way

The overall statistics is a simple global query like this which counts everything

SELECT * FROM photos

Your cat counts are simple that cat counts where photos are in a category cattype c
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 20th, 2005 at 07:39 AM.
Chuck S is offline   Reply With Quote
Old April 24th, 2005, 03:10 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 4
Photo in two or three categories

When a photo is in two or three categories, then the stats show a wrong total number of photos. (it count the same photo in multiple categories).

Shouldn't a photo be counted only once, even if it is in two or three categories ?


Maybe that has something to do with kevinrstuck the problem...
pleinlavue is offline   Reply With Quote
Old April 24th, 2005, 03:33 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
$query = "SELECT SUM(views), SUM(filesize), count(*) FROM {$Globals['pp_db_prefix']}photos";
$totalv = ppmysql_query($query,$link);
list( $totalviews, $diskuse, $totalphotos ) = mysql_fetch_row($totalv);
ppmysql_free_result($totalv);

The query that shows how many photos is simply a count of how many photo rows in the mysql table so yes a photo is counted once when uploaded to multiple cats
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RP311 - Thumbnail Counts InterFX ReviewPost How do I...? 4 November 12th, 2005 06:49 AM
Post count counts pictures to in vb Damir P Photopost Pro How Do I...? 2 March 11th, 2005 12:58 AM
Ad Counts not updating correctly flavoflav Classifieds Bug Reports 16 February 18th, 2005 12:01 PM
incorrect ad counts sifuhall Classifieds Bug Reports 3 February 14th, 2005 10:08 AM
Photo counts StewardManscat vBGallery Suggestions 0 January 15th, 2005 12:25 PM


All times are GMT -5. The time now is 03:02 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0