C3rd
[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.
Posted: 6 Dec 2013, 1:04am - FridayJPGRAPH 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:
- install the required library
- or simply comment certain line
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: [download id="39"] And that should solve the problems... :) Samples: