WordPress.org

Forums

WP CSV
[resolved] Export doesn’t work, no data to export (10 posts)

  1. Kadir Kara
    Member
    Posted 1 year ago #

    Hello there,

    I’m facing the problem that I can’t export a CSV file with WP CSV. It says that I have no posts to export.

    I wanted to export my events (I’m using The Events Manager) to look up the configuration of the headers to have a clue which fields I need when I want to import events.

    Did someone else face this problem?

    https://wordpress.org/plugins/wp-csv/

  2. CPK Web Solutions
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kadir

    Thanks for your message. Please try the following:

    1) Check the settings page carefully to make sure you're not filtering out the items you want.

    2) Check your server settings. It could be that WP-CSV can't create a file successfully.

    Hope that helps. If not, then you may need to try a different plugin, as I don't currently have time to maintain or fully support this one for free.

    Best wishes

    Paul

  3. murrayac
    Member
    Posted 1 year ago #

    I have also found this with the latest WordPress 4.0 Beta 3, but am ahead of myself and will wait until WP 4 is launched.

  4. CPK Web Solutions
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Murrayac

    Sorry if it doesn't work for you. Unfortunately I don't have time to test on betas (or anything else), as you may have read.

    I know it works on my test server though, and someone hired me during the week to troubleshoot another issue, so I know it works on their test server as of a few days ago.

    So, my advice to Kadir may apply to you. You should check your server config. Make sure there are no errors in your logs, etc, and nothing to stop the web user writing files to disk.

    If you can give me a clue of some sort (like an error message) I may be able to help. Otherwise, you may need to try another plugin.

    Best wishes

    Paul

  5. murrayac
    Member
    Posted 1 year ago #

    Hey Paul,

    Thanks for your effort in this plugin. I activated debugging in WordPress and it came up with this. I'm not sure where the server config files are.

    Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /Applications/bitnami/apps/wordpress/htdocs/wp-includes/functions.php on line 3206
    Warning: mkdir(): Permission denied in /Applications/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-csv/wp-csv.php on line 156
    Notice: Undefined index: imagefolder in /Applications/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-csv/wp-csv.php on line 174
    Notice: Undefined index: csv_path in /Applications/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-csv/wp-csv.php on line 185
    Warning: mkdir(): Permission denied in /Applications/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-csv/wp-csv.php on line 156
    Warning: mysql_query() expects parameter 2 to be resource, object given in /Applications/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-csv/CPK_WPCSV_Posts_Model.php on line 24
    Notice: Undefined variable: error in /Applications/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-csv/wp-csv.php on line 240
  6. CPK Web Solutions
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Murrayac

    The Warning: mkdir...Permission denied... error means that the plugin doesn't have permission to create folders (and probably won't be able to create files either). You should talk to whoever administers your server about that.

    Hopefully, the mysql_query issue will go away too once the other issues are resolved, but if not let me know.

    Best wishes

    Paul

  7. apdobaj
    Member
    Posted 11 months ago #

    Hi Murrayac,

    Did you ever get this resolved? I've got the same issue. Can you tell me where the csv file gets written so I can check permissions there? thx

  8. murrayac
    Member
    Posted 11 months ago #

    Hey Apdobaj,

    Changing the permissions worked for my localhost. I used this tutorial:

    http://takumahabu.com/?p=398

    cd /Volumes/SSD/Applications/wordpress/apps/wordpress/htdocs
    sudo find ./ -type d -exec chmod 755 {} \;
    sudo find ./ -type f -exec chmod 644 {} \;
    sudo cd /Volumes/SSD/Applications/wordpress/apps/wordpress/htdocs/wp-content
    chown -R USERNAME:Webmaster

    Since I'm using Bitnami I changed the path to suit.

  9. CPK Web Solutions
    Member
    Plugin Author

    Posted 11 months ago #

    Hi All

    Permissions issues seemed to be the biggest problem for users, so I've made a small fix to 1) improve the plugin's capability to resolve the issue automatically, and 2) give a much more informative error message when human intervention is required, as it probably was above.

    Best wishes

    Paul

  10. murrayac
    Member
    Posted 11 months ago #

    Great work Paul :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP CSV
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic