• Hi, My knowledge is limited and I’m still learning, but I don’t even seam to get past the first step to connect to my databas.
    I’ve modified the config.php doc. and the username, password and database name are right, however I’m thinking that I maybe have to change the “localhost” to my IP or?

    When I try to access this I get a warning message:

    Warning: main(/mnt/gs02/herd03/31011/domains/sofiesworlds.com/html/blogme/wp-includes/compat.php) [function.main]: failed to open stream: No such file or directory in /mnt/gs02/herd03/31011/domains/sofiesworlds.com/html/blogme/wp-settings.php on line 117

    Fatal error: main() [function.require]: Failed opening required ‘/mnt/gs02/herd03/31011/domains/sofiesworlds.com/html/blogme/wp-includes/compat.php’ (include_path=’.:/usr/local/php-4.4.8-1/share/pear’) in /mnt/gs02/herd03/31011/domains/sofiesworlds.com/html/blogme/wp-settings.php on line 117

    I’m a bit confused, would this be something that can be explained to me?
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I know it looks confusing until you learn how to read the error message. Look at the bold part:

    sofiesworlds.com/html/blogme/wp-includes/compat.php) [function.main]: failed to open stream: No such file or directory

    Simply, it means some files did not make it to your server: Upload them again.

    Thread Starter sofie

    (@sofie)

    Great thanks 🙂

    Thread Starter sofie

    (@sofie)

    Well, I which that you could say that I got this all right. I’ve now uploaded all the files and now I just get a ‘page can not be found’ (http://www.sofiesworlds.com/blog)?

    Your database connection is not happening. Recheck your wp-config.

    You can login to your account with your host and check your database. If you go to your db admin and sign in, you should see a page with something like this
    Welcome to phpMyAdmin 2.4.0
    MySQL 4.0.16 running on localhost as yourdatabasename@localhost

    If it does not say localhost it should give you the information to use on your wp-config.

    Otherwise, there is an error in your wp-config.

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

The topic ‘Database connection’ is closed to new replies.