• When trying to update Norwegian of Woocommerce, ajax hangs. (Save circles forever etc.)
    It does not do this on any other plugin in the same install.

    Ive tried uninstalling loco, removing translation files, getting translation files from a other website. Reinstalling loco, still it hangs.

    Ive tried deleting woocommerce, removing translation files, reinstalling woocommerce, language-files are re-added. Loco finds the new language, still it hangs.

    I tried the same with german.
    I set the wordpress language to german. Deleted woocommerce. Re-installed woocommerce. German showed up in languages > plugins
    I could edit the translated language in loco > plugins
    But it hangs with the german translation as well.

    Anything else I can try?

    • This topic was modified 6 years, 11 months ago by aecorn.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tim W

    (@timwhitlock)

    This has been reported many times, specifically with WooCommerce. I have never been able to reproduce the issue.

    I can only refer you to this FAQ regarding Ajax errors:
    https://localise.biz/wordpress/plugin/faqs/ajax-errors

    Nothing should ever hang forever. Even errors should respond quickly. Can you verify with your network inspector that the HTTP request is really hanging?

    Thread Starter aecorn

    (@aecorn)

    Steps to reproduce an error:

    Fresh install wordpress 4.9.1 (godaddy)
    Change language to Deutch
    Download and activate Woocommerce
    Download and activate Loco Translate

    Edit translation of Deutch (100%)
    Try changing something and saving.

    Error: Request Entity Too Large

    Maybe the PO/MO is just too large for a huge plugin like Woocommerce?

    • This reply was modified 6 years, 11 months ago by aecorn.
    Plugin Author Tim W

    (@timwhitlock)

    Request Entity Too Large

    I’ve seen this before. Try this: https://www.ads-software.com/support/topic/error-request-entity-too-large-2/

    Thread Starter aecorn

    (@aecorn)

    The PO and MO are both less than 1mb, so I dont see how this should be an issue…
    Man Im having a lot of troubles with this…
    Could there be something wrong with Woocommerces language files?

    As I said, other plugins seem to work fine. Even buddypress, which Im guessing should be big as well…

    Plugin Author Tim W

    (@timwhitlock)

    I don’t see a problem with the size either, but others have said they have the same problem. It’s not impossible that some component is blocking post data over the size of your PO file. As for which component, I cannot guess.

    Only one person in the thread above claims to have fixed it, and that was by disabling their security software. Did you look into that?

    I don’t know if they’re on GoDaddy, but as the issue is external to my plugin I can’t solve it from my end.

    This GoDaddy support page shows you how to alter PHP’s max post limit, but I’d be surprised if it’s set lower than 1MB. Worth trying.

    Thread Starter aecorn

    (@aecorn)

    Switching to “Say What?” plugin, I think for this use (only switching a couple of lines from the original translations) it might work better.

    Ive had problems on both Godaddy and Proisp-servers.
    They are both linux i think, running php 5.4+
    I did not have any extra security running on godaddy install.

    If you keep seing problems like this, it might be worth it for you / woocommerce to investigate why the compatability issues persist. This might need to go in the docs somewhere as requirements for the combo to work. They list you as the translation plugin of choice on their site.
    https://docs.woocommerce.com/document/woocommerce-localization/

    Plugin Author Tim W

    (@timwhitlock)

    It is a requirement that your server can accept postdata at least the same size as the PO files you’re translating. For WooCommerce that appears to be between 1MB-2MB depending on the language.

    I will add this to my documentation, but (as demonstrated here) knowing this fact hasn’t solved the problem.

    The mystery here is which component is enforcing the size limit. It could be the web server, the PHP configuration or something else you have installed. If you ever find out, please let me know.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Ajax hangs with Woocommerce’ is closed to new replies.