PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Negative numbers in Classifieds stats (http://www.photopost.com/forum/classifieds-bug-reports/140228-negative-numbers-classifieds-stats.html)

Marshal Halloway June 5th, 2009 04:28 PM

Negative numbers in Classifieds stats
 
When you look at the classified stats (Items Sold and Value of items sold), the numbers are negative. This has been there for a long time, but decided after the last upgrade to find out what is causing this.

Items Sold -145
Value of items sold $-1,364,683.50

The value is definitely not correct.

I would think the easiest solution is to delete the rows from the template, but wanted make sure if it can be resolved through the database first.

Chuck S June 5th, 2009 08:04 PM

Your easiest solution is to set the stats to 0

Marshal Halloway June 5th, 2009 08:30 PM

Ok' I'll bite. Do I have to set it to 0 through phpMyAdmin?

Chuck S June 5th, 2009 08:33 PM

UPDATE cp_stats SET amt_sold=0, ads_sold=0 WHERE id=1;

Yes that query should do it for you.


All times are GMT -5. The time now is 02:40 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