The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Loading A .docx with PHPWord Reply To: Loading A .docx with PHPWord

Harris Christiansen

I apologize for the continued confusion. The output file is a blank word document, 7kb in size, when all I do is load the template and try to set a value. Just through testing, such as adding additional sections and text onto the “template file” does anything (and only the added text) show up on the output file.

It is not failing to load the template, beyond that nothing shows up. Error reporting is fully enabled, and if I change the load file path to a nonexistent file, it throws the exception.