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

Corrupted downloaded xlsx #53

Closed
binaondrej opened this issue Feb 28, 2022 · 2 comments
Closed

Corrupted downloaded xlsx #53

binaondrej opened this issue Feb 28, 2022 · 2 comments

Comments

@binaondrej
Copy link

Files generates ok, but problem is when is downloaded. Downloaded file is corrupted and can not be opened. (MS Excel shows message about corrupted file and offers repairing, what doesn't help)

$xlsx = create_event_xlsx($event);
$xlsx->saveAs($event['title'] . '.xlsx');         // ok
$xlsx->downloadAs($event['title'] . '.xlsx');     // corrupted file
@shuchkin
Copy link
Owner

shuchkin commented Feb 28, 2022

@binaondrej
Copy link
Author

Ohh, sorry, I missed this

Thank you

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

No branches or pull requests

2 participants