Support » Plugin: Participants Database » CSV is blank when I attempt to export list of participants

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author xnau webdesign


    In order for the private ID link to work, you need to configure the plugin with the page where you have placed the [pdb_record] shortcode. This is in the settings under the “Record Form” tab.

    Normally, to edit records in the admin, you’d use the “pencil” link.

    CSV will only export those field that have been configured for export by having the “CSV” checkbox ticked in the manage database fields page.

    Thank you, xnau.

    When I click the “pencil” link it opens a blank page (still within the plugin).

    I have the CSV checkbox ticked as default on all records when they are created, so they should all be selected. Unfortunately I cannot confirm this because I can’t seem to get into a record to view all of the fields.

    Other thoughts/ideas about what might be happening?

    Plugin Author xnau webdesign


    Oh, I see. In this case, you need to take a look at your PHP error log after attempting to open a record edit page. My guess is you may need to update your PHP version. The plugin requires at least 5.2, but 5.3 is recommended.

    I’m admittedly not the most technical. I’m not sure how to look at the error log and not sure what it would tell me.

    My PHP version is set to PHP 5.4 (FastCGI), through Bluehost.

    Plugin Author xnau webdesign


    So you PHP version is good…for the error log, install a plugin called “error log monitor” then post any errors you see after attempting to load the edit page here.

    Finally got the error log plugin loaded and here are the results after 1) attempting to load the edit page and then 2) attempting to export the csv

    text/x-generic php-errors.log

    ASCII text, with very long lines
    [23-Jun-2014 16:42:52 UTC] WordPress database error Unknown column 'p.2013_parade_interest_but_did_n' in 'field list' for query SELECT p.2013_parade_entry_type,p.2013_parade_interest_but_did_n,p.2013_parade_notes,p.2013_parade_participant,p.added_to_mailing_list,p.address,p.approved,,,,p.date_recorded,p.date_updated,,p.first_name,,p.interests,p.last_accessed,p.last_name,p.mailing_list,p.occupation,,,p.pride_volunteer_history,p.private_id,p.state,, FROM kaw_participants_database p WHERE = '19' made by do_action('participants-database_page_participants-database-edit_participant'), call_user_func_array, Participants_Db::include_admin_file, include('/plugins/participants-database/edit_participant.php'), Participants_Db::get_participant
    [23-Jun-2014 16:43:06 UTC] WordPress database error Unknown column '2013_parade_interest_but_did_n' in 'field list' for query SELECT  <code>first_name</code>,<code>last_name</code>,<code>company</code>,<code>occupation</code>,<code>address</code>,<code>city</code>,<code>state</code>,<code>country</code>,<code>zip</code>,<code>phone</code>,<code>email</code>,<code>mailing_list</code>,<code>photo</code>,<code>website</code>,<code>interests</code>,<code>added_to_mailing_list</code>,<code>approved</code>,<code>id</code>,<code>2013_parade_participant</code>,<code>2013_parade_entry_type</code>,<code>2013_parade_interest_but_did_n</code>,<code>2013_parade_notes</code>,<code>pride_volunteer_history</code>  FROM kaw_participants_database ORDER BY <code>last_name</code> asc made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, Participants_Db::init, Participants_Db::process_page_request

    Plugin Author xnau webdesign


    OK I see. What has happened is your database is out of sync. Here’s how to fix it:

    1. make sure you are using the latest version of the plugin
    2. Using a database tool like PHPMyAdmin, look at the main database table: named something like wp_participants_database (the prefix may be different)
    3. identify the two columns with names that are close to the two columns in the error messages
    4. write those names down
    5. In the Manage Database Fields page, delete the two fields named in the error messages. The stored data will not be deleted.
    6. Create two new fields with names that match the names you wrote down. Set them up the same as the two fields you deleted
    7. Now you can edit the titles of those fields to be anything you want

    Ok. I did the above.

    Now when I click on the pencil I am able to edit the participant records as expected.

    However, when I export the CSV I’m still getting a blank sheet with only the column headers.

    Thoughts? I’m desperate to get my list exported so that I can actually USE the list!

    Plugin Author xnau webdesign


    You’ll need to see what kind of errors are happening when you try to export the CSV. Take a look at your PHP error log after attempting an export. If you don’t know how to see the error log, try installing a plugin named “Error Log Monitor”

    So, when you go to export your list, are your records showing on the “participant List” page?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘CSV is blank when I attempt to export list of participants’ is closed to new replies.