• I’m a newb, so please, try to accommodate my lack of knowledge.

    I just tried to install WordPress following the instructions on my host’s web site (Total Choice Hosting).

    Those instructions are as follows:

    1. Now go to the folder you extracted WordPress into.

    2. Make a copy of the wp-config-sample.php file and rename the copy to wp-config.php

    3. Open wp-config.php with a text editor and edit your data base information into the proper fields.
    arrow
    For DB_NAME enter: cpanel-name_database-name-you-created
    arrow
    For DB_USER enter: cpanel-name_user-you-created
    arrow
    For DB_PASSWORD enter: just-the-password-you-created
    arrow
    Leave DB_HOST unchanged; should be ‘localhost’

    I uploaded all of the wordpress files to my site’s public_html folder.

    But when I visit https://mysite.ext/wp-admin/install.php I get the “server not found” page. And when I go to my site’s URL (hoosierlogic.com), I get this:

    Warning: Wrong parameter count for define() in /home/hooslog/public_html/wp-config.php on line 3

    Warning: Wrong parameter count for define() in /home/hooslog/public_html/wp-config.php on line 4

    Warning: Wrong parameter count for define() in /home/hooslog/public_html/wp-config.php on line 5

    Warning: Wrong parameter count for define() in /home/hooslog/public_html/wp-config.php on line 6

    Warning: Cannot modify header information – headers already sent by (output started at /home/hooslog/public_html/wp-config.php:3) in /home/hooslog/public_html/wp-includes/functions.php on line 1583
    Error establishing a database connection

    Any ideas what me going wrong? If it’s of any use, I used to have Textpattern installed on this same site.

    Thanks to anyone who can help,
    Matt

Viewing 4 replies - 1 through 4 (of 4 total)
  • you have not correctly edited your wp-config.php

    LINE 1: <?php
    LINE 2// ** MySQL settings ** //
    LINE 3: define('DB_NAME', 'putyourdbnamehere');    // The name of the database
    LINE 4: define('DB_USER', 'usernamehere');     // Your MySQL username
    LINE 5: define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
    LINE 6: define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
    LINE 7: define('DB_CHARSET', 'utf8');

    you also have whitespace or characters before the opening <?php in that file.

    Look at the errors you see on the page.

    Thread Starter flakcatcher

    (@flakcatcher)

    Ive followed your advice. I no longer get the line errors, but I still cant connect to the database or server. Any idea why?

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

    Thread Starter flakcatcher

    (@flakcatcher)

    Are you sure you have the correct username and password?
    Yes. As sure as I can be.
    Are you sure that you have typed the correct hostname?

    It’s ‘localhost’ — right? If so, then yes?

    Are you sure that the database server is running?

    Yep.

    Here’s the message I’m getting:

    https://hoosierlogic.com/wp-admin/install.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Server not found” when trying to get to install page’ is closed to new replies.