• Resolved htmlboss

    (@htmlboss)


    I followed the steps on the Codex for this process and I keep receiving this error (“One or more database tables are unavailable. The database may need to be repaired.”) whenever I enable define('SUBDOMAIN_INSTALL', false); I have copied and pasted what my wordpress installation has told me to put into the config.php and .htaccess. I also tried repairing the DB, however it complains that

    wp_1_posts: Table ‘bitnami_wordpress.wp_1_posts’ doesn’t exist
    wp_1_comments: Table ‘bitnami_wordpress.wp_1_comments’ doesn’t exist
    wp_1_links: Table ‘bitnami_wordpress.wp_1_links’ doesn’t exist
    wp_1_options: Table ‘bitnami_wordpress.wp_1_options’ doesn’t exist
    wp_1_postmeta: Table ‘bitnami_wordpress.wp_1_postmeta’ doesn’t exist
    wp_1_terms: Table ‘bitnami_wordpress.wp_1_terms’ doesn’t exist
    wp_1_term_taxonomy: Table ‘bitnami_wordpress.wp_1_term_taxonomy’ doesn’t exist
    wp_1_term_relationships: Table ‘bitnami_wordpress.wp_1_term_relationships’ doesn’t exist
    wp_1_commentmeta: Table ‘bitnami_wordpress.wp_1_commentmeta’ doesn’t exist

    Here is what WordPress is telling me to do:

    Add the following to your wp-config.php file in C:/Bitnami/wordpress-4.2.2-2/apps/wordpress/htdocs/ above the line reading /* That’s all, stop editing! Happy blogging. */:

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', '192.168.1.32');
    define('PATH_CURRENT_SITE', '/wordpress/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    Add the following to your .htaccess file in C:/Bitnami/wordpress-4.2.2-2/apps/wordpress/htdocs/, replacing other WordPress rules:

    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    What is causing this?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bitnami WordPress Network DB errors on localhost’ is closed to new replies.