Forums

Error message (6 posts)

  1. fordage
    Member
    Posted 2 years ago #

    Hi Please excuse me...I admit I have pretty much no idea what I'm doing. I need to be walked through this in baby steps. Any one out there with a little patience...gratitude to you!

    Here's my message I receive when I click on the:

    '/wp-admin/install.php' from the read me page.

    --------------------------

    ERROR: %s'), $error); ?>

    checked="checked" />

    '.__('Already Installed').'

    '.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'
    ');} switch($step) { case 0: case 1: // in case people are directly linking to this display_header(); ?>

    ReadMe documentation at your leisure. Otherwise, just fill in the information below and you’ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?>

    error) ) wp_die($wpdb->error->get_error_message()); display_header(); // Fill in the data we gathered $weblog_title = isset($_POST['weblog_title']) ? stripslashes($_POST['weblog_title']) : ''; $admin_email = isset($_POST['admin_email']) ? stripslashes($_POST['admin_email']) : ''; $public = isset($_POST['blog_public']) ? (int) $_POST['blog_public'] : 0; // check e-mail address $error = false; if (empty($admin_email)) { // TODO: poka-yoke display_setup_form( __('you must provide an e-mail address.') ); $error = true; } else if (!is_email($admin_email)) { // TODO: poka-yoke display_setup_form( __('that isn’t a valid e-mail address. E-mail addresses look like: username@example.com') ); $error = true; } if ( $error === false ) { $wpdb->show_errors(); $result = wp_install($weblog_title, 'admin', $admin_email, $public); extract($result, EXTR_SKIP); ?>

    admin
    '. $password .'
    '; } echo '

    '. $password_message .'
    '; ?>

    --------------

    When I click on the my site's url I receive a message that looks like this:

    Error establishing a database connection

    --------------

    I have no idea where I start blogging from or what passwords to use where. I have a GoDaddy SQL database set-up.
    I have read through what feels like a million blogs over the past 2 days. It is just not apparent to me. I am not a back-end designer.

    Any info helpful.

    I believe my errors lie in this section of my 'wp-config.php':

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'Victoria Centre for Natural Health');

    /** MySQL database username */
    define('DB_USER', 'VCNH');

    /** MySQL database password */
    define('DB_PASSWORD', 'my actual password used here');

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    ???
    Thank-you.
    Fordage

  2. stvwlf
    Member
    Posted 2 years ago #

    One thing I can tell you is for
    define('DB_HOST', 'localhost');
    you can't use localhost with GoDaddy. They supply you with the necessary hostname in the database section of your hosting account.

    I suggest you go into the database admin area, start up database administration, and delete the database tables that have been created in your WP database. That will eliminate "the database tables have already been created" error message.

  3. fordage
    Member
    Posted 2 years ago #

    Thank-you!

    I have still been pushing on my end here to try to figure this out...

    It now looks like:

    ---

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'Victoria Centre for Natural Health');

    /** MySQL database username */
    define('DB_USER', 'vcnh');

    /** MySQL database password */
    define('DB_PASSWORD', 'my actual password used here');

    /** MySQL hostname */
    define('DB_HOST', 'vcnh.db.5131049.hostedresource.com');

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    ---

    So I have the database in place from GoDaddy...I've even checked and followed through with some of their help postings...
    still in same spot though.
    I've enabled cookies.

    Could it be a Mac thing? Any issues with WordPress and Mac?

    Fordage
    (keepin head high)

  4. fordage
    Member
    Posted 2 years ago #

    Maybe this image will help.
    I have never used WordPress. Am I supposed to be able to control my page from here after loging in with the WP login info?

    I hope it becomes more straight forward after this installation point!

    http://www.victoriacentrefornaturalhealth.com/Picture 3.png

    (might have to copy/paste entire link into address...not too sure what is up with this thang)!

  5. stvwlf
    Member
    Posted 2 years ago #

    If you have WP installed in your domain root, what happens when you go here

    http://www.victoriacentrefornaturalhealth.com/wp-admin/

    That is the admin URL once the installation is complete.

  6. fordage
    Member
    Posted 2 years ago #

    Thank-you so much for your help.
    Your leads got me to my final answer...

    This area was incorrect, and I am shameful to say that it was very simple and silly mistake.
    My unsername was wrong.

    I felt like this area of all help blogs were so vague. I cannot believe I spent almost a full day 'testing' different passwords, etc into this script!

    Fordage.

    --------------

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'vcnh');

    /** MySQL database username */
    define('DB_USER', 'vcnh');

    /** MySQL database password */
    define('DB_PASSWORD', 'xxxx');

    /** MySQL hostname */
    define('DB_HOST', 'vcnh.db.5131049.hostedresource.com');

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    -------------------------------

    Thanks again for your time stvwlf!!!

Topic Closed

This topic has been closed to new replies.

About this Topic