Viewing 8 replies - 1 through 8 (of 8 total)
  • I have this issue as well. I’m on WordPress 3.8. It’s entirely possible that the plugin broke on 3.8.

    Anonymous User 7970514

    (@anonymized-7970514)

    I have the same issue. Didn’t realize the size until I saw this post and checked mine because I keep getting an unknown error when I try to import it into Ghost.

    Plugin Contributor javorszky

    (@javorszky)

    Hey people,

    I’ve updated the plugin to the next version. Could you check if it’s still 0 bytes?

    Hey javorszky,

    Haven’t tried the previous version, but 0.4.1 has the same behavior on our WP 3.8.0: 0 bytes output. No error in the logs. Is there a way to debug this?

    Plugin Contributor javorszky

    (@javorszky)

    Hi Mil0dV,

    Hm… how many posts do you have? How much memory does PHP have?

    I have 20 posts.

    So, the problem in my scenario is that I use FTPS to install plugins and the group on the ghost plugin directory (where the plugin appears to be attempting to write the file) is the FTPS user’s gid (dallas, in my case). Changing the group to the appropriate group (www-data in my case) allowed the plugin to write the file and therefore produce a wonderful JSON output.

    Plugin Contributor javorszky

    (@javorszky)

    Hi dallasgutauckis,

    Good to know.

    I wonder if it’s safe to assume that if the json is 0 bytes, then there’s a permissions issue. To recap for the people who arrive here again:

    1. Make sure that you have enough space on the disk.
    2. Make sure that the permissions are right (the owner / group of the plugin directory is the same as what the server is using. See guide here: http://codex.wordpress.org/Changing_File_Permissions )

    I’m marking this resolved.

    Thanks for the eyes and the help!

    Gabor

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Exported json is 0 bytes’ is closed to new replies.