Support

Home Forums Event Espresso Premium Unable to download registration information

Unable to download registration information

Posted: October 25, 2020 at 5:23 am


koopmanw

October 25, 2020 at 5:23 am

Error message received when clicking on “All Registrations CSV Report” or the filtered report


koopmanw

October 25, 2020 at 5:24 am

The following error is returned:

The file will download automatically when done, and then you will be redirected.
An exception of type EventEspressoBatchRequest\Helpers\BatchRequestException occurred while running BatchRunner::create_job(). Its message was Could not create temporary file for job gn1uljHQLjTLHuQ, because: Could not create temporary file, an unknown error occurred and had trace #0 /home/fapsaorg/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/batch/JobHandlers/RegistrationsReport.php(53): EventEspressoBatchRequest\JobHandlerBaseClasses\JobHandlerFile->create_file_from_job_with_name(‘gn1uljHQLjTLHuQ’, ‘event-espresso-…’) #1 /home/fapsaorg/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/batch/BatchRequestProcessor.php(71): EventEspressoBatchRequest\JobHandlers\RegistrationsReport->create_job(Object(EventEspressoBatchRequest\Helpers\JobParameters)) #2 /home/fapsaorg/public_html/wp-content/plugins/event-espresso-core-reg/modules/batch/EED_Batch.module.php(241): EventEspressoBatchRequest\BatchRequestProcessor->create_job(‘EventEspressoBa…’, Array) #3 /home/fapsaorg/public_html/wp-content/plugins/event-espresso-core-reg/modules/batch/EED_Batch.module.php(177): EED_Batch->_enqueue_batch_job_scripts_and_styles_and_start_job() #4 /home/fapsaorg/public_html/wp-content/plugins/event-espresso-core-reg/modules/batch/EED_Batch.module.php(142): EED_Batch->enqueue_scripts_styles_batch_file_create() #5 /home/fapsaorg/public_html/wp-includes/class-wp-hook.php(288): EED_Batch->enqueue_scripts(‘admin_page_espr…’) #6 /home/fapsaorg/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #7 /home/fapsaorg/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #8 /home/fapsaorg/public_html/wp-admin/admin-header.php(104): do_action(‘admin_enqueue_s…’, ‘admin_page_espr…’) #9 /home/fapsaorg/public_html/wp-admin/admin.php(234): require_once(‘/home/fapsaorg/…’) #10 {main}


Tony

  • Support Staff

October 26, 2020 at 8:26 am

Hi there,

The error message you saw is saying that Event Espresso can’t write to the /uploads folder on your server. This is usually caused by not having the correct file/folder permissions. You can contact your host and ask them to verify the permissions on your server and let them know that WordPress needs to be able to write to the /uploads directory. You can even send them the full error message.

If the host isn’t able to correct the file permissions, the other solution is you add this line of code to your wp-config.php file before where it says to stop editing:

define( 'EE_USE_OLD_CSV_REPORT_CLASS', true );


koopmanw

October 27, 2020 at 3:11 am

Thank you so much for the response, Tony.
Silly me, I neglected to check if the disk space was still adequate. I had run out of space but it is working fine now that I have increased the space.
Apologies for that.


Tony

  • Support Staff

October 27, 2020 at 5:11 am

Ahh, yeah I hadn’t considered disc space, that’ll also do it!

Glad you found the cause and fix 🙂


koopmanw

October 31, 2020 at 3:46 am

Hi Tony
I tried to download the registration information again but it does not complete the download. Stops at around 67% though the first time it stopped at about 80%.
I get the following error message
The file will download automatically when done, and then you will be redirected.
Registrations report started successfully…
Wrote 50 rows to report CSV file…
Wrote 50 rows to report CSV file…
Wrote 50 rows to report CSV file…
Wrote 50 rows to report CSV file…
Not Found
An error occurred and the job has been stopped. Please refresh the page to try again.

I refreshed a few times but get the same error.

Any idea what the issue could be?


koopmanw

October 31, 2020 at 3:49 am

The error logs on the host reflects as follows:

“[Sat Oct 31 11:47:05.404019 2020] [:error] [pid 2335799:tid 47153092605696] [client 102.65.58.177:61239] client denied by server configuration: /home/fapsaorg/public_html/wp-admin/admin-ajax.php, referer: https://fapsa.org.za/wp-admin/admin.php?page=espresso_batch&return_url=%2F%2Ffapsa.org.za%2Fwp-admin%2Fadmin.php%3Fpage%3Despresso_registrations&action=default&registrations_report_nonce=18a5936b35&batch=file&filters=a%3A5%3A%7Bi%3A0%3Ba%3A1%3A%7Bs%3A6%3A%22STS_ID%22%3Ba%3A2%3A%7Bi%3A0%3Bs%3A2%3A%22%21%3D%22%3Bi%3A1%3Bs%3A3%3A%22RIC%22%3B%7D%7Ds%3A4%3A%22caps%22%3Bs%3A10%3A%22read_admin%22%3Bs%3A24%3A%22default_where_conditions%22%3Bs%3A15%3A%22this_model_only%22%3Bs%3A8%3A%22order_by%22%3Ba%3A2%3A%7Bs%3A8%3A%22REG_date%22%3Bs%3A4%3A%22DESC%22%3Bs%3A6%3A%22REG_ID%22%3Bs%3A4%3A%22DESC%22%3B%7Ds%3A5%3A%22limit%22%3Ba%3A2%3A%7Bi%3A0%3Bi%3A0%3Bi%3A1%3Bi%3A10%3B%7D%7D&job_handler=EventEspressoBatchRequest%5CJobHandlers%5CRegistrationsReport&default_nonce=79e3a6e60c&return=registrations_report


Tony

  • Support Staff

November 2, 2020 at 4:09 am

Looks like your server config is preventing the last step.

If you add the constant I mentioned above:

define( 'EE_USE_OLD_CSV_REPORT_CLASS', true );

To your sites wp-config.php file, somewhere above the /* That's all, stop editing! Happy blogging. */ line, can you download the reports then?


koopmanw

November 3, 2020 at 1:41 am

Thanks, Tony! That did the trick.


Tony

  • Support Staff

November 3, 2020 at 3:04 am

Great, so the above snippet changes your export to use the ‘old’ system.

There’s nothing wrong with it but the difference is that the old system pulls ALL of the registrations at once, the new system batch processes them and write them to a temp file then sends the finished report to the browser.

Something on your server set up is preventing the batch process and switching to the older system is fine generally up to about 2000 registrations per report (depends on your server) so if that’s working stick with it for now.

The support post ‘Unable to download registration information’ 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.

Do NOT follow this link or you will be banned from the site!
[i]
[i]