• Resolved mistral7-wporg

    (@mistral7-wporg)


    New website, installed WP single blog version, worked fine. Removed install, dropped tables on Database, set the wp-config data to include

    define(‘WP_DEBUG’, false);
    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘xxxxx-to.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );
    define(‘WP_ALLOW_REPAIR’, true);
    .. and I get an error connecting to database.
    Hair loss is out of control…
    Anyone got the answer to this one, please

Viewing 9 replies - 1 through 9 (of 9 total)
  • .. and I get an error connecting to database.

    Because you dropped the database tables.

    To solve this, visit the WordPress installer URI by typing yourdomain.com/wp-admin/install.php in your browser’s address bar. You’ll see a form asking you to complete installing your site.

    Thread Starter mistral7-wporg

    (@mistral7-wporg)

    Hi Jamal.
    I had actually run all the processes of install. The database tables were dropped when I cleared out the single blog install.
    With the install of the network version there should be some 15 or so tables in the database. Currently there are 11.

    When I changed the installation from single to network I :
    1. Deleted all files on the wp folder site.
    2. Dropped the tables in the database.
    3. Uploading the WP 3.1.1 files again.
    4. Changed the wp-config.php as above.
    5. Renamed the .htaccess file.
    6.Proceeded to run the install.
    Hence my puzzle. The WP should have installed as a network install.

    I’m also working on this process today and I don’t think the instructions call for “clearing out” the single blog install.

    I’m working from this document:

    https://codex.www.ads-software.com/Create_A_Network

    The way I understand them, we’re supposed to install wp normally, then follow the instructions for enabling the Network functions. I don’t remember seeing anything there about clearing anything out.

    Thread Starter mistral7-wporg

    (@mistral7-wporg)

    @drcherry. The codex refers to MU, and just putting define(MULTISITE) instruction into a single blog wp-config.php did not work for me. There is no way of generating the additional DB tables as far as my experience went.
    If you get a different result aka-fixed with network, please drop a note back as I will be really interested in your method.
    Many thanks

    Thread Starter mistral7-wporg

    (@mistral7-wporg)

    @jamal.
    Here is another puzzle. After all that I did, I then found WP did not create a .htaccess file. I then created that file with the entries from a working version created by WP install on another site setup, but still no joy.

    I think you are not suppose to do any deleting all you need to do is add this code
    define('WP_ALLOW_MULTISITE', true);
    in wp-config.php log in as admin and you will have a label in tools Network click on it and just follow instructions and the program do all the work

    I have video and article on how to setup multisites on wordpress.

    The MU plugin is depreciated with the latest WP release. The additional db tables are created when blogs are created via the administration UI.

    “My” method is following the instructions here precisely:

    https://codex.www.ads-software.com/Create_A_Network

    There should be no need to delete tables, or improvise steps.

    The .htaccess file is not created automatically, you’ll have to create it yourself and chmod it to 644.

    Thread Starter mistral7-wporg

    (@mistral7-wporg)

    @govpatel – your fix solved the case. Thank you.
    Your website looks very helpful, also

    You are welcome

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP installs as single blog, but fails to install as network’ is closed to new replies.