olsonsp4c Posted January 21, 2006 Share Posted January 21, 2006 This is the support thread for the contrib that I modded to integrate the two contribs. Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
danielcompton Posted January 21, 2006 Share Posted January 21, 2006 This is the support thread for the contrib that I modded to integrate the two contribs. Scott thanks. I have a few queries I think the contrib missing the pdf.gif file I have installed this and the fpdf directory with fonts directory and fonts but get this error Warning: setfont(pdf/font/helveticab.php): failed to open stream: No such file or directory in /homepages/4/d151894510/htdocs/Girlsgoodies/pdf/fpdf/fpdf.php on line 550 Warning: setfont(): Failed opening 'pdf/font/helveticab.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/4/d151894510/htdocs/Girlsgoodies/pdf/fpdf/fpdf.php on line 550 FPDF error: Could not include font metric file But when I look the files are there in the correct location any ideas? thanks in advance Quote Link to comment Share on other sites More sharing options...
danielcompton Posted January 21, 2006 Share Posted January 21, 2006 thanks. I have a few queries I think the contrib missing the pdf.gif file I have installed this and the fpdf directory with fonts directory and fonts but get this error Warning: setfont(pdf/font/helveticab.php): failed to open stream: No such file or directory in /homepages/4/d151894510/htdocs/Girlsgoodies/pdf/fpdf/fpdf.php on line 550 Warning: setfont(): Failed opening 'pdf/font/helveticab.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/4/d151894510/htdocs/Girlsgoodies/pdf/fpdf/fpdf.php on line 550 FPDF error: Could not include font metric file But when I look the files are there in the correct location any ideas? Sorry me being thick. I had a Uppercase F in Font directory... oppps. works well so far, thanks! thanks in advance Quote Link to comment Share on other sites More sharing options...
danielcompton Posted January 21, 2006 Share Posted January 21, 2006 Only problem I found was it would add the PDF icon to the product info page, but not the "click here text" I know nothing about php etc but have got it working by changing this <?php echo '<a href="' . tep_href_link(FILENAME_PDF_DATASHEET, 'products_id=' . $product_info['products_id']) .'" target="_self">' . tep_image('images/pdf.gif') .'</a>'; ?> to this <?php echo '<a href="' . tep_href_link(FILENAME_PDF_DATASHEET, 'products_id=' . $product_info['products_id']) .'" target="_self">' . tep_image('images/pdf.gif'), TEXT_PDF_DOWNLOAD .'</a>'; ?> Also got the pdf.gif from an older posting. Works good, thanks. Quote Link to comment Share on other sites More sharing options...
HellGod Posted January 22, 2006 Share Posted January 22, 2006 hi unfortunately my English is not the best, I hopes it can me nevertheless somehow help. my problem is in the table of contents at the end of the pdf files all data is centered but i need ist left. is there a possibility to affect there? Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted January 28, 2006 Share Posted January 28, 2006 (edited) I get this error when i will generate a pdf file in the admin panel. someone now why ??? 1054 - Unknown column 'p.products_id' in 'on clause' select p.products_id, pd.products_name, pd.products_description, p.products_image, p.products_model, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id='1' order by pd.products_name, p.products_date_added DESC [TEP STOP] PLease help Edited January 28, 2006 by TheExterminator 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.