AVideo
AVideo copied to clipboard
Video charts not working correctly
@DanielnetoDotCom Out of nowhere the access charts records of the videos disappeared! Did you make any changes to this part of the system?
I didn't click on that thing!
When was this option put here!!! GOD!!
Daniel, where's the changelog!?! Help us follow this system!! #8170
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 The problem is serious! There are no more records here. I have no more records. My records are blank.
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
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 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.
Apparently the access data is being registered. It has something to do with inputting data into charts.
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
@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.
check your js console
@DanielnetoDotCom How do I access the JS Console, any commands you recommend?
https://github.com/WWBN/AVideo/wiki/Using-Your-Browser-Console-to-Diagnose-JavaScript-Errors
@DanielnetoDotCom The issue with the charts continues.... I noticed that only the day's records are being displayed.
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
@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.