Perhaps a security plugin moved the path statement. Do this:
1 - Rename the "wp-config.php" to "wp-config Protect" via FTP or your C-Panel
2 - Download it to your WordPress download folder ex: C:\MyDownloads\wordpress\wp-config.php - now your working wp-config is safely stored :)
3 - Open /Edit the downloaded wp-config.php file and copy the lines which contain your database, user fields and table index. Paste these into a file like a notepad. These will be your database and user info to connect to your database - should anything happen. Again you have secured your database connection data
4 - Now having your wp-config.php renamed, go the front page: you will be presented with a WP setup screen. Use what you have saved from your notepad for the fields. Manually enter these fields. Make sure you also use the same database table index prefix. They should be the same.
5 - Closely follow the install wizard by using what you have copied into your notepad
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
Again, make sure the tables index are identical.
Use your same admin user name and password when asked.
Now your new wp-config.php file is built after the install is successful.
If this worked out. You should see the path statements. If the install failed for any reason, just rename the newly created one to "wp-config.php failed" and rename the "wp-config.php protect" to wp-config.php
You will be back to where you were before you started.