A site may timeout while attempting to generate a Registrations CSV Report for a large number of registrants with custom questions. We have an enhancement ticket to allow batched export. This process will break up the report creation into smaller chunks. Until then, this workaround is recommended.
Codebase 7425
This workaround does require editing the core plugin using an SFTP or FTP client. If you are not comfortable making these changes, then do consult with a WordPress professional.
Raise PHP Timeout and Memory available to PHP
First, try increasing the PHP timeout setting and raising the memory available to PHP.
-
Login to your WordPress site using your preferred SFTP or FTP client. FileZilla and Cyberduck are free options. Using a Mac? Try Transmit
-
Browse to the WordPress root. This is the location where the wp-config.php file resides. Then open that file for editing.
-
Go to the middle of the file and add the following macros:
/** Raise PHP timeout */
set_time_limit(90);
/** Increase memory available to PHP */
define( 'WP_MEMORY_LIMIT', '128M' );
- Save changes to your wp-config.php file. Then return to your WP dashboard and go to the registrations overview page for a specific event. Then try generating the Registrations CSV Report again.
If it does not work, then continue to the next part of the tutorial.
Setup Batch Report Generation via a Site Specific Plugin
Please see the following support post:
https://eventespresso.com/topic/registrations-export-time-out/#post-178446
References:
https://eventespresso.com/topic/ee4-2-7-wp3-9-1-unable-to-save-registrations-csv/
http://eventespresso.com/topic/csv-report-download-problem/
http://eventespresso.com/topic/cant-pull-certain-csv-files/
http://eventespresso.com/topic/event-registrations-csv-report-timeout/
https://eventespresso.com/topic/fatal-error-downloading-csv/
https://eventespresso.com/topic/registrations-export-time-out/