WordPress.org

Ready to get started?Download WordPress

Forums

WP Db Abstraction
[resolved] Issue with using multisite (4 posts)

  1. joenova
    Member
    Posted 1 year ago #

    I just did a clean install of 3.4.2 with multisite enabled on SQL Server 2008 R2.

    I don't see the default or any subsequently added sites in the list of sites in the network admin.

    Has anyone had similar issues or know how to fix this?

    Need help ASAP for work! Please!!

    Thanks!!

    http://wordpress.org/extend/plugins/wordpress-database-abstraction/

  2. joenova
    Member
    Posted 1 year ago #

    Found the fix for anyone who's interested.

    In 'translations.php' around line 739 in the 'translate_limit()' function you currently have:

    if ( count($limit_matches) == 5 && $limit_matches[1] != '0' ) {
                $true_offset = true;
            } elseif ( count($limit_matches) == 5 && $limit_matches[1] == '0' ) {
                $limit_matches[1] = $limit_matches[4];
            }

    This needs to be changed to:

    if ( count($limit_matches) == 6 && $limit_matches[1] != '0' ) {
                $true_offset = true;
            } elseif ( count($limit_matches) == 6 && $limit_matches[1] == '0' ) {
                $limit_matches[1] = $limit_matches[4];
            }

    Hope this helps someone else!

  3. jonpetitta
    Member
    Posted 1 year ago #

    Yup that did it for me, thank you very much for the fix!!!

    Though this leads me to wonder what other functionality is broken by the db abstraction...

  4. joenova
    Member
    Posted 1 year ago #

    Agreed.

    Also, this fixes the "Posts" and "Pages" listings if anyone was curious.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.