WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Multisite options - can not change to "Yes" (8 posts)

  1. Geet Jacobs
    Member
    Posted 3 years ago #

    I am trying to activate Enable global tables mode and the other 2 options for sharing events over all 3 sub sites.

    Each time I save settings nothing happens. I can made the plugin active, inactive on all blogs, turned off network and so on.

    I also went into the database and changed all the options to 1 instead of 0 and still not sharing events.

    I event went into events-manager.php and edited the prefix for the tables to all be the main blog wp_1_ and still only my main site shows events.

    Anyone else having this issue or a solution? I double checked and have no caching plugins going either.

    Thanks!

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    it should work without any hacking (so reinstall). if you change to global mode, you lose the events on subsites and keep the root blog events, from then on new events are created on that table (and shared on the event's subsite and main site by default)

  3. Geet Jacobs
    Member
    Posted 3 years ago #

    Hello Marcus,

    Thanks for the reply. I uninstalled, reinstalled. Still after clicking Save all Changes the global table goes back to "no". Even if I edit the options table in the database and set it to 1 instead of zero the checkbox still shows no.

    Could it be some php setting? I can try to turn off all plugins also, but all other settings in the plugin can be turned on and off.

    P.S. I use your event manager on 15 different sites, one of my favorite plugins, thank you for all the amazing work.

    Would this issue have anything todo with not having a default wp_options table, only a wp_1_wp_options, wp_2_wp_options and so on?

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    that should be stored in the sitemeta tables i believe. have you tried it on another ms install?

    15 sites, that's a lot of event sites!

  5. Geet Jacobs
    Member
    Posted 3 years ago #

    I think it might relate to the fact that I was on a WordPress MU before 3.0 upgrade, so my table structure is different? My sitemeta table only has information for the default main site, not any of the others.

    all the dbem_ information is in each of the three option tables wp_1, 4 and 7.

    Will keep digging and see if I can track down the issue.

    The weirdest thing is even when I hard code it like Iused to before EM4...the plugin doesnt use the same event tables for all sites.

    if( get_site_option('dbem_ms_global_table') ){
    $prefix = "wp_1_";
    }else{
    $prefix = "wp_1_";
    }

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    newer versions probably won't work on MU < 3.0 (and still, dbem_ tables are from < 2.x

  7. Geet Jacobs
    Member
    Posted 3 years ago #

    Ok, for anyone else going form wordpress MU pre 3.0 to a wordpress 3.0 upgrade you can add three records to the wp_sitemeta table and it should work.

    When I upgraded to EM 4.0 it added the records to the wp_1_options table instead of the default sitemeta table.

    So go to the database and add these records below as the meta_key and the meta_value of 1.
    dbem_ms_global_events
    dbem_ms_global_events_links
    dbem_ms_global_table

    Cheers!

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    thanks for sharing!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic