richrock Posted December 18, 2008 Share Posted December 18, 2008 I was looking at the possibility of importing a set of existing PDF files to an admin system, and the FPDF site suggested using FPDI. I've installed this, yet the best I can get is: Fatal error: Class 'FPDF' not found in D:\Documents\wamp\www\test-bench\fpdf\fpdf_tpl.php on line 20 Yet on line 20 it states : class FPDF_TPL extends FPDF { And not knowing enough about classes to figure out if this is wrong or not. Any help would be greatly appreciated. Link to comment https://forums.phpfreaks.com/topic/137564-fpdifpdf-help/ Share on other sites More sharing options...
rhodesa Posted December 18, 2008 Share Posted December 18, 2008 that line declares the class FPDF_TPL by using FPDF as a base. so, FPDF needs to be declared before that line can run. Link to comment https://forums.phpfreaks.com/topic/137564-fpdifpdf-help/#findComment-718979 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.