Support » Networking WordPress » Integrating WPMS into outside Script

  • whatshakin

    (@whatshakin)


    I have anther script I want to integrate the Multiuser features of WP 3.0.1 into.

    When I added this to header file of my other script:
    require(DIRECTORY.'wp-blog-header.php');
    It shows an Error:

    Error establishing database connection

    The multi-site system works fine on it’s own, and inside one of the error logs, it shows that WP is looking for just
    sitemeta and blogs
    instead of
    wp_sitemeta and wp_blogs
    in the database.

    Here’s some of the error file. This might really help us out in integrating 3.0.1 with outside scripts if we can find the solution:

    [23-Nov-2010 19:53:34] WordPress database error Table 'wptable.blogs'
    [23-Nov-2010 19:53:34] WordPress database error Table 'wptable.sitemeta'
    [23-Nov-2010 19:53:34] WordPress database error Table 'wptable.sitemeta'
Viewing 1 replies (of 1 total)
  • whatshakin

    (@whatshakin)

    These are the action/functions that are trying to run:
    wpmu_current_site, wp_load_core_site_options, get_blog_details

Viewing 1 replies (of 1 total)
  • The topic ‘Integrating WPMS into outside Script’ is closed to new replies.