• Resolved mdailey77

    (@mdailey77)


    I’ve been using TablePress on my site for a while with no problems. Today I tried exporting four tables from my staging site, using the CSV format into my live site. When I run import on the live site TablePress says ‘Error: Could not open zip file’. I have chosen ‘Add as new tables’ under options. When I try to actually unzip the export file in WinRAR it gives me an error message. This hasn’t happen before. Does anyone know the cause of this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The problem here could be that the ZIP software on the server is somehow broken or maybe the file was not fully downloaded. Another reason could be interference by other plugins. Can you maybe try the export again with just a single table, and maybe also after temporarily deactivating all other plugins?

    Regards,
    Tobias

    Thread Starter mdailey77

    (@mdailey77)

    Hi. Thanks for getting back to me. The export works if I only select one file. If I select more than one file, no matter if its in JSON or CSV format, I can’t open the zip file. In the error logs on WPEngine there was this: [WPMUDEV API Error] 4.0.8 | cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received ((unknown URL) [500]) , referer: http://xxxxx.wpengine.com/wp-cron.php?doing_wp_cron=1509443433.4177670478820800781250. It appeared around the same time when I tried exporting the file.

    • This reply was modified 8 years, 7 months ago by mdailey77.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    this timeout error seems to be related to the WP Cron feature, not to the ZIP export.

    I can only assume that your site is maybe running into memory or execution time limits on the server. Unfortunately, this is hard to debug, so I’m not really sure what to suggest here 🙁 You could maybe try increasing these limits on the server.

    Regards,
    Tobias

    Thread Starter mdailey77

    (@mdailey77)

    Thanks for the response. I’m starting to think it is a problem with the memory/execution time limits on the server. Another issue I have encountered is the Media Library thumbnails don’t load. The loading image just keeps spinning.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, if you experience other issues like that, it seems likely that something on the server is not working properly.
    If it were an issue in the TablePress code, I would have received more reports about the export not working, I think.

    Regards,
    Tobias

    Thread Starter mdailey77

    (@mdailey77)

    I found a solution. I increased the WordPress memory limit to 512MB in wp-config.php and that fixed the saving issue. Thanks again for your help.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    nice find! Good to hear that this helped!

    Best wishes,
    Tobias

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

The topic ‘export file is corrupted’ is closed to new replies.