Srizon Facebook Album
[resolved] It doesnt work on multi site (4 posts)

  1. Daniel Edano
    Posted 3 years ago #

    I have a multi site wordpress setup and I tried to install the free version but it doesnt work on my child site.

    Whenever I add an album and go back on Album List, I see nothing.

    P.S. It works on the main site though.

    Anyone have an idea on how to fix this?


  2. afzal_du
    Plugin Author

    Posted 3 years ago #

    The plugin uses database table and for database prefix it gets the default wordpress prefix.
    As a result, it only works with the main site.
    A simple code edit will make it work on 'one' of the child site (not all). But it's not a very good practice.
    1. find out the database prefix for your target child site
    2. use that prefix to edit the code of the file 'srizon-fb-db.php' as follows
    replace all of the following code with your database prefix

    for example if you find a line like following and your db prefix for the child site is 'ch1_'
    $table = $wpdb->prefix.'srzfb_galleries';

    then change it to
    $table = 'ch1_'.'srzfb_galleries';

    after making all the changes, save the file and deactivate+activate the plugin.

    This is just an workaround until I make the plugin multi site supported.

  3. bronath
    Posted 2 years ago #

    Hi there,
    any better Solutions in between?
    Use Srizon Facebook Album Pro on three of my WordPress Installations and migrated them all into one multisite.

    So right now my Galleries all are broken :-(


  4. afzal_du
    Plugin Author

    Posted 2 years ago #

    Hi, Email me directly for pro version support.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Srizon Facebook Album
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic