Posted: June 16, 2014 at 1:29 am
|
Hi, I am unable to export my csv report on one of my events. Let me know if there is a workaround for this. |
Hi Ng Jia Xiang, Its possible the script is timing out before it has time to finish the operation. Can you enable Error Reporting (via http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Logging) so we can see if any errors are thrown that we can then investigate? |
|
|
Hi Tony, I managed to download it after trying around 50+ times. This is one of the errors: Thanks. |
Hello, could you please raise the memory that is available to PHP? You can usually do this through your wp-config.php file or your host can do this for you: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP — |
|
|
Hi, I still can’t download the report smoothly. This is the new error: [18-Jun-2014 19:11:42 UTC] PHP Fatal error: Maximum execution time of 600 seconds exceeded in /home/shaperun/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php on line 371 |
|
Hi, Another similar error: But the downloads fail less frequently now. |
Did you already raise the memory available to PHP? Also, when it does download about how long does it load before the file is downloaded? — |
|
|
Hi, Yes I have raised the memory from 512mb to 1gb. The successful ones take roughly 8 minutes. |
This isn’t really a ‘bug’ per say. It appears each of those 2800 registrations likely has in the range of 20 questions within them. (From looking at the events on your site) So what happens is each of registrations pulls in their 20 questions from the database one after the other, which use memory and time, so for 2800 your current server can not consistently handle the load. I’m assuming this is a shared server? You could try upping the max execution time on the server (host permitting) I’ve created a ticket to discuss the options EE can offer in situations such as these. |
|
|
The site is on a VPS with the following specs: Would increasing the number of vCPUs help? |
Is this the only site on that VPS? You currently have a max execution time of 600 seconds (10 mins)
Which is close to the amount of time it takes for the successful reports, so if there is something else running on the server at the same time it could run a little longer, then hit the timeout. Personally I would start by increasing the max execution value. |
|
|
Yes, this is the only site on the VPS. I have raised the max execution to 1800 seconds (30 mins). |
If you now run the same export does complete or still time out after 30mins? A max_execution_time of 30mins should really not be needed. |
|
|
The same export will fail the first time at 11 mins 45 seconds (goes to page not found page), and complete the second time at 9 mins 23 seconds. No errors were logged. |
Thanks for the update. |
|
|
The csv report no longer works; 2700 registrations with 20 questions appears to be the limit. max_execution_time has been set to 1800 seconds and max_input_time 1800 seconds, the service has also been restarted after the settings were changed, but the export still fails at 11 mins 40+ seconds. I have tried adding this setting on wp-config.php as well, but it still doesn’t work. This is the only site on the VPS, I have also paid for extra resources to boost the VPS and hoped the export works; it still doesn’t work. I have no solutions left to try. Please help. Thanks. |
|
If I bought a support token, could I have the support staff put together something that can download the report in batches, eg. by date or by amount? |
|
Hi, a little update. It is clear this is some server issue, and that even the web host couldn’t resolve it. |
The support post ‘EE4 registration CSV report bug’ 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.