Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
phpBB3 Import - omitted all but 2 forums
Avatar
David Bentley
Member
Free Members
sp_UserOfflineSmall Offline
Apr 19, 2013 - 5:06 pm

I just successfully imported all of my users and their passwords, but a problem with the forums/posts: sp importer only imported 2 subforums and their posts (72 total posts) but omitted the rest.

My old forum structure:

Welcome to the forum - 1 post

Before-Purchase Questions - 1 post

Members Welcome - START HERE - 1 post

Introduce Yourself - 126 posts

General Questions - 194 posts

2 subforums containing 72 total posts (these are the two that worked)

the remaining 122 posts are just sort of there in the General Questions Forum as the posts for that main forum

Your Story - 21 posts

Off Topic - 23 posts

 

I am mostly concerned with importing the 122 posts in the General Questions forum that were omitted from the import. The rest I can easily recreate and/or don't desperately need. But the 122 contain many unanswered posts and folks are waiting for me to answer!

Did I do something wrong? My table name was phpbb_ - was I supposed to use something else? Anything I can do to add in just these (I know you can use the SP Importer with a non-empty forum).

 

Help!

 

Thanks

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 19, 2013 - 5:27 pm

so it got a parent forum but missed the subforums?  or vice versa...  and this was up to date phpbb3?

did it get any posts from the missed forums or completely missed them?  was the forum created?  can you look in the sfforums table and see if they exist?

sorry, just trying to be exact...

 

Avatar
David Bentley
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2013 - 7:37 am

Mr Papa said
so it got a parent forum but missed the subforums?  or vice versa...  and this was up to date phpbb3?

did it get any posts from the missed forums or completely missed them?  was the forum created?  can you look in the sfforums table and see if they exist?

sorry, just trying to be exact...

 

No worries - thanks for your quick reply. It only got the (only) 2 subforums and its threads/posts...completely missed the parent forums (7 total) and all their threads/posts (100s). This was phpbb3.0.11 (current version).

I looked into the sfforums table and saw only the two subforums in there (here are two screenshots)Screen-Shot-2013-04-20-at-8.34.06-AM.pngImage EnlargerScreen-Shot-2013-04-20-at-8.36.59-AM.pngImage Enlarger. Looks like the parent forums just didn't transfer.

As an experiment, I uploaded my .sql file into a fresh install of phpbb3.0.11 and all the forums/subforums/posts are there, error-free.

Anything we can do?

Thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 20, 2013 - 8:08 am

You have not said what messages you received when the import finished. Were any errors reported? Like a list of forums or topics that failed to import for example?

andy-signature.png
YELLOW
SWORDFISH
Avatar
David Bentley
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2013 - 9:09 am

Sorry - there were no error messages. I didn't save a screenshot but it basically was all green and listed out total subscribers imported (600+), two forums, # of posts, etc. It appeared to be a totally normal "success" message with some additional information at the bottom of what else to change (admin users, etc.). No import "failed" messages or line items whatsoever.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 20, 2013 - 10:07 am

No error messages is suggestive of the fact that the importer knew nothing about these forums to start with. If a forum is 'known' but fails to import for any reason then this triggers messages. No message probably means it wasn't even aware of their existence.

The only reason I can think of for this is that perhaps phpBB have made some changes to their database schema in the latest versions that we are unaware of. The only possible way I have to test that theory is if someone such as yourself is willing to let me have a copy of the database so I can look at it....

andy-signature.png
YELLOW
SWORDFISH
Avatar
David Bentley
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2013 - 11:41 am

I was thinking along the same lines.

Happy to share it with you! Where should I send it...or should I send you phpmyadmin for it?

I appreciate your help.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2013 - 12:28 pm

email it to support at simple-press dot com...

Avatar
David Bentley
Member
Free Members
sp_UserOfflineSmall Offline
Apr 21, 2013 - 11:29 am

Has been emailed. Did you receive it?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 21, 2013 - 2:08 pm

Yes indeed and have just been looking at it.

This IS different to any other phpBB database I have seen before but I have no idea why. When creating the lost of forums that need to be imported we use the criteria of 'WHERE parent_id != 0' within the forums table. in your database this only applies to 2 forums and what I don't know or understand is why other, active. forums have a parent_id of 0.

I am hoping you may be able to shed some light on this...

andy-signature.png
YELLOW
SWORDFISH
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: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625