[code]
10/02/12 12:37:02,279 [7996] INFO phpdocx_logger - Create a temp file to use as initial ZIP file. DOCX is a ZIP file.
10/02/12 12:37:02,392 [7996] INFO phpdocx_logger - The language has been set.
10/02/12 12:37:02,411 [7996] INFO phpdocx_logger - Open template [siteroot]/public/docs//templates/chain_cover.docx.
10/02/12 12:37:02,413 [7996] INFO phpdocx_logger - Change template symbol.
10/02/12 12:37:02,415 [7996] INFO phpdocx_logger - Change default font.
10/02/12 12:37:02,415 [7996] INFO phpdocx_logger - Return template variables.
[b]10/02/12 12:37:02,424 [7996] INFO phpdocx_logger - Assign and replace image variable logo in template.[/b]
10/02/12 12:37:02,426 [7996] INFO phpdocx_logger - Assign and replace text variable barcode in template.
10/02/12 12:37:02,427 [7996] INFO phpdocx_logger - Assign and replace text variable date in template.
10/02/12 12:37:02,428 [7996] INFO phpdocx_logger - Assign and replace text variable patient_first in template.
10/02/12 12:37:02,428 [7996] INFO phpdocx_logger - Assign and replace text variable patient_last in template.
10/02/12 12:37:02,429 [7996] INFO phpdocx_logger - Assign and replace text variable patient_id in template.
10/02/12 12:37:02,430 [7996] INFO phpdocx_logger - Assign and replace text variable patient_addr1 in template.
10/02/12 12:37:02,430 [7996] INFO phpdocx_logger - Assign and replace text variable patient_addr2 in template.
10/02/12 12:37:02,431 [7996] INFO phpdocx_logger - Assign and replace text variable patient_city in template.
10/02/12 12:37:02,432 [7996] INFO phpdocx_logger - Assign and replace text variable patient_state in template.
10/02/12 12:37:02,433 [7996] INFO phpdocx_logger - Assign and replace text variable patient_zip in template.
10/02/12 12:37:02,433 [7996] INFO phpdocx_logger - Set DOCX name to: [siteroot]/public/docs/0BMchain_cover.
10/02/12 12:37:02,433 [7996] DEBUG phpdocx_logger - DOCX is a template.
10/02/12 12:37:02,433 [7996] INFO phpdocx_logger - Create a temp copy of the file, to generate a new DOCX.
10/02/12 12:37:02,435 [7996] INFO phpdocx_logger - Document.xml.rels exists, replace word/_rels/document.xml.rels with a new document.
10/02/12 12:37:02,436 [7996] INFO phpdocx_logger - Replace [Content_Types].xml with a new document.
10/02/12 12:37:02,436 [7996] INFO phpdocx_logger - Replace word/_rels/document.xml.rels with a new document.
10/02/12 12:37:02,442 [7996] INFO phpdocx_logger - Replace word/document.xml with a new document.
10/02/12 12:37:02,443 [7996] INFO phpdocx_logger - Add embedded files.
10/02/12 12:37:02,443 [7996] INFO phpdocx_logger - End of file, close it.
10/02/12 12:37:02,451 [7996] INFO phpdocx_logger - Download file 0BMchain_cover.docx.
[/code]
The image doesn't get replaced by anything though.