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 Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 19th, 2009, 08:17 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
Inflated Views Count?

I'm running Photopost Classifieds 3.11 and just noticed that if I click on an Ad and them immediately view it afterwards the view count goes up by 6 rather than just 1. Any ideas what's happening?

Many thanks
Ron
Ronseal is offline   Reply With Quote
Old June 19th, 2009, 09:05 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
The only way that can happen is if multiple people view the product at the same time or you also refresh your browser window multiple times.

Code:
Content visible to verified customers only.
See thats explicit its upped by 1. Thus to increase that someone needs to also be viewing or you need to multiply refresh your browser window.
__________________
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 June 19th, 2009, 09:14 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
Thanks for the response Chuck, however I can demostrate the problem on any item in my Classifieds whether logged in or not. Sometimes it increases by 5 and other times by 6. I don't wish to put a link to my site here but can send you a PM link if you like?
Ronseal is offline   Reply With Quote
Old June 19th, 2009, 09:19 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
You can send info but as noted there is nothing in our code that is doing this. Maybe a mysql bug?
__________________
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 June 19th, 2009, 09:26 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
Not quite sure how I can send you any info without posting it here Chuck?
Ronseal is offline   Reply With Quote
Old June 19th, 2009, 09:30 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Possibly through the contact us link in our header.
__________________
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 July 16th, 2009, 06:50 AM   #7 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 11
I noticed the same thing today. It is caused, for me at least, by having Spider Friendly URLs turned ON. As it is only views, I'm not really too concerned with it but was hoping for a quick fix short of turning off that feature. It doesn't go up, for me at least, by 5 or 6 but rather by two, guessing due to some URL rewriting tricks?
xedd is offline   Reply With Quote
Old July 16th, 2009, 10:31 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Well yes strange but that helps and can confirm that although I dont know why at present
__________________
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 July 24th, 2009, 05:15 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
xedd, thanks for the tip buddy.

I've now set Spider Friendly URL's to 'No' and although the problem still exists instead of increasing the view count by 6 it just increase's by 2, so although not solved for me at least the problem is better.

Not sure if it's any help, but I also run 'Photopost Pro' within which I have the Spider Friendly URL's set to 'Yes' and don't have this view count problem, so I'm assuming the issue is 'Photopost Classified' specific.
Ronseal is offline   Reply With Quote
Old July 24th, 2009, 08:43 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
I have not found any difference though we use the same code virtually. The photo gallery has a viewcache remember so you will not get views updated immediately so it may be virtually impossible to tell the affects with that cache on since views are not updated right away so you dont know if the gallery is affected or not.

Make sure in your showproduct.php filethe ipcache code is this. I made one slight change to the time strings but that should not affect anything

Code:
Content visible to verified customers only.
__________________
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 September 25th, 2009, 10:38 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Feb 2002
Posts: 181
I just wanted to chime in and say that we upgraded earlier this week and a member reported view counts increasing at an abnormal rate. I recreated the problem and was able to see that the views were increasing more then 1 per view. I have set the spider friendly URLs to off, we'll see if that fixes things.
Andy R is offline   Reply With Quote
Old September 25th, 2009, 11:43 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
yeah I cant replicate it as well but knowing why spider urls would change things is quite strange.

Any if clause only issues the query to update views plus one.
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Most accurate way to count commenting count? Fortissimo Photopost Pro Installation & Upgrades 6 September 7th, 2008 05:34 PM
Comment Count and Photo Count Don't Match Tim L. Walker Photopost Pro Bug Reports 8 March 2nd, 2007 07:55 AM
Result: Column count doesn't match value count at row 1 marocnl ReviewPost Installation & Upgrades 5 February 23rd, 2006 09:01 AM
Incorrect photos count and comments count( NOT A BUG ) dumoulin Photopost Pro Bug Reports 3 December 12th, 2005 05:58 AM
4.86 need assigned album pics count with cat pics count mjm Photopost Pro How Do I...? 1 March 10th, 2005 03:57 AM


All times are GMT -5. The time now is 12:58 AM.

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