AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

Video charts not working correctly

Open gbrn opened this issue 1 year ago • 11 comments

@DanielnetoDotCom Out of nowhere the access charts records of the videos disappeared! Did you make any changes to this part of the system?

image

image I didn't click on that thing!

image When was this option put here!!! GOD!!

Daniel, where's the changelog!?! Help us follow this system!! #8170

gbrn avatar Jul 18 '23 00:07 gbrn

this was in the last update, but by default, it delete statistics 6 months old.

to let the site fluid we cannot keep the records forever. it will kill your server.

DanielnetoDotCom avatar Jul 18 '23 14:07 DanielnetoDotCom

@DanielnetoDotCom The problem is serious! There are no more records here. I have no more records. My records are blank.

image

I understand that cleaning is done from time to time, but cleaning everything is not correct. Leave no record? I don't see the logic in that. You have to clean up the last few days... last few months. The most recent record has to be available.

I can't even give you an idea of what it could be as there simply isn't a Chargelog... #8170

gbrn avatar Jul 26 '23 00:07 gbrn

It is strange, check your videos_statistics table if there is any record there.

if there is something the issue may be something else.

DanielnetoDotCom avatar Jul 26 '23 00:07 DanielnetoDotCom

@DanielnetoDotCom The problem has not yet been resolved. Before, there was nothing to register. And now only a very old video is showing. What can this be? I didn't change anything in the database.

image

Apparently the access data is being registered. It has something to do with inputting data into charts.

image

gbrn avatar Aug 07 '23 18:08 gbrn

the statistics may be too old, that is why it does not reflect in the charts

keep old statistics may slow down a lot your site.

on my side the statistics seems to be correct

image

DanielnetoDotCom avatar Aug 07 '23 21:08 DanielnetoDotCom

@DanielnetoDotCom I did tests here, the new stats don't show up on the graph.

See how the graph is now... nothing is showing again.

image

gbrn avatar Aug 10 '23 16:08 gbrn

check your js console

DanielnetoDotCom avatar Aug 11 '23 11:08 DanielnetoDotCom

@DanielnetoDotCom How do I access the JS Console, any commands you recommend?

image

gbrn avatar Aug 22 '23 19:08 gbrn

https://github.com/WWBN/AVideo/wiki/Using-Your-Browser-Console-to-Diagnose-JavaScript-Errors

DanielnetoDotCom avatar Aug 24 '23 12:08 DanielnetoDotCom

@DanielnetoDotCom The issue with the charts continues.... I noticed that only the day's records are being displayed.

Painel-·-CNETV.webm

In the JS console, some errors appear, but I don't know if they are influencing them:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'loop')
    at setPlayerLoop (script.js?cache=1694969039_1694969039:953:16)
    at VM76:4757:1

DevTools failed to load source map: Could not load content for https://cnetv.com.br/view/css/DataTables/pdfmake.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

avideoModalIframeWithClassName window.history.pushState showURL https://cnetv.com.br/charts

Allow attribute will take precedence over 'allowfullscreen'.
avideoModalIframeWithClassName @ script.js?cache=1694969039_1694969039:1518

gbrn avatar Sep 17 '23 22:09 gbrn

@DanielnetoDotCom This problem seems to have been partially resolved. Now it is only showing records for the month... before it only showed records for the day...

When I put the filter to show the range of a year.... it only shows 1 month. image

gbrn avatar Dec 29 '23 15:12 gbrn