JaroslavH Posted July 25, 2013 Share Posted July 25, 2013 Hi All, I have problem with PDF invoice. I modified the look PDF document. I modified the: \class\pdf\HTMLTemplate.php \pdf\header.tpl pdf\invoice.tpl At first moment everything worked. Then my disappeared logo, invoice date and invoice number. Everything in header.tpl besides shop name. When I to list the contents variable $logo_path in file header.tpl, so it is empty. I returned all three files to their original state. The problem persists. Does anyone know why I do not load variables in header.tpl? Thanks Link to comment Share on other sites More sharing options...
JaroslavH Posted July 25, 2013 Author Share Posted July 25, 2013 (edited) I was looking to see if something has changed in the database. Changes there are more. They took me two lines. New line in table configuration: ('452',NULL,NULL,'PS_PDF_USE_CACHE','0','2013-07-16 10:52:16','2013-07-22 01:05:00'), New line in table pagenotfound: ('79','1','1','/mails/cs/%7Bshop_logo%7D','http://....cz/mails/cs/payment.html','2013-07-22 01:26:51'); Can any one line to caus this? May be a problem with the cache? Can I delete this line? Edited July 25, 2013 by JaroslavH (see edit history) Link to comment Share on other sites More sharing options...
JaroslavH Posted July 29, 2013 Author Share Posted July 29, 2013 Please, I need advice. Link to comment Share on other sites More sharing options...
JaroslavH Posted August 19, 2013 Author Share Posted August 19, 2013 Problem solved. I do not know how, but I created a file HTMLTemplate.php in folder /override/classes/pdf/ In this file were not necessary variables defined. I deleted this file. All is done. Link to comment Share on other sites More sharing options...
Recommended Posts