Support

Home Forums Event Espresso Premium Export CVS not loading correctly – stops at 23% by undefined error

Export CVS not loading correctly – stops at 23% by undefined error

Posted: February 8, 2019 at 3:18 pm


Roberto Rubio

February 8, 2019 at 3:18 pm

I need to export the CVS report of the people that had purchase tickets for the event. I selected the approved registers only and when i click on the export the filter cvs list, it just load the first couple rows and then will stop. The error after the stop just says “undefined”


Josh

  • Support Staff

February 8, 2019 at 3:52 pm

Is error reporting enabled on the server? If so try disabling that, you can do that by using something like this in your site’s wp-config.php file:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

That enabled WP_Debug and WP_DEBUG_LOG so errors are logged in /wp-content/debug.log and then sets WP_DEBUG_DISPLAY to false to tell your server not to display errors then for good measure, uses ini_set to set display_errors to 0 to try and make sure no errors display.

Then try running a CSV and see what happens. If it fails again, you can check the error message logged to your site’s wp-content/debug.log file.


Roberto Rubio

February 8, 2019 at 4:26 pm

still doing the same, but on the last line of code i don’t know where that one goes.
Also i notice in my files i have a file named: user.ini
[PHP]
display_errors = Off
max_execution_time = 600
max_input_time = 600
max_input_vars = 2000
memory_limit = 1024
session.gc_maxlifetime = 1440
session.save_path = “/var/cpanel/php/sessions/ea-php70”
upload_max_filesize = 100M
post_max_size = 200M
zlib.output_compression = On


Josh

  • Support Staff

February 8, 2019 at 4:51 pm

You could also add (or edit if it’s already set there) :
define('WP_MEMORY_LIMIT', '512M' );
to the wp-config.php file.


Tony

  • Support Staff

February 9, 2019 at 8:44 am

All of the code Josh has posted would go in the wp-config.php file in the root directory of the site, here is an example from one of my sites – https://monosnap.com/file/4gu85fTeOcQh7JW9sBleOVVm5VCvuB

The page showing undefined likely means there is an error being thrown on the request when EE pulls the data for the CSV, none of the above will fix that (with the exception of maybe the WP_MEMORY_LIMIT) but it stores any errors on your site for us to view as right now ‘undefined’ doesn’t mean anything useful.

Add the code on above to your sites wp-config.php file, I recommend you use the code posted here:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

Then run an export, it will fail the same as before, but let us know when you have done it and we’ll check for any errors on your site.

The support post ‘Export CVS not loading correctly – stops at 23% by undefined error’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 months, 1 week ago ago

Topic Tags

Tagged: 

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!