ahmandonk Posted June 27, 2008 Share Posted June 27, 2008 Today im have this error, after tommorow, im update WHMCS from 3.6.1 to 3.6.2 ===================================== From: Cron Daemon Sent: 27 Juni 2008 14:00 Malam To: ahman@xxxx.com Subject: Cron <xxxx@rhino> php -q /home/xxxx/public_html/client/admin/cron.php <B>FPDF error: </B>Undefined font: freesans ===================================== after my client do the order... invoice cannot viewed..... btw, can another help me ? sorry for my bad english... 0 Quote Link to comment Share on other sites More sharing options...
ahmandonk Posted June 27, 2008 Author Share Posted June 27, 2008 how im downgrade to 3.6.1 ? or re install the 3.6.2 whmcs ? 0 Quote Link to comment Share on other sites More sharing options...
Drac0 Posted June 27, 2008 Share Posted June 27, 2008 Did you try changing your font used when pdf files are created? I'm looking at the fpdf.php file on my server and it does not list freesans as a font. $this->CoreFonts=array('courier'=>'Courier','courierB'=>'Courier-Bold','courierI'=>'Courier-Oblique','courierBI'=>'Courier-BoldOblique', 'helvetica'=>'Helvetica','helveticaB'=>'Helvetica-Bold','helveticaI'=>'Helvetica-Oblique','helveticaBI'=>'Helvetica-BoldOblique', 'times'=>'Times-Roman','timesB'=>'Times-Bold','timesI'=>'Times-Italic','timesBI'=>'Times-BoldItalic', 'symbol'=>'Symbol','zapfdingbats'=>'ZapfDingbats'); I'm currently still on 3.6.1 myself. 0 Quote Link to comment Share on other sites More sharing options...
ahmandonk Posted June 27, 2008 Author Share Posted June 27, 2008 no... im not changing pdf config.... 0 Quote Link to comment Share on other sites More sharing options...
dutchnet Posted June 27, 2008 Share Posted June 27, 2008 Did you upload all the files? In 3.6.x fpdf uses the /includes/font directory in 3.6.2 it's the /includes/fonts (mind the extra s) directory I don't know if this is causing your problem but it might be worth investigating the includes/font directory is no longer used in 3.6.2 0 Quote Link to comment Share on other sites More sharing options...
ahmandonk Posted June 29, 2008 Author Share Posted June 29, 2008 Did you upload all the files? In 3.6.x fpdf uses the /includes/font directory in 3.6.2 it's the /includes/fonts (mind the extra s) directory I don't know if this is causing your problem but it might be worth investigating the includes/font directory is no longer used in 3.6.2 yes... im upload all files.... 0 Quote Link to comment Share on other sites More sharing options...
ahmandonk Posted June 29, 2008 Author Share Posted June 29, 2008 add info: PDF cannot generate... PDF invoice cannot download... after im click the download invoice... page blank.... 0 Quote Link to comment Share on other sites More sharing options...
KayoteX Posted June 29, 2008 Share Posted June 29, 2008 Just mine 5 cents.. have anyone of you tried to increase max memory usage? 0 Quote Link to comment Share on other sites More sharing options...
ahmandonk Posted June 30, 2008 Author Share Posted June 30, 2008 Just mine 5 cents.. have anyone of you tried to increase max memory usage? yes.... default 8M.. to 16M 0 Quote Link to comment Share on other sites More sharing options...
ahmandonk Posted July 1, 2008 Author Share Posted July 1, 2008 anybody can help me ? 0 Quote Link to comment Share on other sites More sharing options...
dutchnet Posted July 1, 2008 Share Posted July 1, 2008 Did you check your error log from your webserver? It might give you a clue what is going on with the php code which generates the pdf file 0 Quote Link to comment Share on other sites More sharing options...
ahmandonk Posted July 2, 2008 Author Share Posted July 2, 2008 Did you check your error log from your webserver? It might give you a clue what is going on with the php code which generates the pdf file no error log for this issue what wrong ? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.