WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Blank screen after editing wp-config.php

[Resolved] Blank screen after editing wp-config.php

  • Hello experts,

    After editing wp-config file and go to http://localhost/wordpress, nothing gets displayed. However if I just copy existing wp-config-sample.php as wp-config file it gives “DATABASE CONNECTION ERROR” (atleast something gets displayed) . Can you please let me know what may be the problem here.

    I have created database and users.
    I am using mysql : 5.0.77
    php : PHP 5.3.17 (cli)

    Thanks,
    Giridhar

Viewing 5 replies - 1 through 5 (of 5 total)
  • Did you enter your database info in the file you created is it named wp-config if so it should be wp-config.php

    Ya I have it as wp-config.php (sorry about that).

    then only problem can is database info recheck

    Manual editing of wp-config.php didn’t work for me. So I deleted the wp-config.php and went to the browser and typed http://localhost/wordpress
    without any wp-config file.

    Now web interface created wp-config.php file for me and now everything works. Thanks to this interface. From yesterday I was breaking my head.

    Thanks,
    Giridhar.

    Hello,

    Please make sure that you have enter the correct user name, database name and password in wp-config file. I will suggest you to do it manually and give a try.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Blank screen after editing wp-config.php’ is closed to new replies.