I need to be able to export the registrations list prior to event day. Sometimes I need to export a filtered list as well. When I do, the browser automatically opens the CSV file instead of downloading it to my computer. How can we fix this?
So do this happen with both the unfiltered and filtered CSV or just one of them?
Which browser are you using?
It could be the MIME type set on your server or the browser itself simply set to automatically open the CSV’s.
When you export the registrations doe EE go to another ‘batch’ page that shows a progress bar or does it export on the same page you click the export button on?
I do see the progress bar for both types of files, and then it exports on that same page.
Ok, the progress bar means you are using the ‘batch’ export feature (and you should be) but we already set a MIME type within the temp folder we crate for the csv.
In case it helps (FYI), exporting CSV files used to work just fine.
Did anything change between now and then? New plugins etc?
Do you mind if I try an export so I can view the request/response headers from the site? If thats ok you can send temp login details using this form:
Yeah, the MIME type is incorrect, it’s coming through as text/HTML.
You can try adding:
AddType application/ms-excel .csv
to your sites .htaccess file in the root directory or open up a ticket with your host and request they set this up for you.
Viewing 5 reply threads
The support post ‘Browser is Automatically Opening CSV File’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.