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

Size Problem #2680

Open
2 tasks
luismigueloliveira opened this issue Sep 17, 2024 · 3 comments
Open
2 tasks

Size Problem #2680

luismigueloliveira opened this issue Sep 17, 2024 · 3 comments
Labels
Bug Report Status: Waiting for feedback Question has been asked, waiting for response from PR author

Comments

@luismigueloliveira
Copy link

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
Captura de ecrã 2024-09-17, às 17 44 52

  1. Permissions
  2. Memory on my computer
  3. Open with recover (doesn't work

And i only can solve this if I reduce the filesize (eleminating addTextBreak()). Attached an example.

relatorio (7).docx

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)
@Progi1984
Copy link
Member

@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 Progi1984 added the Status: Waiting for feedback Question has been asked, waiting for response from PR author label Sep 17, 2024
@luismigueloliveira
Copy link
Author

@Progi1984 it's possibile to send it by email? I cannot post this code in public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Status: Waiting for feedback Question has been asked, waiting for response from PR author
Development

No branches or pull requests

3 participants
@Progi1984 @luismigueloliveira and others