Forums

[resolved] [Plugin: WPML Multilingual CMS] wpml kills my backend plugin site (4 posts)

  1. DER-BULLE
    Member
    Posted 2 years ago #

    WHILE THE AUTOMATIC INSTALLATION I GOT A FAILURE NOTICE SO I INSTALLED IT MANUALLY, WITHOUT ANY PROBLEMS.

    AFTER THE INSTALLATION I WOULD LIKE TO OPEN MY PLUGIN SITE AND GET BACK THIS FAILURE NOTICE:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /wp/wp-includes/kses.php(413) : runtime-created function on line 1

    SO I HAVE TO DELETE THE INSTALLATION OF WPML, NOW MY PLUGINSITE WORKS.

    http://wordpress.org/extend/plugins/sitepress-multilingual-cms/

  2. Amir Helzer
    Member
    Posted 2 years ago #

    The error is pretty self-explanatory. Your PHP setup is limited to 32Mb, so there's not enough memory for WP and all the plugins you're using.

    If you increase it, everything should work normally.

  3. DER-BULLE
    Member
    Posted 2 years ago #

    NOW IT WORKS FINE.

    I CONTACTED MY WEBHOSTER AND THEY TOLD ME JUST TO CHANGE MY PHP SETUP LIMIT BY MYSELF.

    I SIMPLY HAVE TO ADD THIS SHORT LINE OF CODE TO MY .htaccess FILE:
    php_value memory_limit xxM

    XX=IS THE SIZE OF MEMORY I WOULD LIKE TO HAVE I CHANGED IT TO 128M MEANS THE LINE LOOK LIKE THE FOLLOWING:
    php_value memory_limit 128M

  4. gazouteast
    Member
    Posted 2 years ago #

    That's the inefficient "sledgehammer" way to do it, and it doesn't work on all hosts.

    Much better is to add a simple php.ini file to the root of wp-admin and wp-includes setting the memory limit to 32MB in each.

    Then when an executive script runs from either folder, it gets allocated 32MB for that script until the script terminates (usually just a few seconds) and using this route has a far, far lower chance of getting your (shared) hosting account suspended for server resource abuse.

Topic Closed

This topic has been closed to new replies.

About this Topic