Donald White
Donald White
I use cloudmersive ConvertDocumentApi it would be nice to do it all Template -> docx -> PDF all with one library, but it doesn't seem like this is a priority.
I have the same problem using the Template Processor. Settings::loadConfig(); Settings::setZipClass(Settings::PCLZIP); Settings::setOutputEscapingEnabled(true); Settings::setCompatibility(false); ``` $newpost = array_map_recursive('htmlspecialchars', $_POST); $doc = new TemplateProcessor(BASE_URL . "/forms/lease_template.docx"); $fname = $newpost['element_1_1']; $lname = $newpost['element_1_2'];...
It seems the the problem is related to the ZIP library. When I comment out the following: //Settings::setZipClass(Settings::PCLZIP); It now works. This doesn't explain why it worked for 14 months...