• Hello,
    I’m having an issue when exporting the CSV from the List of Participants, when it downloads it’s empty as it shows in the next image
    https://prnt.sc/ulu7yl

    I cleared the debugging log to see if there was any error on it but I don’t think it does.
    https://prnt.sc/ulu6zp

    I do have the CSV checkbox marked on each field I want it to be exported
    https://prnt.sc/ulu4wg

    And there are records already from registered people that appear in the admin page, so in the csv file should be shown?
    https://prnt.sc/ulu5wf

    Am I missing some settings or something for the records to be saved on the CSV?
    Thank you.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Roland Barker

    (@xnau)

    Try unchecking the “include field titles” preference and try again. It doesn’t look like there is a problem otherwise.

    Thread Starter jcgt85

    (@jcgt85)

    I’ve done it with and without that field checked and the results are the same, the debugger results doesn’t change with or without.

    Plugin Author Roland Barker

    (@xnau)

    I don’t see anything there that would indicate why there is a problem. Did you try looking at the csv file using a plain text editor?

    Thread Starter jcgt85

    (@jcgt85)

    I tried both using excel, notepad and notepad++, the result is the same the file is empty… I can always export directly from phpmyadmin myself but the ones that need this file are the HR people and since they have an editor role in wordpress they could export it from the participant’s database list plugin (and I dont really want to give them access to phpmyadmin) but… yeah, is there any way I can get more info to pinpoint the problem?

    Plugin Author Roland Barker

    (@xnau)

    Well, it’s an odd problem I don’t see anything wrong, and it’s working OK in my tests here.

    I suggest you set up the regular php error log (this is a server configuration) because the plugin’s debugging log can’t catch all errors, it’s mostly for monitoring the plugin’s actions. The php error log will hopefully have a reason for the failure.

    Thread Starter jcgt85

    (@jcgt85)

    I enabled it and exported the file again, this was the result on the php-errors file in the server.

    Does it have issue again with the headers being sent? I thought that was only on the site and I did remove the plugin that was making the sign up form not appear because of that error. On the admin it shouldn’t have that issue..? I’m not sure though.

    Thank you.

    [23-Sep-2020 05:26:44 UTC] PDb_Session::get_php_session_id trace: require_once(‘wp-load.php’), require_once(‘/srv/htdocs/wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, Participants_Db::init, PDb_Session->__construct, PDb_Session->get_session_id, PDb_Session->get_php_session_id
    [23-Sep-2020 05:26:44 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /srv/htdocs/wp-content/plugins/participants-database/classes/PDb_Session.php on line 196
    [23-Sep-2020 05:26:44 UTC] PDb_Session::create_id
    [23-Sep-2020 05:26:44 UTC] PHP Warning: Cannot modify header information – headers already sent in /srv/htdocs/wp-content/plugins/participants-database/classes/PDb_Session.php on line 299
    [23-Sep-2020 05:26:44 UTC] PDb_Session::obtain_session_id obtaining session id by alternate method: e3d33cf0bdbeb3ad2eec6f89c8cc1b8a
    [23-Sep-2020 05:27:56 UTC] PDb_Session::get_php_session_id trace: require_once(‘wp-load.php’), require_once(‘/srv/htdocs/wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, Participants_Db::init, PDb_Session->__construct, PDb_Session->get_session_id, PDb_Session->get_php_session_id
    [23-Sep-2020 05:27:56 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /srv/htdocs/wp-content/plugins/participants-database/classes/PDb_Session.php on line 196
    [23-Sep-2020 05:27:56 UTC] PDb_Session::create_id
    [23-Sep-2020 05:27:56 UTC] PHP Warning: Cannot modify header information – headers already sent in /srv/htdocs/wp-content/plugins/participants-database/classes/PDb_Session.php on line 299
    [23-Sep-2020 05:27:56 UTC] PDb_Session::obtain_session_id obtaining session id by alternate method: cdef1607e049f989e145d8eeff138a66
    [23-Sep-2020 05:28:02 UTC] PDb_Session::get_php_session_id trace: require_once(‘wp-load.php’), require_once(‘/srv/htdocs/wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, Participants_Db::init, PDb_Session->__construct, PDb_Session->get_session_id, PDb_Session->get_php_session_id
    [23-Sep-2020 05:28:02 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /srv/htdocs/wp-content/plugins/participants-database/classes/PDb_Session.php on line 196
    [23-Sep-2020 05:28:02 UTC] PDb_Session::create_id
    [23-Sep-2020 05:28:02 UTC] PHP Warning: Cannot modify header information – headers already sent in /srv/htdocs/wp-content/plugins/participants-database/classes/PDb_Session.php on line 299
    [23-Sep-2020 05:28:02 UTC] PDb_Session::obtain_session_id obtaining session id by alternate method: 7428b2f3537c2de83f866573bdf0f8c2
    [23-Sep-2020 05:28:02 UTC] PDb_List_Admin::initialize
    list query: SELECT * FROM wp_participants_database p ORDER BY p.date_recorded desc LIMIT 0,50
    [23-Sep-2020 05:29:11 UTC] PDb_Session::get_php_session_id trace: require_once(‘wp-load.php’), require_once(‘/srv/htdocs/wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, Participants_Db::init, PDb_Session->__construct, PDb_Session->get_session_id, PDb_Session->get_php_session_id
    [23-Sep-2020 05:29:11 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /srv/htdocs/wp-content/plugins/participants-database/classes/PDb_Session.php on line 196
    [23-Sep-2020 05:29:11 UTC] PDb_Session::create_id
    [23-Sep-2020 05:29:11 UTC] PHP Warning: Cannot modify header information – headers already sent in /srv/htdocs/wp-content/plugins/participants-database/classes/PDb_Session.php on line 299
    [23-Sep-2020 05:29:11 UTC] PDb_Session::obtain_session_id obtaining session id by alternate method: ce33cc69fbe14c28659002b9e4c915ac

    Plugin Author Roland Barker

    (@xnau)

    Do you have your php errors configured to print to the screen? Turn that off if you do.

    Are you using the “alternate php session method” setting? Turn that off if you are.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Exporting CSV ends up empty’ is closed to new replies.