Support » Plugin: Events Calendar » Multisite not supported

  • barbazul

    (@barbazul)


    After installing in a multisite website the corresponding wp_#_eventscalendar_main tables are not created.

    This means that whenever I create an event in one of the non-root sites the post gets created but there is no event metadata to go with it, so the event does not appear on the calendar widget

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • barbazul

    (@barbazul)

    I am willing to work on fixing this if you are currently accepting contributions to your code.

    barbazul

    (@barbazul)

    Debugging the code I found the problem is with the plugin initialiation.

    It assumes the plugin is being activated for a single site so clicking on “Activate for network” link will fail to create all the necessary tables.

    A simple workaround is to disable it for the network and then enabling it on each site. That way $wpdb->prefix gets populated with the right values and the check in EC_DB::createTable() would make a lot more sense.

    Althought the workaround is rather simple, this should still be considered a bug

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite not supported’ is closed to new replies.