• I’ve exported ecommerce data from Woocommerce several times succesfully, but now it doesn’t work anymore. I get an error report about an internal error. I contacted the host of my server and they told me disable all the unnecessary plugins while I’m exporting. Tried that, didn’t help. Then they told me to change max execution time in phpini, which I also did and didn’t help. Next, they asked me to turn to the plugin support so here I am.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author GetResponse

    (@getresponse)

    The page may be timing out due to large number of data it is trying to pass. You need to enable “Use a time-based job scheduler for this export” under Performance optimization to prevent such time outs and enable cron events in WordPress. You need to add the following line to wp-config.php: define(‘DISABLE_WP_CRON’, true); to disable the default cron. You can then trigger the cron manually, via URL, using the following syntax: {shopurl}/wp-cron.php?doing_wp_cron. To automate this you need to add the following code to crontab: */10* * * * curl https://127.0.0.1:8000/wp-cron.php?doing_wp_cron > /dev/null 2>&1

    Thread Starter inirauth

    (@inirauth)

    Thanks, what I did first was to increase the max_execution_time 30 in php.ini to 3000
    but it did not help.
    Then I did, as you proposed, add this line to wp-config.php. This did not help
    either.
    Actually, I am not sure, if I understood the next one correctly: I just typed ‘myshop.com/wp-cron.php?doing_wp_cron’ to my browser’s address bar.

    Anyway, about after ten minutes I still got the internal error.<

    Inna

    [edit, the error log added]

    [2018-12-03 10:34:34.278979] [vhost: MyShop.fi] [zfpm:error] [pid 56138] fastcgi.c(1140): [client 2a02:29e8:770:0:3::38:51990] mod_zfpm(56138:7f32b2fc1940:0)-B24A2CC2: in addition: the type of current record is not known, since 0 bytes of FastCGI record header has been received (fastcgi.c:1140)
    [2018-12-03 10:34:34.279002] [vhost: MyShop.fi] [core:error] [pid 56138] util_script.c(499): [client 2a02:29e8:770:0:3::38:51990] End of script output before headers: wp-cron.php

    • This reply was modified 5 years, 11 months ago by inirauth.
    Plugin Author GetResponse

    (@getresponse)

    We haven’t seen this error before – does it occur only when the plugin is on? Also, can you send us a screenshot of the error that appears when you export with the cron disabled? You can also reach out to us using this contact form: https://app.getresponse.com/feedback.html?devzone=yes with your GetResponse API and WP login credentials, and out IT will check it directly from within your account (please do not share your data here for security reasons)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce export not working’ is closed to new replies.