Skip to content
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

Visits Overview widget - Sparkline not displayed #19596

Closed
SujalShah3234 opened this issue Aug 4, 2022 · 3 comments
Closed

Visits Overview widget - Sparkline not displayed #19596

SujalShah3234 opened this issue Aug 4, 2022 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@SujalShah3234
Copy link

SujalShah3234 commented Aug 4, 2022

Expected Behavior

Sparkline should be displayed
image

Current Behavior

Image is broken/blank
image

Possible Solution

Path to image is not correct

Steps to Reproduce (for Bugs)

  1. Navigate to matomo dashboard
  2. Add Visits Overview widget to the dashboard
  3. You can see broken images in widget

Context

This widget has affect the whole beautiful UI of matomo dashboard.

Your Environment

  • Matomo Version: 4.11.0
  • PHP Version: 8.0.20
  • Server Operating System: Linux
  • Additionally installed plugins: All Core plugins only
  • Browser: Chrome (v103.0.5060) (No ad-blocker plugin installed)
  • Operating System: Windows 11
@SujalShah3234 SujalShah3234 added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Aug 4, 2022
@sgiehl
Copy link
Member

sgiehl commented Aug 4, 2022

Hi @SujalShah3234
Thanks for creating this issue. I'm unfortunately unable to reproduce that. For me the sparklines are loading correctly.
In the screenshot above the urls actually look correct.
Maybe there is another reason why the image can't be displayed for you.

  • Are the sparklines working in other places of Matomo?
  • Are you seeing the failing requests in the network tab of the dev tools? If so, is the URL incorrect there, like a missing path or similar?
  • Are there maybe some errors logged?

@SujalShah3234
Copy link
Author

SujalShah3234 commented Aug 4, 2022

Hi @sgiehl

Are the sparklines working in other places of Matomo?

Yes, in every tab where sparkline is used
image
image
image
image

Are you seeing the failing requests in the network tab of the dev tools? If so, is the URL incorrect there, like a missing path or similar?

No, request is not failing but in response blank body is came
image dev tool url

Are there maybe some errors logged?

No errors, dev-tool console is clean.

@SujalShah3234 SujalShah3234 changed the title Visits Overview widget broken image URL Visits Overview widget - Sparkline not displayed Aug 4, 2022
@sgiehl
Copy link
Member

sgiehl commented Aug 5, 2022

Ok. As they aren't working anywhere for you, this is more likely a server configuration issue.
I'll close this issue here, as we only handle bug reports or feature requests on GitHub.

Nevertheless some notes that might help you to solve the problem:

  • Check if the GD extension for PHP is installed / activated on the server. Running the system check of Matomo should tell you if it working. (See https://matomo.org/faq/troubleshooting/faq_34/)
  • Might otherwise also be worth to check for errors in the PHP error log or the Matomo error log file (tmp/logs/matomo.log/)

If this doesn't help you to solve this on your own, please try to get some help on our forum (https://forum.matomo.org)

@sgiehl sgiehl closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2022
@sgiehl sgiehl added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants