Support » Fixing WordPress » white screen after migration from cpanel to virtualmin

  • Resolved adamjedgar


    hi guys,
    migrated from cpanel (litespeed) to virtualmin (apache) and experiencing a white screen.

    i have:
    1. enabled degugging in wordpress
    2. checked server logs (a couple of minor issues regarding rev slider and layer slider disabled both plugins)
    3. renamed plugin directory (thus disabling all plugins
    4. renamed active theme (thus default twenty 16 theme should now be active)
    5. renamed .htaccess
    6. checked database user and password (i did change these at one point an immediately recieved a database connection error so i think i have the right ones as this error doesnt displya anymore)

    Please Note ***
    the A record has not yet been forwarded to my server ip address, so i am using an alias domain to access wordpress
    the admin panel via my alias domain is also not accessible (it gets white screen too)

    I am out of ideas?

    • This topic was modified 2 years, 6 months ago by adamjedgar.
    • This topic was modified 2 years, 6 months ago by adamjedgar.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, thank you for listing all the troubleshooting steps you took, it makes it a lot easier for forum volunteers to help you. Have you checked your file permissions? Are you able to verify that PHP is working and all the necessary extensions enabled by creating a test php file with <?php phpinfo(); ?>? Are there any messages in your browser console?

    Thread Starter adamjedgar


    I have now rectified the issue. Whilst i am not 100% certain, it appears that when i migrated the website from cpanel to Virtualmin, for some reason the MySQL username and password details on the new server did not match those on the original cpanel one when Virtualmin created the new account (i must have made a mistake when choosing a username and password option in the Virtualmin interface for this migration.

    In any case, I found myself with two different usernames and passwords for MySQL database.

    1. WordPress had one in its wp-config.php file
    2. virtualmin had a different one on the new hosting account which was different.

    I changed the WordPress wp-config.php username and password to that of the Virtualmin on and initially got a database error. However, after the above-mentioned problem-solving solutions that did not work, i then copied and pasted the Virtualmin details and this time it has worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘white screen after migration from cpanel to virtualmin’ is closed to new replies.