XRainBoX Posted June 13, 2009 Share Posted June 13, 2009 Hi guys! I've installed the last version of Catalog products PDF reports, the PDF Catalog v.2.0.9 for MYSQL5 from the user Snarg. Everything was fine, except when I installed the Flash Carrousel, and this one requires GIF to show in flash with transparency effect and PDF Catalog doesn't recognize GIF, so i download the GIF Available Now from the user unyil. In the admin section, i create the PDF, works 100%, but if i create a PDF in the front-end, i get this error: Parse error: parse error, expecting `T_FUNCTION' in project\pdf_catalogue_info2.php on line 671 And the line 671 from pdf_catalogue_info2.php is: $this->SetFont('Arial','',DIRECTORIES_TREE_FONT_SIZE); The string DIRECTORIES_TREE_FONT_SIZE is declared in pdf_config.php as define('DIRECTORIES_TREE_FONT_SIZE','10'); And, I don't know what to do... :blink: Need help. Thanks. Link to comment Share on other sites More sharing options...
XRainBoX Posted June 14, 2009 Author Share Posted June 14, 2009 So, I don't know what happens, but now is working 100%! :D The only problem now is the margin of product description... see below... I tried to change in pdf_catalogue_info2.php the lines: if(SHOW_DESCRIPTION) { if(strlen($data_array[6])) { $this->Cell($data_array[0]+6,5,"",0,0); $this->MultiCell($this->text_fw,5,$data_array[6],PRODUCTS_BORDER,'L'); } } But only the number 5 side of text_fw that changes the margin... I got the manual of FPDF, but no success... Need help! Thanks! Link to comment Share on other sites More sharing options...
XRainBoX Posted June 18, 2009 Author Share Posted June 18, 2009 Hahahaha, the problem was the description of the produtct, there was too many <br> in the description... Link to comment Share on other sites More sharing options...
XRainBoX Posted June 30, 2009 Author Share Posted June 30, 2009 Found one bug in the PDF, if you have products in the main, root category they don't go do the PDF file... I'll check the queries Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.