WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blank screen after editing wp-config.php (6 posts)

  1. gisharma
    Member
    Posted 1 year ago #

    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

  2. govpatel
    Member
    Posted 1 year ago #

    Did you enter your database info in the file you created is it named wp-config if so it should be wp-config.php

  3. gisharma
    Member
    Posted 1 year ago #

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

  4. govpatel
    Member
    Posted 1 year ago #

    then only problem can is database info recheck

  5. gisharma
    Member
    Posted 1 year ago #

    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.

  6. pwhstacy
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic