• I am having trouble getting a new site up and running. I can run the install file and it successfully completes, however when I look at the actual tables, there are no records in any of them for the site information.

    Look at the apache logs, I see things like

    WordPress database error Table ‘wp_ewecandoit.wp_blogs’ doesn’t exist for query SELECT * FROM wp_blogs WHE
    RE blog_id = 1 /* get_blog_details */ made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘/etc/wordpress/config-ewecandoit.com.php’), require_once(‘wp-set
    tings.php’), ms_site_check, get_blog_details, referer: https://ewecandoit.com/wp-admin/install.php

    And that is after getting the success message on the install.php page and trying to log in for the first time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • From the looks of that message, it looks like something is messud up.

    How did you do the install? Manually or with a script?

    Make sure that the information
    DB_NAME
    DB_USER
    DB_PASSWORD
    DB_HOST
    in your wp-config.php is correct. Also look at the second to last line of that file. It should be

    require_once(ABSPATH . ‘wp-settings.php’);

    if it is not you need to fix it.

    Thread Starter ravensorb

    (@ravensorb)

    Wouldn’t the fact that the schema is created correctly indicate that the connection information is correct?

    Also, not sure if it matters, but I do have multi-site enabled in the config file — I set that up BEFORE I ran the install for the instances

    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘ewecandoit.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    And yes the line you mentioned is the last line in my config file.

    Try doing the install without the multi-site enabled – then if it works, add the multi site info back

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New database — no records in any table’ is closed to new replies.