Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
requests-topic
bbpress to simple press converter link
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2012 - 8:48 am

Oh if you are running locally then it should get all those with no trouble. at least I have tested with far bigger source databases with no issues.

There is one thing to note and one thing to try. If a topic's parent forum, or a post's parent topic do not exist then they will not be imported. They are in effect orphaned. bbPress has a habit (so I have seen) of not removing deleted topics and posts so that may account for some. But - the differences are, I would think, too big and you would know that.

In the /importers folder is a file called bbpress.php. Could you make an edit in there and try again?

Around line 48 is this:

$def->utf8_encode    = true;

Try setting that to false.

The easiest and best way to retry is to uninstall SP and then deactivate it. and then reactivate again. This will clear out all of the tables ready for a fresh attempt. Deactivating only will not.

andy-signature.png
YELLOW
SWORDFISH
Avatar
JakobTischler
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2012 - 10:20 am

Naah, didn't help. With @GetImageSize and $def->utf8_encode = false; it get the same result with slightly different numbers.

Then I deleted all posts with post_status=1 or post_status=2 and all topics with topic_status=1 or topic_status=2 from the db, and imported (again with @GetImageSize and $def->utf8_encode = false;). Same result - ca. 85% missing.

 

Are there any other criteria where the importer ignores posts or topics? Or, could the timeout maybe still be in effect, but it isn't mentioned?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2012 - 12:01 pm

The best offer I can make is if you are willing to send me a copy of the DB I can try it here to see if I can locate the blockage... Up to you of course but if you are willing to do that you can send me a copy at support at simple-press dot com...

andy-signature.png
YELLOW
SWORDFISH
Avatar
JakobTischler
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2012 - 1:57 pm

Thanks for the offer, but sending the DB is not an option. We will continue with baby steps and try to find the culprit.

 

Thank you for the support.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2012 - 2:35 pm

Ok thats fine.
The try extending the timeout. I forget what it is called but in your php.ini there is a setting for the max time of a php script...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Unknown
Guest
Guests
Jan 26, 2012 - 11:28 pm

I'm having an issue converting from bbpress to SPF. I installed the plugin and clicked the importer link then click on bbpress but it is asking for my forum login info... I never had to put this into bbpress. Well I put in my info that was in wp-config.php and when it asked for the bbpress prefix I was confused... All my bbpress topics look like they are in the wp_posts table with a post_type of forums and I'm guessing the replys are in wp_comments? anyways I added wp_ as my prefix and it says it cannot connect to the database.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 26, 2012 - 11:31 pm

both databases must be on the same server...

bbpress doesn't or didnt use the wp posts table... what version of bbpress is this please?

Avatar
Unknown
Guest
Guests
Jan 27, 2012 - 9:29 am

I am using the latest version 2.0.2 and we only have one server. Both databases are the same. I logged into mysql and confirmed the wp_posts table is for both the pages and the forum posts. They are distinguished by the column post_type. For pages it says "pages" and for forum posts it says "forum". I looked in the bbpress settings and do not see ANYWHERE it gives an option to use its own tables.

 

OK I had the username wrong but I updated that. In my bb-config.php it shows the bbPress table prefix as wp_bb_ however I do not have ANY tables with that prefix.

 

After further research all topics / forums / replies are in the wp_posts table with the post_type of either "topic", "forum", "reply"

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 27, 2012 - 9:37 am

I will have to let Andy jump in here since he did the converters...  its possible the latest version of bbpress completely changed the db structure and the converter only works on the previous version...

Avatar
bjojo
Member
Free Members
sp_UserOfflineSmall Offline
Jan 27, 2012 - 9:41 am

ok i registered so i can get notifications 🙂

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625