Go Back   $5 Script Archive Community Forum > html2ps/pdf > Bugs & Issues
Register Try FlashChat Try FlashBB Search Today's Posts Mark Forums Read

Bugs & Issues Post URLs that fail in html2ps/pdf here, with the options that were used, and any other issues. Archived posts (with answers!) are in the old forum.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2006, 02:55 AM
SwenVogel SwenVogel is offline
Junior Member
 
Join Date: Jun 2006
Posts: 3
Default html2pdf with XAMPP

After i have installed html2pdf with xampp under windows I can open http://localhost
and anything runs fine.
But when i try to run the sample.simples.php script in the samples folder i get some errors in the require_once statements.

But all this was history after changing the include_path in the php5.ini to the html2pdf folder.

But now there is a new error :

Fatal error: Call to undefined method FPDF::GetFontAscender() in C:\Programme\Sy
stem\xampp\htdocs\html2pdf\output.fpdf.class.php on line 164
Reply With Quote
  #2  
Old 06-14-2006, 03:30 AM
Konstantin Konstantin is offline
Senior Member
 
Join Date: Apr 2005
Location: Russian Federation
Posts: 1,441
Default

Quote:
Originally Posted by SwenVogel
But now there is a new error :

Fatal error: Call to undefined method FPDF::GetFontAscender() in C:\Programme\Sy
stem\xampp\htdocs\html2pdf\output.fpdf.class.php on line 164
Most likely you have original FPDF class in include path before patched one (<html2ps_dir>/fpdf/fpdf.php) or accidentally replaced patched FPDF with original one.
__________________
WBR, Konst.
Reply With Quote
  #3  
Old 06-14-2006, 04:09 AM
SwenVogel SwenVogel is offline
Junior Member
 
Join Date: Jun 2006
Posts: 3
Default

Befor XAMPP i had never installed any other php or fpdf version on my windows system. Also i only changed the php5.ini in my ...\xampp\php\directory.
Under linux this works fine and under windows also but only in the webbrowser.

In the webrowser although without chaning the include_path.
Reply With Quote
  #4  
Old 06-14-2006, 04:15 AM
SwenVogel SwenVogel is offline
Junior Member
 
Join Date: Jun 2006
Posts: 3
Default

SHIT you are right, i changed

Code:
include_path = ".;C:\Programme\System\xampp\php\pear\;C:\Programme\System\xampp\htdocs\html2pdf\;"
in

Code:
include_path = ".;C:\Programme\System\xampp\htdocs\html2pdf\;C:\Programme\System\xampp\php\pear\;"
and everything works fine. :grin:

many thanks !!!!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -7. The time now is 06:16 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) 1999-2007 TUFaT.com