• I have already installed WP in a sub-dir. Now attempting to set up 2 more instances, different sub-dir, share 1 (new) database. My host has fantastico. On first instance install I set a new sub-directory /book; completed install using fantastico; edited config changing table prefix from ‘wp_’ to ‘book_’ .
    When I load http://www.thedesignofitall.com/book/
    Receive this: “It doesn’t look like you’ve installed WP yet. Try running install.php.”
    If I click this “install.php” will I explode? No, seriously, will it run through the install again but simply adjust for the config file change?
    Also, do multiple instances have to be in the same sub-dir to share a single db?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter PressingIt

    (@pressingit)

    I clicked anyway and did not explode. It did run through the install again and create another set of tables. I was under the impression I was going to end up with another instance but this is not really. I did get another copy, so to speak, but I can’t admin login. I checked the config for the password and that is ok but the user name is the database name not the user name that I entered prompted by the fantastico install. Anyone out there gone through this already?

    The table prefix has no effect on the directory.
    You cannot install WP more than once from a directory.
    You can install it as many times as you want into a database so long as the prefix is different – the prefix is merely an identifier for the program.
    I am not familiar with fantastico, but I would create the /book/ directory, upload all the wp files into that, and run install. A separate install should behave as if the first, or any other install, is not there.

    Thread Starter PressingIt

    (@pressingit)

    I’m totally confused ~ some of it’s syntax. This cannot be as simple as changing the table prefix in the config.php & running install.php again. Is there something else?
    I don’t know what Fantastico does technically behind the UI but it runs the WP install and simply asks if you want to install in a sub-dir & sets up admin username/pw & email username/pw ~ nothing fancy there. I did end up with the wp files in sub-dir /book & two sets of tables. After that I get a page of errors & now I can’t even log into the first blog I setup. I’m at a total loss since my initial install worked just fine ~ I had already made several entries after install ~ so it’s most likely not my host. Am I supposed to change the table prefix back after the second blog?

    Reading your first post again, it looks from that that you altered the config file after installation ?
    If so, then yes, errors will occur.
    If you have installed WP before, and want to do it again, this is the sequence of events:
    1. Open wp-config.php, find the table prefix. Change it from ‘wp_’ to something else – ‘books_’ would be fine.
    2. Upload all the wordpress files to the directory that you want – which must not already have wordpress in it.
    3. Run wp-admin/install.php
    That’s it.
    Changing the prefix *after* install will have your index looking for tables which haven’t been made yet.

    Thread Starter PressingIt

    (@pressingit)

    It’s using Fantastico ~ normally if someone downloads wp they can then change the config file prior to install but because I was using Fantastico I don’t actually even have a copy of the config file prior to install. Thanks for hanging in there with me on this one. Gotta just do it manually for all subsequent copies which require db sharing.

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

The topic ‘Multiple Instance Single DB Fantastico Installer’ is closed to new replies.