Top PHP Frameworks

Info.Tech, PHP, Web Development Comments Off on Top PHP Frameworks
Top 5 PHP Frameworks Infographic
From: www.zfort.com

[Solution] JpGraph Error: 25128 The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.

Info.Tech, PHP, Web Development Comments Off on [Solution] JpGraph Error: 25128 The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.

JPGRAPH

I always stumble down with this error for couple of projects now.

JpGraph Error: 25128 The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.

Two solutions as I know:

  1. install the required library
  2. or simply comment certain line

 

For solution #1, simply cast yum install php-gd.

For solution #2, as of version 3.5.0b1 — comment line 110 (function SetAntiAliasing) at file gd_image.inc.php

and that’s it… problem solved.

Another issue will be fonts:

JpGraph Error: 25049 Font file "/usr/share/fonts/truetype/arialbd.ttf" is not readable or does not exist.

Look for jpg-config.inc.php and add these lines:

define('CACHE_DIR','cache/');
define('TTF_DIR','includes/jpgraph/fonts/');

Note: Just place the right path where you setup your jpgraph folder

Download required JpGraph Fonts: JpGraph Fonts (1274)

And that should solve the problems… 🙂

Samples:

progression_graph_1386128392 progression_graph_1386188039

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in