Posted: December 28, 2018 at 1:34 pm
|
No matter what browser I use when we batch export to a CSV it shows it on the screen. My user isn’t in a place to change the filename due to skillset. Thoughts? |
Hi there, Are you using the latest version of Event Espresso 4? (Currently v4.9.75.p) When you run an export, does it try to download the file straight after the click, or does it direct your to a ‘batch’ page where you can see a progress bar first? Generally when the above happens it means the server has incorrect mime types for CSV’s so the browser opens the file as HTML. You can try adding:
To your sites |
|
|
Thanks for replying! I see a progress bar then it shows the CSV right on the page. |
OK, so that’s the batch export feature which is correct. However, as mentioned that system adds a .htaccess file and sets the above mime type. Can you send temporary login details over so I can run an export and follow the request? If so you can use this form: |
|
|
Sending over now Tony. Thanks! |
Ahh ok, your server is using Nginx which doesn’t support .htaccess files (which is how EE sets this on the fly). You’ll need to contact your host and have them fix this for you, your server is returning an incorrect mime type for CSV files. This is what I get on your site – https://monosnap.com/file/a7gFsNBAkQY4VMbN0yYRSm7S2nw0aj This is what I see on mine – https://monosnap.com/file/DTwBhHU6dH3YJfA8qxEqRVY63jA5Mb Because your server is telling the browser the contact is HTML ts just opening that content. Open a ticket with your host and ask them to add this mime type to the server:
This may also work:
Either way they should know how to apply it on your site for you. |
|
|
Fixed. Thanks! |
You’re most welcome. |
|
The support post ‘CSV Export (3)’ 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.