New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No data has been recorded yet" when no data from the day #9636
Comments
This page should only be displayed as long as there wasn't any data tracked at all for the current selected website. As soon as the first data was tracked, that page automatically disappears. |
@sgiehl , thanks for your answer. The problem is that i've data tracked for the selected website. |
are you using javascript tracking or the log importer? |
javascript tracking |
Had a small look at the code. The query used to check if a site has no data is here: |
Interresting. When I execute the sql request on my db, I've empty row. But I've still data tracked on the "all websites dashboard" for a range of last90. The log_visit table is archived, isn't it ? |
Have you enabled the option to remove old log data? By default the data won't be removed. But if so, it might be possible that there are no entries in the log tables for website that don't have recent data tracked. Guess we would need to extend the check for already archived data |
Hum, no, the option to remove old log data is disabled.. I don't know the code, but maybe the core:update do a archive of current log in order to speedup or something ? |
When you request the API to fetch data, can you make sure you fetch the correct |
@candaj please re-open if you still experience this issue with Piwik 2.16.0 |
I've noticed that when i upgrade piwik from 2.3.0 to 2.15.0 (and after on 2.16.0b6).
When i open the default page of piwik (i.e. just index.php) if a site have no visit, the is no more an empty dashboard but just the page with "No data has been recorded yet" with no option to choose the range date for example. But if i inject data (with VisitorGenerator plugin for example) the dashboard will be back.
I don't know if it's a bug or not but i think it's more user friendly if we have an empty dashboard and if we can pick the range.
Is there a workaround for avoid this problem ?
Regards,
The text was updated successfully, but these errors were encountered: