WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite Problems, Cloning and Domain Mapping Questions (12 posts)

  1. Loueze
    Member
    Posted 2 years ago #

    Hello

    I have setup WP Multi Site on my already setup blog. I have a few questions that I really need some answers to, I hope I will explain myself well enough in hopes I will receive the right helpful answers, so here goes ;)

    I followed the instructions http://codex.wordpress.org/Create_A_Network

    After following these instructions, I am able to login and enter the details as if I am creating a NEW Blog, for testing purposes I enter my own email, which in-turn I DO recieve an email containing my NEW Blog Login details. However, when I go to the link, I have a http500 error. (Also in my email the password says N/A....????)

    I have checked with my server as I am on a VPS, to make sure the mod rewrite is enabled - which it is...

    I am using the subdomain method and had my server staff add the Wildcards...

    You can view the files I have setup as well as the entries in my error log on my server for any clues below...

    I also have another question -

    I am understanding how the multisite can help me, What I need to know, is IF I happen to get all this working correctly, are my members able to have their blogs found in Search Engines... I know subdomains do not stand favourable amoung google, will the domain mapping help for this for my members?

    When and if I do get the issues sorted out to actually see a blog come up, I will be seeking a cloning tool (if anyone knows of one, that would be helpful) But I dont want to clone MY main site as I have this setup as a membership site, Can I create a members blog (adding a standard set of plugins I want my members to have access to) Have this site cloned - which will be under my MAIN site... I am hoping to have a 'Master Site' for cloning purposes. Can this be done?

    Does anyone know where there is a more basic explaination on the Multisite. How it is actually setup, from A-Z basically, how it all actually works to help get more understanding on it all... I guess any information would be good, I have been searching and there is not much available for the a-z of it all... only bits and peices...

    I thought to add what I have entered into the files, incase any of you fine people just wanted to ask before helping me -

    .htaccess

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    wp-config file:

    define('WP_DEBUG', false);
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'MYWEBSITE.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    define( 'SUNRISE', 'on' );
    
    /* That's all, stop editing! Happy blogging. */

    Here are some errors I have recieved since install Multisite, taken from my server error log (Honestly, I am unsure if they are the issue or not, but I have placed them here for your reference:

    [03-Oct-2011 23:48:20] WordPress database error Table 'marketin_wrdp1.wp_3_posts' doesn't exist for query SELECT COUNT(ID) FROM wp_3_posts WHERE post_status='publish' AND post_type='post' made by wp_signon, do_action, call_user_func_array, msum_maybe_add_roles, msum_add_roles, msum_get_blog_list
    
    [03-Oct-2011 23:48:20] WordPress database error Table 'marketin_wrdp1.wp_2_posts' doesn't exist for query SELECT COUNT(ID) FROM wp_2_posts WHERE post_status='publish' AND post_type='post' made by wp_signon, do_action, call_user_func_array, msum_maybe_add_roles, msum_add_roles, msum_get_blog_list
    
    [03-Oct-2011 23:48:20] WordPress database error Table 'marketin_wrdp1.wp_3_options' doesn't exist for query SELECT option_value FROM wp_3_options WHERE option_name = 'msum_default_user_role' LIMIT 1 made by wp_signon, do_action, call_user_func_array, msum_maybe_add_roles, msum_add_roles, get_option
    
    [03-Oct-2011 23:48:20] WordPress database error Table 'marketin_wrdp1.wp_2_options' doesn't exist for query SELECT option_value FROM wp_2_options WHERE option_name = 'msum_default_user_role' LIMIT 1 made by wp_signon, do_action, call_user_func_array, msum_maybe_add_roles, msum_add_roles, get_option

    Re-cap and break it down:

    1. http500 error after clicking on the created link
    2. Passwords coming through as - N/A
    3. Will Domain Mapping help?
    4. Master Site (Not main blog from the root) used for cloning purposes?
    5. Any useful information available...

    I know there is a lot I have covered, I just thought to get it all out, instead of coming back and forth...

    I would really appreciate anyone help on each of these matters... Thank you so much in advance...

    Cheers..

  2. 1. http500 error after clicking on the created link

    What happens for non existant subdomains? Like http://dfjkshdfsd.example.com? Do they work?

  3. (Also in my email the password says N/A....????)

    Normal. If you;re using the same email address each time, you already have the password.

    Can I create a members blog (adding a standard set of plugins I want my members to have access to) Have this site cloned - which will be under my MAIN site... I am hoping to have a 'Master Site' for cloning purposes. Can this be done?

    Yes. Google for "WP Replicator".

    Does anyone know where there is a more basic explaination on the Multisite. How it is actually setup, from A-Z basically, how it all actually works to help get more understanding on it all... I guess any information would be good, I have been searching and there is not much available for the a-z of it all... only bits and peices...

    wpmututorials.com - my blog where I have written tons and tons of posts specifically about multisite and before that, wordpress mu. Lots of old info is still applicable.

    And wpebooks.com.

    Here are some errors I have recieved since install Multisite, taken from my server error log (Honestly, I am unsure if they are the issue or not, but I have placed them here for your reference:

    THe problem is the db tables are not being created for each new site. that's why they aren;t working.

    make sure the db user has ALL permissions on the db.

    Yes, I did go over this in my free ebook on how to create a network. ;)

  4. Loueze
    Member
    Posted 2 years ago #

    Thanks for that, I will need to look at that further to fix it...

    How do I find where the blogs are setup in cpanel? Assuming I get the DB all correct...

    To get my head around how Multisite works, is there a folder where the blogs are created to? And do the subdomains show up in cpanel at all...

    I just dont see these anywhere, so I am making sure I am not missing something. Still trying to understand how the structure works with WP MS.

    Thanks

  5. The blogs aren't in cPanel. There are no folders for the blogs. It's virtual. You're not missing anything.

  6. Loueze
    Member
    Posted 2 years ago #

    Hello again.. Thanks for letting me know that!

    I have checked with my server and all permissions are correct, Wildcard is setup, everything seems fine.. However its not as the DB are not being created.

    Does anyone know of a fix or how to correct this issue?

    Thanks in advanced

  7. Loueze
    Member
    Posted 2 years ago #

    Hi again;

    I am now wondering if I should simply put the blog back to normal state and start over... As I cant seem to find a solution, I have contacted and tried to get help from my server company, but they are not sure about the whole WP thing... I am not sure now what to try.

    So if no one is sure what I should try out first before doing this can I confirm the proceedure in putting it back to normal please...??

    Delete any extra sites you may have created. Move the content and users to the main
    blog or wherever you desire.
    Remove the lines we added in the wp-config.php file.
    Restore the .htaccess file to the default. One the multisite lines are gone from the config
    file.....you can usually restore these by resaving the permalinks.

    To resaving the permalinks, what is meant by this?

    And Do I simply remove these from myphpadmin

    • wp_blogs
    • wp_blog_versions
    • wp_registration_log
    • wp_signups
    • wp_site
    • wp_sitemeta

    If anyone has a solution first as to why the tables are not being created then I would love to hear about this first of course to try...I am not getting any more errors, all permissions are set accordenly etc... Otherwise I think I need to remove it all and start over.

    I really appreciate any help, thanks heaps ;)

    Cheers

  8. If anyone has a solution first as to why the tables are not being created then I would love to hear about this first of course to try...

    If you used a One-Click install on your webhost to set up wordpress.. that;s why.

    Also - did you talk to your web host? This is a server side issue, not a WordPress one. Yes, WP is trying to create new tables but it;s the server that's not letting it.

  9. To resaving the permalinks, what is meant by this?

    Go into your site, edit permalinks. Make NO changes. Click save.

    Thus 're-saving' permalinks ;)

    However what you need to fix is on the database. The account you're using is the one in your wp-config.php file (DB username) and THAT is the ID that needs full permissions on the database.

  10. Loueze
    Member
    Posted 2 years ago #

    Hi Andrea no one seems to know why!! Its driving me nuts... arghhh...

  11. Loueze
    Member
    Posted 2 years ago #

    @Ipstenu - What is supposed to be the correct path in the permalinks if I may ask, to make sure it looks right when I am there?

    Thanks

  12. Loueze
    Member
    Posted 2 years ago #

    I ended up removing the network, then redoing it again. It worked the second time around...

    Thanks for your comments, Much appreicated

Topic Closed

This topic has been closed to new replies.

About this Topic