Hi the last post on the previous discussion doesn’t have the link to the converting tool? Could I get a link to that ? I’m migrating from phpbb -> bbpress -> simplepress
Thanks for any help and sorry about bringing this back up again
Hi the last post on the previous discussion doesn’t have the link to the converting tool? Could I get a link to that ? I’m migrating from phpbb -> bbpress -> simplepress
Thanks for any help and sorry about bringing this back up again
Actually don’t worry about it, found the link in the topic, and also saw it did phpbb… cheers
Somewhat related:
I downloaded and installed/activated said importer in my WP v3.3.1 installation. Having installed a clean SimplePress v4.5.1, I can’t seem to find the importer menu anywhere at all in WP. Am I missing something? Does the “v5” in the importer name imply it’s only for the SimplePress v5 beta?
Thanks in advance
–Jakob Tischler
You should find the importer on the SP menu – right at the bottom.
Yes you will need the V4 version available from the normal download page here in the menu above.
Thanks for the quick reply.
Still, the last item in the SP menu is still “WP Integration”. Though I found out I can actually access the Importer directly via the url (/wp-admin/admin.php?page=sp-import/admin/spimport-setup.php).
Now, I know this is hijacking the topic a bit, but I ran into another problem: I’m trying to import the bbpress data. Everything in the “Source Forum Data” section is clear to me, except the “WordPress User Table Prefix”. I know in the info panel on the right side it says it’s for importing a WP forum – which I’m not. Still, I can’t continue without. So what exactly am I supposed to enter here? The regular WP users table always has the same prefix as the rest of the WP tables, doesn’t it? So that’s set in the wp-config.
Now, just to check it out, I entered the same table prefix that I used for the bbpress prefix. While that actually worked, the importer gave me the following error:
Fatal error: Call to undefined function sp_forum_ahah_support() in […]wp-contentpluginssp-importenginespimport.php on line 8 (truncated by myself)
So as you see, I’m at two losses here.
In most cases of a bbPress import, the user table prefix will be the same as the other bbPress tables but not always as I understand it. bbPress has not always been quite so integrated into WP itself.
As you didn’t see the menu and it it failed finding a function I would guess you are using the wrong version. Looks like you are using a V5 importer to try and import into a V4 SP.
The V4 importer is available from the download page on the menu above.
Well, that did the the trick. Thanks for the heads up. The “v5” in the importer’s name should have been a clear sign in the first place 🙂
Now, net bump: I get a timeout error after the first forum group is created for simple-forum/library/sf-filters.php, line 869, which is $size = getimagesize($srcfile);. Personally, I’ve had problems with getimagesize before, so I tried $size = @GetImageSize($srcfile);, which got rid of the timeout error, and the import process actually finished.
Having said that, only part of my bbpress data was imported:
So I really wonder what happened to the 85% of posts/topics that didn’t make it.
Where are you running this? Is it local or on a remote server?
We have mainly success with the importer but every now and then we get one that ends up like this and haven’t been able to determiner why yet except it is possibly timing out.
So add the question what is your timeout set to on the server if you know?
I’m running it on my localhost, as I wanna test if everything works out fine before going live.
Concerning the timeouts: I’m not really sure which timeout value I’m looking for, so I give you everything related that I’ve found in phpinfo()
apache2handler – Timeouts: Connection: 300 – Keep-Alive: 5
HTTP Response Headers – Keep-Alive timeout=5, max=100
mysql – mysql.connect_timeout: local value 3, master value 3
mysqlnd – Read timeout: 31536000
standard – default_socket_timeout: local value 60, master value 60
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.
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?
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…
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.
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…