PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Inflated Views Count? (http://www.photopost.com/forum/classifieds-bug-reports/140324-inflated-views-count.html)

Ronseal June 19th, 2009 08:17 AM

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

Chuck S June 19th, 2009 09:05 AM

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.

Ronseal June 19th, 2009 09:14 AM

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?

Chuck S June 19th, 2009 09:19 AM

You can send info but as noted there is nothing in our code that is doing this. Maybe a mysql bug?

Ronseal June 19th, 2009 09:26 AM

Not quite sure how I can send you any info without posting it here Chuck?

Chuck S June 19th, 2009 09:30 AM

Possibly through the contact us link in our header.

xedd July 16th, 2009 06:50 AM

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?

Chuck S July 16th, 2009 10:31 AM

Well yes strange but that helps and can confirm that although I dont know why at present

Ronseal July 24th, 2009 05:15 AM

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.

Chuck S July 24th, 2009 08:43 AM

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.

Andy R September 25th, 2009 10:38 AM

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.

Chuck S September 25th, 2009 11:43 AM

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.


All times are GMT -5. The time now is 08:17 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97