Page 1 of 1

JpGraph Error 25128

Posted: 05 Oct 2018, 12:45
by Ralf
Trying to display some statistics in this demo (menu "Stats", "Project stats") fails with an Error. Something is wrong with php-gd on this server...

Re: JpGraph Error 25128

Posted: 05 Oct 2018, 14:11
by Ralf
Tested on ubuntu server 14.04 (PHP Version 5.5.9-1ubuntu4.26),
same problem. :cry:

Tested on ubuntu server 18.04 (PHP Version 7.2.10-0ubuntu0.18.04.1),
it works. :D

Re: JpGraph Error 25128

Posted: 05 Oct 2018, 19:49
by soplanning
Sounds very strange, i don't really know what is hapenning...
What is the error please ?

Re: JpGraph Error 25128

Posted: 08 Oct 2018, 13:35
by Ralf
This is what I see:
JpGraph.png
JpGraph.png (43.67 KiB) Viewed 13348 times

Re: JpGraph Error 25128

Posted: 08 Oct 2018, 13:39
by Ralf
Don't you see it??
JpGraph-IE.png
JpGraph-IE.png (45.34 KiB) Viewed 13347 times

Re: JpGraph Error 25128

Posted: 08 Oct 2018, 14:13
by soplanning
Yes i see it, but don't know what happens.
it seems there are some specific cases depending on your OS.
Can you try :
1) to update jpgraph, if you have skills
2) if not possible or if it does not work, try this tweak : https://github.com/mailwatch/MailWatch/ ... -272898868

let me know.
thanks for reporting

Re: JpGraph Error 25128

Posted: 08 Oct 2018, 20:16
by Ralf
Hi, look at the URL in the screenshots.
It is YOUR server. The SOPlanning Demo. ;)

Screenshots were made on a Windows 10 system, first with Firefox, second with Internet Explorer.
I have also checked on IPad (iOS 12) with Safari. And Firefox on a Linux Desktop machine. Same results. At this moment everybody can see it on the demo, I think.

I have made the same experience on my own SOPlanning 1.42 installation on my own ubuntu servers, releases 14.04 and also 16.04. When I tried on 18.04 server, it worked. So I have found a solution for my own installation. But for other users it could be an issue.

Maybe the problem is depending on the php version. Ubuntu server 18.04 uses php 7.2.
Your Apache webserver is telling me, that your OS is Debian and "Stretch" comes with php 7.0, right?

I don't have Guru skills, but if you have any ideas for further testing, let me know. :geek:

Cordialement
Ralf

Re: JpGraph Error 25128

Posted: 09 Oct 2018, 07:39
by soplanning
Hello
Even after JPgraph update it does not work.
We tried the solution provided on github link, it works.
it seems debian disabled a specific package/tool.

SO put the code below in jpg-config.inc.php file at the end :

Code: Select all

define('ANTIALIASING', false);
if(!ANTIALIASING){
    function imageantialias($image, $enabled){
        return true;
    }
}