WordPress.org

Ready to get started?Download WordPress

Forums

Integrating WPMS into outside Script (2 posts)

  1. whatshakin
    Member
    Posted 3 years ago #

    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'
  2. whatshakin
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic