#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Migrate to wpForo
Migrate to wpForo f...
Go2wpForo on Multis...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Solved] Go2wpForo on Multisite

    Last Post
  RSS
Hansie
 Hansie
(@hansie)
Active Member

Same situation here. Any progress?

Installed wpForo and Go2wpForo on Multisite.
Activated both of the plugins per subsite.

Two issues I ran into:

- The "wpForo Forum Installation" completes on both sites, but warning message remains on primary site (not on the other subsite).
- Migrate2wpForo Notice: We can't find this board on this system (on both sites)

I did notice that the wp_mg2wpforo table is being created (and wp_2_mg2wpforo for the second site) - but both are empty.

 

As for the screenshot request; it never gets to the point of showing any stats. It just show the Error message and nothing else.

Topic starter Posted : February 26, 2020 2:05 pm
Robert
 Robert
(@robert)
Support Team Admin

Hi @hansie,

The Migrate2wpForo Notice: We can't find this board on this system (on both sites) is not the plugin bug so you should not look for any progress. This is your configuration issue. What forum software you're trying to migrate from? Are you sure that the source forum software database is accessible from your WordPress server? You should do either:

1. Move the source forum database to WordPress database and move the source forum files o WordPress file system

2. Enable remote access in MySQL Settings in your source forum hosting service to allow Go2wpForo tool to connect to that database from WordPress server.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Posted : February 26, 2020 2:18 pm
Hansie
 Hansie
(@hansie)
Active Member

Thanks for the quick response Robert!

I'm migrating from bbPress - apologies for not mentioning that.

The database is accessible (it is in the Wordpress database).

I've tried debugging the migration tool, and all the 3 count functions have a query in it. When I run those through phpMyAdmin, they all result in counts > 0, which makes me suspect that "$this->db->posts" is not pointing to the correct table. (but I can be very wrong of course)

Topic starter Posted : February 26, 2020 2:29 pm
Hansie
 Hansie
(@hansie)
Active Member

If I can, I wouldn't mind helping with debugging ...

Also note that this messages keep appearing on the primary website (see attachment).

 wpforo-message.png
Topic starter Posted : February 26, 2020 3:01 pm
Robert
 Robert
(@robert)
Support Team Admin

@hansie,

Are you sure the bbPress is installed on in the same sub-site where you've installed the wpForo and Go2wpForo tool? They should be on the same sub-site. Also, you should make sure the table prefixes are correct. If the bbPress in sub-site #2 the table prefix will be wp_2_ and so on...

 

 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Posted : February 26, 2020 3:02 pm
Robert
 Robert
(@robert)
Support Team Admin
Posted by: @hansie

If I can, I wouldn't mind helping with debugging ...

Also note that this messages keep appearing on the primary website (see attachment).

 wpforo-message.png

It means the wpForo was installed in the main website. Is the bbPress installed on the same website?

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Posted : February 26, 2020 3:06 pm
Hansie
 Hansie
(@hansie)
Active Member

Yes, I'm 100% sure.
The prefix is correct as well (wp_ for the primary site, wp_2_ for the secondary site).

I've ran the 3 count queries manually (in the same database) found in the file /wp-content/plugins/go2wpforo/boards called bbpress.php. I just replace "$this->db->posts" with "wp_posts" and "wp_2_posts". All give a count greater than zero.

Topic starter Posted : February 26, 2020 3:06 pm
Hansie
 Hansie
(@hansie)
Active Member
Posted by: @robert
Posted by: @hansie

If I can, I wouldn't mind helping with debugging ...

Also note that this messages keep appearing on the primary website (see attachment).

 wpforo-message.png

It means the wpForo was installed in the main website. Is the bbPress installed on the same website?

wpForo and the migration tool have been installed through the network admin page of WordPress.
Then for each site (main and secondary) I had to manually activate them.

Note:
When I tried "network activate", the wpforo tables for the secondary site were not created.
When that initial attempt failed, I deactivated and removed both plugins, and started again from scratch, this time activating them one at a time (versus network activate). The tables for both were now created.

Topic starter Posted : February 26, 2020 3:10 pm
Hansie
 Hansie
(@hansie)
Active Member

Forgot to answer your question:

Yes bbPress is installed on the primary website and secondary website.

Topic starter Posted : February 26, 2020 3:11 pm
Hansie
 Hansie
(@hansie)
Active Member

Also note: on both websites wpForo works, and on both sites I've completed the synchronisation.

Just the bbPress migration doesn't work on either of them, and that message keeps showing.

Topic starter Posted : February 26, 2020 3:12 pm
Hansie
 Hansie
(@hansie)
Active Member

OK, got the migration working.
To get this working I had to modify the file /boards/bbpress.php.

I changed each occurrence of $this->db->tablename to $wpdb->tablename and add "global $wpdb" to each function.

I had to hardcode the table for the user count. Not a biggy - it works now.

For example:

public function get_forums_count(){
global $wpdb;
if( $count = $this->db->get_var("SELECT COUNT(*) FROM ".$wpdb->posts." WHERE post_status IN('publish', 'private', 'hidden', 'closed') AND post_type = 'forum'") ) return $count;
return 0;
}
Topic starter Posted : February 26, 2020 3:56 pm
Sofy, Martin and Robert liked
Robert
 Robert
(@robert)
Support Team Admin

@hansie,

The main problem was in your configuration, you had inserted wrong primary and secondary table prefixes on the first steps of Database Connection Configuration. So the plugin could work fine without such changes.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Posted : February 27, 2020 1:32 pm
Hansie
 Hansie
(@hansie)
Active Member

@Robert,

I'm still thinking there may be an tiny issue with MultiSite setups and the migration plugin, but in the end I got it working, some I'm very grateful for the plugin - it saved me a lot of work. Thanks! 👍
The modifications I made are most certainly not pretty, but it worked.  😉 

On that note: I'm very sure the proper prefixes were used; for the primary site "wp_" for the secondary site "wp_2_" (neither worked).

I actually clicked "Use current database connection credentials" (which for each site selected the right prefix), clicking connect worked, and the confirmation window showed me the right data and "OK" (see attached screenshot).

In any case: thank you very much for a great forum and great support.
I very much appreciate it.

 prefix.png
Topic starter Posted : February 27, 2020 2:38 pm
  All forum topics
  Previous Topic
Next Topic  

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • How to put join us in the forum with login and register the same as wpForo?

    By edielton, 17 hours ago

  • Can't change forum slug

    By popvlad82, 2 days ago

  • Major bug occurring with @user mentions

    By Noved, 2 days ago

  • Forum description

    By Vijiki, 3 days ago

  • cant send public messages to friends

    By ReddBeard, 3 days ago

  • Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    By Noved, 3 days ago

Topic Tags

  • css50
  • translation49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • moderation40
  • ultimate member40
  • avatar40
  • forum40
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • forum accesses30
  • spam29
  • phrases28
View all tags (2163)

Recent Posts

  • RE: How to put join us in the forum with login and register the same as wpForo?

    Where exactly you want to put the login/register button...

    By Robert, 2 hours ago

  • RE: Guest to not see recent posts on Recent activity page

    I want to migrate my forum to other platform! The new...

    By OMTesla, 3 hours ago

  • RE: Major bug occurring with @user mentions

    @chris Thanks for the reply. After spending roughly 12 ...

    By Noved, 23 hours ago

  • RE: Can't change forum slug

    There are two places for the slug. In wpForo AND mainly...

    By dimalifragis, 2 days ago

  • RE: Moderation Turned Completely Off...User's Posts Are Still "Awaiting Moderation"...

    @robert Ok thank you!

    By Noved, 2 days ago

  • RE: wpForo 2 Major Update is Imminent!

    @dimalifragis, It depends on the beta version. We are...

    By Robert, 2 days ago

  • RE: How to schedule a topic?

    Hi @joselito, I'm sorry, but this will not be availab...

    By Robert, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,775 Topics
49.5 K Posts
6 Online
44.8 K Members

Latest Post: How to put join us in the forum with login and register the same as wpForo? Our newest member: Kenyan Makes Cheap Organic Fer... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation