PHPWord
PHPWord copied to clipboard
Size Problem
Describe the bug and add attachments
Sometimes, when my generated files have a filesize over 450kb, files looks breaked and cannot open it. I get an error
- Permissions
- Memory on my computer
- Open with recover (doesn't work
And i only can solve this if I reduce the filesize (eleminating addTextBreak()). Attached an example.
Expected behavior
Open the file
Steps to reproduce
.
PHPWord version(s) where the bug happened
3
PHP version(s) where the bug happened
5.6.16
Priority
- [ ] I want to crowdfund the bug fix (with @algora-io) and fund a community developer.
- [ ] I want to pay the bug fix and fund a maintainer for that. (Contact @Progi1984)
@luismigueloliveira Sorry. But Can you send me a code which generate a corrupted file ? And we don't have a v3 (for the moment).
@Progi1984 it's possibile to send it by email? I cannot post this code in public.
@luismigueloliveira Could you simplify it and send it here ?