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

    (@timwhitlock)

    I need to see the full text of the error.
    Can you post whatever errors are printed in your logs, and any output from the Ajax request too please?

    I’m having the same problem. AJAX response is empty (checked with firebug) and the error_log displays the following:
    [21-Oct-2014 23:33:05 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 64 bytes) in /secretpath/plugins/loco-translate/lib/build/gettext-compiled.php on line 6

    Fixed it, added define( 'WP_MEMORY_LIMIT', '64M' ); to wp-config.php and all is working fine now!

    Plugin Author Tim W

    (@timwhitlock)

    Great. Thanks, for posting.

    I have the same problem,
    mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes)

    I added define( ‘WP_MEMORY_LIMIT’, ‘192M’ ); to wp-config.php but error persists.

    Plugin Author Tim W

    (@timwhitlock)

    I suspect in your case @km0 WordPress is unable to increase PHP’s memory.
    This can happen if PHP has been configured to disallow overriding of the memory_limit directive from source code.

    Try also setting the memory_limit directive at sever level. If it fails, take note of the number of bytes given in the error as this will tell you whether the value was actually increased (which it isn’t in your example).

    Refs:
    https://php.net/manual/en/ini.core.php#ini.memory-limit
    https://php.net/manual/en/configuration.changes.php

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Internal Server Error’ is closed to new replies.