Im using PHPWord to make a document from a template, its all worked great so far and the documentation is fairly decent: http://phpword.readthedocs.org/en/latest/index.html
But I cannot open the file that I have created, using:
$templateProcessor->saveAs($filename);
It says word cannot open as user does not have access privileges. I don't see anything in the documentation about this and searching SO finds several other similar questions all unanswered.
Anyone have any ideas on this?