JpGraph Error 25128

Post Reply
Ralf
Posts: 45
Joined: 23 Sep 2018, 18:13

JpGraph Error 25128

Post 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...
Ralf
Posts: 45
Joined: 23 Sep 2018, 18:13

Re: JpGraph Error 25128

Post 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
soplanning
Site Admin
Posts: 388
Joined: 31 Aug 2017, 15:58

Re: JpGraph Error 25128

Post by soplanning »

Sounds very strange, i don't really know what is hapenning...
What is the error please ?
Ralf
Posts: 45
Joined: 23 Sep 2018, 18:13

Re: JpGraph Error 25128

Post by Ralf »

This is what I see:
JpGraph.png
JpGraph.png (43.67 KiB) Viewed 13327 times
Ralf
Posts: 45
Joined: 23 Sep 2018, 18:13

Re: JpGraph Error 25128

Post by Ralf »

Don't you see it??
JpGraph-IE.png
JpGraph-IE.png (45.34 KiB) Viewed 13326 times
soplanning
Site Admin
Posts: 388
Joined: 31 Aug 2017, 15:58

Re: JpGraph Error 25128

Post 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
Ralf
Posts: 45
Joined: 23 Sep 2018, 18:13

Re: JpGraph Error 25128

Post 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
soplanning
Site Admin
Posts: 388
Joined: 31 Aug 2017, 15:58

Re: JpGraph Error 25128

Post 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;
    }
}
Post Reply