Forums

W3 Total Cache
Fatal Error????? (14 posts)

  1. pbul2004
    Member
    Posted 2 years ago #

    I get the following error message : -

    Plugin could not be activated because it triggered a fatal error

    Fatal error: Out of memory (allocated 30932992) (tried to allocate 311296 bytes) in /home/sites/myweddingreviews.co.uk/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php on line 1706

    Any ideas why? i have set permissions to 777 then tried to active within wp-admin and got the following?

    Thanks

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try increasing the memory available to PHP:
    http://wordpress.org/support/topic/253495#post-1017842

  3. pbul2004
    Member
    Posted 2 years ago #

    Tried to change the settings to increase the wp-config.php and .htaccess files but with no joy.

    I cant seem to locate the php.ini file to do this? Any ideas where this is located? My host is patrickinternet.co.uk

    I have put a support ticket to ask them to direct me with this.

    Also would this explain why sometimes (quite alot) my wp-admin back end displays a blank white screen?

    Thanks

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    would this explain why sometimes (quite alot) my wp-admin back end displays a blank white screen?

    Yes.

  5. pbul2004
    Member
    Posted 2 years ago #

    Good. Hopefully my host will get back to me because i cant find this php.ini file anywhere.

    The white screen is driving me mad in the backend!

  6. pbul2004
    Member
    Posted 2 years ago #

    Still no joy, my host told me to create a php.ini file within /public_html with the following: -

    memory_limit = 32M ;

    And nothing? Still get fatal error?

    Any other suggestions? Is the line of code im using correct, should/can i increase the 32M? Is the php.ini in the correct folder?

  7. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try php_value memory_limit 32M

  8. pbul2004
    Member
    Posted 2 years ago #

    Still no luck with all of the above, i have done: -

    php.ini within both /public_html and wp-admin folders: -
    memory_limit = 128M
    upload_max_filesize = 128M

    wp-config.php
    define('WP_MEMORY_LIMIT', '128M');

    .htaccess
    php_value memory_limit 128M

    Still get the following trying to activate total-cache >

    Fatal error: Out of memory (allocated 30932992) (tried to allocate 311296 bytes) in /home/sites/myweddingreviews.co.uk/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php on line 1706

    What to try / do now????

  9. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Contact your hosts. Perhaps they can assist you.

  10. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Exactly, great advice everyone.

  11. pbul2004
    Member
    Posted 2 years ago #

    My host has been doing a bit but i dont think he knows what the problem is either, he just tried renaming the php.ini to php5.ini and that made no difference.

    So im kind of stuck now, wp-admin gets white screens and the cache plugin keeps saying fatal error!

    STRESSED!!!!

  12. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Your host should be able to tell you specifically what to do to increase your memory limits and it should take a matter of minutes once they get to the task. If that's not the case, consider finding a better host.

  13. Simon Prosser
    Theme Review Admin
    Posted 2 years ago #

    Sound to me like your host is just a reseller who does not really have root access to the server to change the main php.ini.

  14. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    @pbul2004, any word?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic