Support

Home Forums Event Espresso Premium CSV printing in browser instead of file download initiating

CSV printing in browser instead of file download initiating

Posted: July 7, 2023 at 1:12 pm

Viewing 3 reply threads


scladmin

July 7, 2023 at 1:12 pm

Hello when exporting registrants the CSV info is dumped into the browser rather than the plug-in initiating a download of the file to my computer. You can see an example here: https://ibb.co/4RvR2P9

I’ve read on other posts that it is due to https:// protocol not being specified inside of the WordPress settings but this is not the issue here. I have also checked the behavior on multiple browsers and it is the same.


Tony

  • Support Staff

July 7, 2023 at 5:29 pm

Hi there,

I’ve read on other posts that it is due to https:// protocol not being specified inside of the WordPress settings but this is not the issue here. I have also checked the behavior on multiple browsers and it is the same.

That’s actually a different issue.

Browsers now block HTTP downloads when the download was initiated over HTTPS… so you wouldn’t see the CSV at all in that case.

This issue is usually down to MIME types set on the server.

What that means is the server is basically telling the browser the content is HTML (not a CSV file) so the browser tries to open the content instead of saving to a file.

If you open a ticket with your host and ask them to add this mime type to the server:

application/ms-excel .csv

This may also work:

text/csv csv;

Does the file then download?


scladmin

July 10, 2023 at 3:03 pm

Yes, that fixed it. Thanks


Tony

  • Support Staff

July 10, 2023 at 3:16 pm

Awesome, I’m glad that worked.

Any further issues just let us know.

Viewing 3 reply threads

The support post ‘CSV printing in browser instead of file download initiating’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso