White Screen on Wp-Admin login?

Hi,

I am trying to log into my wordpress website and I get a white screen after I log in at MySite.com/wp-admin

I’ve gone into the Config file on the FTP and placed the DEBUG code in there and ran the debug. Everything seems ok. I need to get into my site.

I have numerous X theme sites running on the server and I can log into those other ones.

Please help.

Thanks

"WordPress

Database repair results
The wp_users table is okay.
The wp_users table is already optimized.

The wp_usermeta table is okay.
The wp_usermeta table is already optimized.

The wp_posts table is okay.
The wp_posts table is already optimized.

The wp_comments table is okay.
The wp_comments table is already optimized.

The wp_links table is okay.
The wp_links table is already optimized.

The wp_options table is okay.
The wp_options table is already optimized.

The wp_postmeta table is okay.
The wp_postmeta table is already optimized.

The wp_terms table is okay.
The wp_terms table is already optimized.

The wp_term_taxonomy table is okay.
The wp_term_taxonomy table is already optimized.

The wp_term_relationships table is okay.
The wp_term_relationships table is already optimized.

The wp_termmeta table is okay.

Failed to optimize the wp_termmeta table. Error: Table does not support optimize, doing recreate + analyze instead

The wp_commentmeta table is okay.
The wp_commentmeta table is already optimized.

The wp_woocommerce_payment_tokenmeta table is okay.

Failed to optimize the wp_woocommerce_payment_tokenmeta table. Error: Table does not support optimize, doing recreate + analyze instead

The wp_woocommerce_order_itemmeta table is okay.

Failed to optimize the wp_woocommerce_order_itemmeta table. Error: Table does not support optimize, doing recreate + analyze instead

Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.

define(‘WP_ALLOW_REPAIR’, true);"

Hi there,

Would you mind letting us know what error you are getting when you turn on the `option in the wp-config.php and accessing the admin area?

Thank you.

Hi Jade,
I followed the advice below.
It said everything was fine.
Hope you can help.
Thanks,
Tom

Does the problem occur for /wp-admin/ as well?
First thing you should do is to make sure that you are getting the same error on both the front-end of the site, and the back-end of the site (wp-admin). If the error message is the same on both pages “Error establishing a database connection”, then proceed onto the next step. If you are getting a different error on the wp-admin for instance something like “One or more database tables are unavailable. The database may need to be repaired”, then you need to repair your database.

You can do this by adding the following line in your wp-config.php file. Add it just before ‘That’s all, stop editing! Happy blogging’ line wp-config.php.

1
define(‘WP_ALLOW_REPAIR’, true);
Once you have done that, you can see the settings by visiting this page: http://www.yoursite.com/wp-admin/maint/repair.php

Repair database in WordPress

Remember, the user does not need to be logged in to access this functionality when this define is set. This is because its main intent is to repair a corrupted database, Users can often not login when the database is corrupt. So once you are done repairing and optimizing your database, make sure to remove this from your wp-config.php.

If this repair did not fix the problem, or you are having trouble running the repair then continue reading this article as you might find another solution to work.

Hi There,

Would you mind providing us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

Thanks.

Hi,

Sure, I’ve copied the info below.

Thanks,

Tom

Hello There,

Thanks for providing the information. I wasn’t able to check your site because the WP credentials is not working. Please make sure that the WP user/password is correct.

By the way, please also make sure that you are using the recommend requirements to run WordPress. Please check out the guide here:

Please let us know how it goes.

Hi,
I will resend the log in info. Once I log in I just get a white screen.
Please can you try to help us with this.
Thanks,
Tom

Here are some screen shots of log in and after.

Hi There,

I tried to login to https://www.crazydomains.com/ with the given credentials but without success.

White screen is usually related to PHP conflict.

So please try doing the following process.

Login on your website via FTP

rename the plugin folder from wp-content/plugins to plugins.old

Create a new plugins folder and try to login to your WP Admin dashboard. If it works, delete this empty newly created plugins folder and re-name back plugins.old to plugins.

You will notice your plugins will be off, active one by one until you find the conflicting plugin.

Let us know how it goes

Hi,
I’m going to send some info as a secure message.

Hi there,

I have enable WP_DEBUG mode and disabled Woodfence and W3TotalCache plugin and then I was able to login to your dashboard.

Also check your debug.log file which is located under your wp-content directory for more information.

For further information, please contact your hosting provider directly.

Thanks!

Thank-you,

Thats really helpful.

Are all the other plugins working?

Should I install these plugins again? (Wordfence and W3 Total Cache)

Thanks,
Tom

Hi There,

Those plugins if setup correctly do work with X and Pro.

You can try, if the issue comes back you can login via FTP, rename or delete the specific plugin folder and your site will be working again. You can than decide if you wish to try to setup the plugin again with different settings, look for an alternative or dont use it at all.

Hope it helps

Hi Joao,

We haven’t changed anything and the website is still broken. when we try to log in it shows a 404 page.

Please can you help?

Thanks,
Tom

Hi,
Any possibility of help?
The web shop has also stopped.
Thanks,
Tom

Hey Tom,

I have investigated the issue and it seems that a certain plugin may have been causing the issue. I managed to get to the dashboard and deactivated most of the plugins. Please activate the plugins one at a time so that you can easily pin point which plugin is causing the issue. Take note the name of the plugin each time you will activate it because if the dashboard is broken again, we can easily delete the plugin in the plugins folder.

Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.