Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trouble in Catalog products PDF reports...


XRainBoX

Recommended Posts

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

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...

 

29z9bih.jpg

 

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

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...