Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrea Veglia

    (@andrea0veglia)

    Hi @paulmullon.
    There is a file in the root of wordpress, called “wp-config.php”.
    Check that all the parameters are correct ( name of database, user database, password database, hostname database, ecc..).
    However, some solutions to the problem are listed on this page
    https://www.fixrunner.com/what-to-do-when-your-wordpress-admin-panel-is-blank/#webhost

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.wordpress.org/Debugging_in_WordPress

    You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you cannot access wp-admin, there are other ways to deactivate plugins.

    Thread Starter PaulMullon

    (@paulmullon)

    Thanks Andrea and Steve.

    I think the wp-config parameters are correct as the front end works, but I am checking further.

    I have enabled wp-debug and will see what I can find out from there.

    Thread Starter PaulMullon

    (@paulmullon)

    wp-debug shows:

    Warning: Cannot modify header information – headers already sent by (output started at /usr/www/users/…../premiercredit.co.za/wp/wp-config.php:1) in /usr/www/users/…../premiercredit.co.za/wp/wp-includes/pluggable.php on line 1251 Warning: Cannot modify header information – headers already sent by (output started at /usr/www/users/…../premiercredit.co.za/wp/wp-config.php:1) in /usr/www/users/…../premiercredit.co.za/wp/wp-includes/pluggable.php on line 1254

    Part of the problem may be that I need to type in www. to access the front end. This error message suggests that it is trying to access the site without the www which I know doesnt work. I may have to change the htaccess file or my host parameters to allow this.

    Any thoughts

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    1) See what’s in your database in wp_options for the site URLs.

    2) It looks like you have an error in wp-config.php. Do you have some content there that comes before <?php or do you have a closing ?> on it?

    Thread Starter PaulMullon

    (@paulmullon)

    I found a space at the beginning of the wp-config file.

    I also changed all the URLs in the wp_options file.

    Both as @sterndata suggested.

    @sterndata and @andrea0veglia – I really appreciate your help. This resolved my issue very quickly.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Site works but white screen wp-admin after migration’ is closed to new replies.