 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
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
|
| |
June 19th, 2009, 09:05 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
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.
|
| |
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?
|
| |
June 19th, 2009, 09:19 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
You can send info but as noted there is nothing in our code that is doing this. Maybe a mysql bug?
|
| |
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?
|
| |
June 19th, 2009, 09:30 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Possibly through the contact us link in our header.
|
| |
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?
|
| |
July 16th, 2009, 10:31 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Well yes strange but that helps and can confirm that although I dont know why at present
|
| |
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.
|
| |
July 24th, 2009, 08:43 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
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.
|
| |
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.
|
| |
September 25th, 2009, 11:43 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:16 AM. | |