• Resolved monnibo

    (@monnibo)


    To my knowledge, I have everything in my database correct and my username, password, host. I have used WordPress before but I was on a subdomain and didn’t set it up myself. Now I’m trying to set it up myself on a new domain and when I go to wp_admin/install.php, it tells me that first, it can’t find wp_config.php and that it’s already installed and I need to delete my database tables.

    wp_config.php is there, I’ve renamed it from wp_config-sample.php, altered it accordingly, and uploaded it on my server with all the other files. Why isn’t it recognizing it?

    And I went into phpMyAdmin and checked my database, there are no old tables there. In fact, it tells me that no tables currently even exist.

    I have installed it before, but on a completely different server. I’ve redownloaded the most recent version and everything. I am stuck,stuck,stuck!

    Can someone help me?

    If you’d like me to copy and paste EXACTLY what install.php reads, I can. There is a LOT of php coding in it. Definitely an error somewhere but I can’t find it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The file is supposed to be wp-config.php, not wp_config.php.

    Thread Starter monnibo

    (@monnibo)

    I fixed it… I have no idea how but I did. Oh that was just a typo, bad me. I had it named the right thing on my server. Straaange though because I just started clicking files and it worked.

    Try changing the database prefix maybe?

    <—
    hide_errors(); $installed = $wpdb->get_results(“SELECT * FROM $wpdb->users”); if ($installed) die(__(‘
    Already Installed

    You appear to have already installed WordPress. To reinstall please clear your old database tables first.

    ‘) . ”); $wpdb->show_errors(); switch($step) { case 0: ?>

    —>

    This is part of the error message I get when I try to install wp in my subdomain. I have wp installed and running in the main domain. I want to install another wp in the subdomain. I have created a separate database for the subdomain with different user name and password. But I’m not able to proceed. Am I doing something wrong? I did go through the documents and forums but don’t to seem to have moved forward. Thanks in advance for any help.

    hide_errors(); $installed = $wpdb->get_results("SELECT * FROM $wpdb->users"); if ($installed) die('
    '.__('Already Installed').'

    '.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'

    '); $wpdb->show_errors(); switch($step) { case 0: ?>
    ReadMe documentation at your leisure.'), '../readme.html'); ?>

    That was part of the error message I got when I also tried to run the installation. But I have no database to be deleted. Help please! I have no idea what to do.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error: “Already Installed”’ is closed to new replies.