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

[Bug]: #4153

Closed
1 task done
SergioAraya opened this issue Jun 19, 2024 · 4 comments
Closed
1 task done

[Bug]: #4153

SergioAraya opened this issue Jun 19, 2024 · 4 comments

Comments

@SergioAraya
Copy link

Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?

  • Yes, it's still reproducable

What version of Laravel Excel are you using?

3.1.55

What version of Laravel are you using?

8.1.0

What version of PHP are you using?

8.1.29

Describe your issue

Captura desde 2024-06-19 10-56-52

How can the issue be reproduced?

By generating a report

What should be the expected behaviour?

a working report

@MarkBaker
Copy link
Contributor

Somewhere you are outputting two whitespaces before the file is generated, so they appear at the beginning of the filestream and are included in the file when it is saved

@SergioAraya
Copy link
Author

The thing is that in dev it works fine.

maatwebsite/excel version: "3.1.55"

Dev:
php version: 8.1.29

Prod:
php version: 8.1.27

@MarkBaker
Copy link
Contributor

So something is different between your dev and your prod. Those spaces are visible in the output you've shown, immediately before the 'PK' on that first line.

@stale stale bot added the stale label Aug 22, 2024
Copy link

stale bot commented Aug 28, 2024

This bug report has been automatically closed because it has not had recent activity. If this is still an active bug, please comment to reopen. Thank you for your contributions.

@stale stale bot closed this as completed Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants