I am having a problem with the CSV Export functionality. When I click the “All Registrations CSV Report” buttonafter around 30 seconds I am redirected back to the front end of the site where it tells me that the page cannot be found.
This was previously working perfectly however it seems to have broken as soon as I went over a set amount of registrations.
I have tried a few things such as increasing the max_execution_time to 999 and also increasing the php_memory_limit but to no avail.
Some hosts do not allow you to set the max_execution_time and event prevent changing the memory limit so you may still be hitting either of those limits, or a query limit.
Currently for large amounts of registrations you’ll need to break down the export into smaller ‘sections’ of data that the server can handle without timing out. You can do this using this function:
Starts at the first row 0, an set the limit at 400. You then run the export and will have 400 registrations. Then you need to changes the vales within the function for the next batch:
$current_query['limit'] = array(400,800);
And again run the export for the next batch.
That make sense?
You can use that function within your theme functions.php file or a Site Specific Plugin (the gist above is already a plugin)
Viewing 1 reply thread
The support post ‘Export all registrations CSV (Page not found)’ 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.