Forums

[resolved] "blank screen of death" after activation of EVERY plugin (12 posts)

  1. Ramzii
    Member
    Posted 4 months ago #

    I designed this site, and it worked fine on my server.

    Since the project is finished I moved it to another server of the client.

    There, I keep getting blank pages after I install plugins.

    Any way to find the problem??

    Is it possible that the hosting company it stopping something?

  2. Is it possible that the hosting company it stopping something?

    Could be lots of things. Look at that server's error_log file and see what's complaining.

  3. Ramzii
    Member
    Posted 4 months ago #

    Thanks for the quick response, im kinda bad at server related issues, where can I find this error_log ?

  4. govpatel
    Member
    Posted 4 months ago #

    The hosting company may not have allowed enough memory so check way to increase the memory

  5. Ask your hosting company for a copy of the file or at least any errors that your WordPress installation may be generating.

  6. govpatel
    Member
    Posted 4 months ago #

    You can try this see what error you get
    If you want to check what files are causing the problem then you can

    First check wp-config.php if you have any blank space before
    1

    <?php

    code
    if there is none then try and add this code in next line

    error_reporting(E_ALL); ini_set('display_errors', 1);

    In addition, add the following code above
    /* That’s all, stop editing! Happy blogging. */ :

    define( 'WP_DEBUG', true);

    See what error you get.

    and replace the files that are giving error from fresh WordPress download.

  7. Ramzii
    Member
    Posted 4 months ago #

    Thank you all for taking your time to think with me.

    Ask your hosting company for a copy of the file or at least any errors that your WordPress installation may be generating.

    I will do just that, thanks.

    I also tried looking into the config file, its fine.. no spaces before the opening php tag <? I even removed all the blank lines in the functions.php file.. no result.

    Tried the php error codes:

    error_reporting(E_ALL); ini_set('display_errors', 1);
    
    define( 'WP_DEBUG', true);

    in the header.php head ...nothing :(

    UPDATE!!!!

    Since I knew little to nothing about the: define( 'WP_DEBUG', true); code i googled it.. and guess what, it goes in the wp-config.php file! NOT the header.php.... WHO KNEW!

    Thanks so much, after I put it there, and activated an plugin: I got the following error:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 14016 bytes)

    YES! Thats what I can an error. And no @#%$@#%^@% blanco screen.

    Next step was to figure that error out, found this solution:

    ini_set("memory_limit","80M");

    Applied it to the same wp-config.php, now it looks like so:

    define('AUTH_KEY',        'xxx');
    define('SECURE_AUTH_KEY',  'xxx');
    define('LOGGED_IN_KEY',    'xxx');
    define('NONCE_KEY',        'xxx');
    define('SECURE_AUTH_SALT', 'xxx');
    define('LOGGED_IN_SALT',   '(xxx');
    define('WP_DEBUG', true);
    ini_set("memory_limit","80M");

    ..more or less! :D

    Thanks so much for your help. It really saved me

  8. govpatel
    Member
    Posted 4 months ago #

    The code I gave above needs to in wp-config.php not header.php

  9. Ramzii
    Member
    Posted 4 months ago #

    I know! You rock!! High five!!!

  10. govpatel
    Member
    Posted 4 months ago #

    I knew had to be memory problem as I posted that above and the debug code confirmed the error.

  11. d-phrag
    Member
    Posted 4 months ago #

    You saved more than one a** here!!! Been experiencing this since a clean reinstall of the server and random plugins were causing the blank page - so BIG THANK YOU!!!!

  12. govpatel
    Member
    Posted 4 months ago #

    You are welcome

Reply

You must log in to post.

About this Topic