For old posts/forum, please go here : https://sourceforge.net/p/soplanning/discussion/
Pour l'ancien forum, accédez à cette page : https://sourceforge.net/p/soplanning/discussion/

JpGraph Error 25128

Post Reply
Ralf
Posts: 34
Joined: Sun Sep 23, 2018 6:13 pm

JpGraph Error 25128

Post by Ralf » Fri Oct 05, 2018 12:45 pm

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: 34
Joined: Sun Sep 23, 2018 6:13 pm

Re: JpGraph Error 25128

Post by Ralf » Fri Oct 05, 2018 2:11 pm

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: 189
Joined: Thu Aug 31, 2017 3:58 pm

Re: JpGraph Error 25128

Post by soplanning » Fri Oct 05, 2018 7:49 pm

Sounds very strange, i don't really know what is hapenning...
What is the error please ?

Ralf
Posts: 34
Joined: Sun Sep 23, 2018 6:13 pm

Re: JpGraph Error 25128

Post by Ralf » Mon Oct 08, 2018 1:35 pm

This is what I see:
JpGraph.png
JpGraph.png (43.67 KiB) Viewed 1649 times

Ralf
Posts: 34
Joined: Sun Sep 23, 2018 6:13 pm

Re: JpGraph Error 25128

Post by Ralf » Mon Oct 08, 2018 1:39 pm

Don't you see it??
JpGraph-IE.png
JpGraph-IE.png (45.34 KiB) Viewed 1648 times

soplanning
Site Admin
Posts: 189
Joined: Thu Aug 31, 2017 3:58 pm

Re: JpGraph Error 25128

Post by soplanning » Mon Oct 08, 2018 2:13 pm

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: 34
Joined: Sun Sep 23, 2018 6:13 pm

Re: JpGraph Error 25128

Post by Ralf » Mon Oct 08, 2018 8:16 pm

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: 189
Joined: Thu Aug 31, 2017 3:58 pm

Re: JpGraph Error 25128

Post by soplanning » Tue Oct 09, 2018 7:39 am

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