PDF generating error

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Tsubaru
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Jan 26, 2008 5:54 pm
Location: Rio de Janeiro

PDF generating error

Postby Tsubaru » Fri Feb 01, 2008 8:36 pm

When I click on the pdf icon i get this error message.

Code: Select all

Warning: TCPDF::include(C:\Eduardo\Web\PHP+MYSQL\Joomla\Joomla-1.5.0\language\pdf_fonts\vera.php) [function.TCPDF-include]: failed to open stream: No such file or directory in C:\Eduardo\Web\PHP+MYSQL\Joomla\Joomla-1.5.0\libraries\tcpdf\tcpdf.php on line 1661

Warning: TCPDF::include() [function.include]: Failed opening 'C:\Eduardo\Web\PHP+MYSQL\Joomla\Joomla-1.5.0\language\pdf_fonts\vera.php' for inclusion (include_path='.;C:/Arquivos de programas/EasyPHP 2.0b1\php5\pear\') in C:\Eduardo\Web\PHP+MYSQL\Joomla\Joomla-1.5.0\libraries\tcpdf\tcpdf.php on line 1661
TCPDF error: Could not include font definition file


What i have to to do to fix this?
What is this vera.php file?
Last edited by Tsubaru on Sat Feb 02, 2008 3:58 pm, edited 1 time in total.

User avatar
ot2sen
Joomla! Master
Joomla! Master
Posts: 10409
Joined: Thu Aug 18, 2005 9:58 am
Location: Hillerød - Denmark
Contact:

Re: PDF generating error

Postby ot2sen » Fri Feb 01, 2008 8:48 pm

Hi Tsubaru,

The PDF-fonts were changed from vera to freesans while Joomla! 1.5 was in RC stage.
So you probably just need to correct a false reference to vera in the language xx-XX.xml file
Look in /language/xx-XX/xx-XX.xml for this
vera

and change to this
freesans
Ole Bang Ottosen
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org

Tsubaru
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Jan 26, 2008 5:54 pm
Location: Rio de Janeiro

Re: PDF generating error

Postby Tsubaru » Fri Feb 01, 2008 8:58 pm

ot2sen wrote:Hi Tsubaru,

The PDF-fonts were changed from vera to freesans while Joomla! 1.5 was in RC stage.
So you probably just need to correct a false reference to vera in the language xx-XX.xml file
Look in /language/xx-XX/xx-XX.xml for this
vera

and change to this
freesans



Thank you.

The translation for my language was outdated.

Thank you again.  8)

User avatar
ot2sen
Joomla! Master
Joomla! Master
Posts: 10409
Joined: Thu Aug 18, 2005 9:58 am
Location: Hillerød - Denmark
Contact:

Re: PDF generating error

Postby ot2sen » Fri Feb 01, 2008 9:26 pm

Good to hear issue solved  :)

Psst.. You can then edit your first post in this thread and change 'Message icon' to 'Solved'. That will leave this nice Image
Ole Bang Ottosen
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org

lagibosen
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Jun 28, 2008 11:43 pm
Contact:

Re: PDF generating error

Postby lagibosen » Sat Jun 28, 2008 11:57 pm

i have the same issue but i still can;t fix it
Signature Rules: viewtopic.php?f=8&t=65

User avatar
toasted
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Wed Sep 27, 2006 12:53 pm

Re: PDF generating error

Postby toasted » Tue Jul 08, 2008 9:43 am

lagibosen wrote:i have the same issue but i still can;t fix it

Me too, it already said freesans..... what to do? I am using English only

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: PDF generating error

Postby mcsmom » Tue Jul 08, 2008 10:15 am

Are you using IE? If so, click right and do open in new window and see if it works? Also please test infirefox and see if you have the same problem.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
toasted
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Wed Sep 27, 2006 12:53 pm

Re: PDF generating error

Postby toasted » Tue Jul 08, 2008 1:10 pm

I get the same error right clicking and opening in a new window. IE and Firefox both have the same issue.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: PDF generating error

Postby mcsmom » Tue Jul 08, 2008 1:37 pm

You got the warnings that asked for vera?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
toasted
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Wed Sep 27, 2006 12:53 pm

Re: PDF generating error

Postby toasted » Tue Jul 08, 2008 3:30 pm

I get this:

Code: Select all

TCPDF error: Could not include font definition file


When searching the forums with this statement this thread came up

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7985
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: PDF generating error

Postby mcsmom » Wed Jul 09, 2008 2:55 am

please turn your error reporting to maximum in your global configuration and try again.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

jmvvb
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Jul 18, 2008 5:37 pm

Re: PDF generating error

Postby jmvvb » Fri Jul 18, 2008 5:51 pm

I have the error you mention, but when I click it to open it in a new window, I can download the PDF no problem.
Only when I click it directly on the page it generates an error.


Return to “Extensions for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 12 guests