The MU forums have moved to WordPress.org

Batch Creation of Many Blogs (1 post)

  1. alex867
    Member
    Posted 17 years ago #

    I try to these tow the functions to create many blogs.

    wpmu_create_user( $user_name, $password, $email);
    wpmu_create_blog($domain, $path, $title, $user_id );

    but seems not work so well

    lots of error return...

    WordPress database error: [Table 'abc_mu.wp_87_options' doesn't exist]
    SELECT option_value FROM wp_87_options WHERE option_name = 'post_count' LIMIT 1

    WordPress database error: [Table 'abc_mu.wp_88_options' doesn't exist]
    INSERT INTO wp_88_options (option_name, option_value, option_description, autoload) VALUES ('siteurl', 'http://blog.abcdefg.edu', 'WordPress URI (URI)', 'yes')

    ..... lots of errors

    Are there any good idea to create many blogs on wpmu?

About this Topic

  • Started 17 years ago by alex867