Hi,
I tried the Examples that came with the source but unable to get the Examples to generate files. I put a couple of echo statements in the examples to see where it got stuck and found out that it got stuck at SAVING the file.
The example from HeaderFooter.php is:
echo "It got to this point<br />";
// Save File
$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007');
$objWriter->save('/tmp/HeaderFooter.docx');
echo "Word file outputted OK<br />";
Please advise.
I tried the Examples that came with the source but unable to get the Examples to generate files. I put a couple of echo statements in the examples to see where it got stuck and found out that it got stuck at SAVING the file.
The example from HeaderFooter.php is:
echo "It got to this point<br />";
// Save File
$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007');
$objWriter->save('/tmp/HeaderFooter.docx');
echo "Word file outputted OK<br />";
Please advise.