Ever since I moved to a new server the Sparklines (small graphs) haven’t been displaying.
The troubleshooting says to make sure GD is installed and after rebuilding WHM/Cpanel and double checking with phpinfo that indeed GD is installed, what do I do next, what else can it be?
Of course, I use the GD library for PHP version.
In the Windows version of PHP, PHP and GD libraries are provided together.
“Administration > System Check” is no problem.
If using a combination of different versions of PHP and the GD library, Piwiik will be a 500 Server error. And Piwik screen does not appear.
So the version of the GD library is correct.
I know cause of 500 Server error.
Cause is using the wrong version of the GD library.
Wanted to know Piwik behavior. So, I was using the wrong version of the GD library.
If I use wrong version GD library, then it comes to a 500 Server error.
If I use correct version GD library, then Piwik is displaied. But sparklines is not displaied.
How do I view sparklines in PHP version 5.4 or later?
Developer tools in chrome shows me this errors in console when accessing piwik server:
(1 error) Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
(21 errors) Mixed Content: The page at ‘Sign in - Piwik’ was loaded over HTTPS, but requested an insecure image ‘http://stats.oestedesign.pt/’. This content should also be served over HTTPS.
Developer tools in chrome shows me this errors in console when accessing a site monitored by piwik: