• I installed WP 2.0.3 and I have an older version running in another directory. I created a new database with a new prefix and it has no tables (from MySQL Admin.).

    The first time I ran install.php, I double clicked it and the PHP ran without a browser (I know, dumb). Now, when I run it from a browser I get the stuff about how he can’t find wp-config.php and also says it’s already installed.

    I’ve scoured the multi-blog items and I think I should be able to do this. No?

    TIA,
    Jeff

Viewing 4 replies - 1 through 4 (of 4 total)
  • You say you created a new database, but did you also put these values in the wp-config.php file?

    Thread Starter motorbortniker

    (@motorbortniker)

    Yep, I sure did.

    Got a link?

    Thread Starter motorbortniker

    (@motorbortniker)

    No, it’s not gone through DNS yet. But here’s some of the output from the install.php

    wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.”); require_once(‘../wp-config.php’); require_once(‘./upgrade-functions.php’); $schema = ( isset($_SERVER[‘HTTPS’]) && strtolower($_SERVER[‘HTTPS’]) == ‘on’ ) ? ‘https://’ : ‘https://’; $guessurl = str_replace(‘/wp-admin/install.php?step=2’, ”, $schema . $_SERVER[‘HTTP_HOST’] . dirname($_SERVER[‘PHP_SELF’]) ); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else $step = 0; header( ‘Content-Type: text/html; charset=utf-8’ ); ?>
    WordPress
    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’); ?>

    Oh, here’s a link to the active blog:
    https://www.dirtyworkstudios.com/

    What else?

    Jeff

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP Thinks He’s Already Installed’ is closed to new replies.