Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not open for Writing pptx file #806

Open
SudiartoSC opened this issue Jun 21, 2024 · 1 comment
Open

Could not open for Writing pptx file #806

SudiartoSC opened this issue Jun 21, 2024 · 1 comment

Comments

@SudiartoSC
Copy link

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\weekly_051014000000.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 2024-06-21_101430

@Progi1984
Copy link
Member

@SudiartoSC Hi, Could you give a sample code and a sample file for reproducing the bug ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants