JPG4.2 on PHP7.2 - JpGraph Error: 25092

819 views
Skip to first unread message

Ralf Laxina

unread,
Feb 13, 2018, 1:11:31 AM2/13/18
to JpGraph
Hi Guys,

I've been having the below error on JPGraph 4.2.0:

JpGraph Error: 25092 There is either a configuration problem with TrueType or a problem reading font file "\\SGNA842.AMK.ST.COM\EWSWEB\wwwroot\library\jpgraph-4.2.0\src/fonts/arialbd.ttf" Make sure file exists and is in a readable place for the HTTP process. (If 'basedir' restriction is enabled in PHP then the font file must be located in the document root.). It might also be a wrongly installed FreeType library. Try upgrading to at least FreeType 2.1.13 and recompile GD with the correct setup so it can find the new FT library.

My Checklist: 
1. USE_CACHE, CACHE_DIR, TTF_DIR are both amended and having the carrect path.
2. Notice the forward and back slash combination in the path above? It's weird because I already amended the TTF_DIR path in config file. It seems that it is taking the system root path but failed to use the correct slash on the containing folder.
3. My freetype version is currently 2.8.0


Please help :(

I'm thinking, maybe this version of JPGraph is not applicable to PHP7?

TIA masters!

Augustine John

unread,
May 6, 2020, 1:20:18 AM5/6/20
to JpGraph
Anyone got a solution for this???

Madhura BL

unread,
Jun 1, 2020, 12:40:22 AM6/1/20
to JpGraph
Hi, i am getting the same error.. Any updates on this issue?

Youce Zeuf

unread,
Jun 16, 2020, 7:39:58 AM6/16/20
to JpGraph
Hello

same error with CentOs.

JpGraph Error: 25092


GD Supportenabled
GD headers Version2.3.0
GD library Version2.3.0
FreeType Supportenabled
FreeType Linkagewith freetype
FreeType Version2.8.0
GIF Read Supportenabled
GIF Create Supportenabled
JPEG Supportenabled
libJPEG Version6b
PNG Supportenabled
libPNG Version1.5.13
WBMP Supportenabled
XPM Supportenabled
libXpm Version30411
XBM Supportenabled
WebP Supportenabled
Reply all
Reply to author
Forward
0 new messages