• I’ve been trying to install WordPress, but I get stuck at creating the wp-config.php file. I edited wp-config-sample.php and renamed it to wp-config.php, uploaded it, and went to wp-admin/install.php, where I got this error message:
    Warning: main(/home/karma/public_html/wp/wp-includes/wp-db.php): failed to open stream: No such file or directory in /home/karma/public_html/wp/wp-settings.php on line 24
    Fatal error: main(): Failed opening required ‘/home/karma/public_html/wp/wp-includes/wp-db.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/karma/public_html/wp/wp-settings.php on line 24
    I have a database, I have a user in that database, and the information in config is correct as far as I can see. Can anyone help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • “/home/karma/public_html/wp/wp-includes/wp-db.php”
    Do you have the proper permissions set on all of your files? That error is generated by either 1) the files aren’t there 2) the permissions are incorrect and the files cannot be opened.
    On my server, I have to set all of the files/directories to allow executing for some reason. Check to see what permissions you need.

    You’ve probably checked this, but just in case…have you ensured that in the wp-config you indicated the correct table prefix as well? Example: wp_ or the like?

    Thread Starter Anonymous

    Spacemonkey – I did try setting all the permissions (777), but I wasn’t sure if that’s what they’re supposed to be set to.
    Nuclear – Yeah, I left it as wp_.
    I guess i’ll just re-install. Thanks anyway. : )

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wp-config.php error messages’ is closed to new replies.