Support

Home Forums Event Espresso Premium Filtered CSV Report not actually containing filtered records

Filtered CSV Report not actually containing filtered records

Posted: January 15, 2021 at 4:22 am


citedms

January 15, 2021 at 4:22 am

Hi,

Neither CSV download options were working for me, but I’ve managed to get them working OK by adding the use old CSV report flag in wp-config.php.

define('EE_USE_OLD_CSV_REPORT_CLASS', true);

The “All Registrations CSV Report” works fine. It’ll correctly export all registrations for a single event if required.

However the “Filtered CSV Report” doesn’t seem co take in to account the filters I’ve selected. For example I’ve already filtered for a specific event and then add a second filter to only display registrations from December 2020.

This shows approximately 50 items on the admin screen, but when I try to export this data via “Filtered CSV Report” the CSV that downloads actually contains thousands of records, most of which are not even for the event in question.

Any ideas?

Thanks


Josh

  • Support Staff

January 15, 2021 at 3:20 pm

Hi,

The EE_USE_OLD_CSV_REPORT_CLASS doesn’t actually support Filtered CSV reports. There may be an underlying condition on your webserver that isn’t allowing reports to work, that will need to be fixed. If you remove the EE_USE_OLD_CSV_REPORT_CLASS, then try a report, can you check the server error logs for any errors when the report was attempted?


citedms

January 21, 2021 at 8:56 am

Hi,

Thanks. I’ve removed the EE_USE_OLD_CSV_REPORT_CLASS for now and have even stranger results after further testing.

For some events the CSVs download correctly, both All Registrants and the Filtered version.

But on another the CSV simply doesn’t download. I see the screen where it says the CSV is being generated.

File Generation complete. Downloading, and redirecting…
Registrations report started successfully…
Wrote 24 rows to report CSV file…

But then I’m simply redirected to the registrations list without the download having been triggered.

Thanks


Tony

  • Support Staff

January 21, 2021 at 9:02 am

Are you using Chrome when testing this?

If you use another browser does it work then?

Your site is loading over HTTPS, but it may be set to load over HTTP by default and is then redirecting all requests.

Go to Dashboard -> Settings -> General.

Do the WordPress Address (URL) and Site Address (URL) fields both start with HTTPS or HTTP?


citedms

January 21, 2021 at 9:53 am

That’s a great shout! Thanks for the pointer.

I was testing using Chrome yes. The setup is a WP multisite and it was working on one install, but not another.

The one that wasn’t working had http within the multisite site URL settings.

Thanks for the help! 🙂

The support post ‘Filtered CSV Report not actually containing filtered records’ 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