I have successfully read the pptx file and I tried to change one of the paragraphs from value A to value B, but when it was saved to another file (with a new name)
there is a mistake :
Source File Name :xxxxxxx\wrt.pptx
output File Name : xxxxxxx\weekly_051014000000.pptx
_Fatal error: Uncaught Exception: Could not open xxxxxxx\weekly051014000000.pptx for writing. in pth\vendor\phpoffice\common\src\Common\Adapter\Zip\ZipArchiveAdapter.php:28 Stack trace: #0pth\vendor\phpoffice\phppresentation\src\PhpPresentation\Writer\PowerPoint2007.php(99): PhpOffice\Common\Adapter\Zip\ZipArchiveAdapter->open('D:\xampp\htdocs...') #1 D:\xampp\htdocs\mypm\power.php(114): PhpOffice\PhpPresentation\Writer\PowerPoint2007->save('D:\xampp\htdocs...') #2 {main} thrown in
I have successfully read the pptx file and I tried to change one of the paragraphs from value A to value B, but when it was saved to another file (with a new name) there is a mistake : Source File Name :xxxxxxx\wrt.pptx output File Name : xxxxxxx\weekly_051014000000.pptx _Fatal error: Uncaught Exception: Could not open xxxxxxx\weekly051014000000.pptx for writing. in pth\vendor\phpoffice\common\src\Common\Adapter\Zip\ZipArchiveAdapter.php:28 Stack trace: #0 pth\vendor\phpoffice\phppresentation\src\PhpPresentation\Writer\PowerPoint2007.php(99): PhpOffice\Common\Adapter\Zip\ZipArchiveAdapter->open('D:\xampp\htdocs...') #1 D:\xampp\htdocs\mypm\power.php(114): PhpOffice\PhpPresentation\Writer\PowerPoint2007->save('D:\xampp\htdocs...') #2 {main} thrown in