PHPfox-Official / phpfox-v4-issues

phpFox Public Bug Tracker
https://phpfox.com
30 stars 21 forks source link

Activity points accounting not making sense #2680

Open hamadax opened 5 years ago

hamadax commented 5 years ago

Important

Please follow this template!


What's happened?

The accounting of points is not making sense at all. See screenshot. It would only make sense if points do expire, but I do not see any setting that would make them expire. With all my test accounts, no point purchase or gifting occurred. Points were earned via activities only such as uploading photos.

Steps to reproduce:

  1. Viewing point system from admincp
  2. Current AP is missing points.
  3. Current AP is greater than Total Earned... Mathematically impossible. These are test accounts, no point purchase or gifting occurred. 4- With manh of the test accounts, the difference between Total Earned and Total Retrieved should be the Current AP. This is not the case.

image

What's expected?

Fix it all!

Browsers and Devices tested

(Example: Chrome on iPhone X, Safari on Macbook, Miscrosoft Edge on Windown 10, Firefox on Ubuntu 16.04, ...)

...

Server information

(Example: CentOS 7, php 7.1 apache)

...

phpFox version

(Example: phpFox 4.6.0)

...

Screenshots

...

hamadax commented 5 years ago

Here is an example, so unless the points has expired, I need to know why this is happening!

image

harrison05 commented 5 years ago

Do you backup and restore your old database? This might an old issue of Activity Point App, we fixed it in the previous version. If the issue still appears, you should submit a ticket, our team will help you check and fix on your site.

Regards.

hamadax commented 5 years ago

I opened a support ticket and they fixed it, then it stopped accounting all together again and again. No accounting is being recorded with any activity. I am hosting PHPFox on a Digital Ocean Droplet. I back it up by gracefully turning off the droplet, then taking a snapshot. I did restore it once in the past. Will submit another ticket to figure out a long term solution. I cannot launch my site if this feature keeps malfunctioning, or at least need to know how to avoid this. I really wonder how I as an admin can fix these accounts now, where their points are totally screwed up.

hamadax commented 5 years ago

Another issue is simple math does not make sense.

image

This test account has not bought or used points. Points were either earned or retrieved due to item deletion. Do the math there, the current balance is totally off.

PhpFoxJohnJr commented 3 years ago

Hope this is not true as my site depends on points for currency :(

PhpFoxJohnJr commented 3 years ago

Although, I don't have many examples. Mine looks correct so far. So does this need to be deleted or is there still an issue.