Jump to content

FPDF error


ahmandonk

Recommended Posts

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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated