@SujalShah3234 opened this Issue on August 4th 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
@sgiehl commented on August 4th 2022 Member

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 commented on August 4th 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.

@sgiehl commented on August 5th 2022 Member

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)

This Issue was closed on August 5th 2022
Powered by GitHub Issue Mirror