Gregg (@lorax)

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • In reply to: Is bbPress alive?

    Gregg
    Participant

    @lorax

    I’ve had several issues with bbpress and PHP 8.2. I really hope bbPress updates soon or I’ll have to switch to another forum.


    Gregg
    Participant

    @lorax

    Bump – no one has seen this or has an idea what might be happening?

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    Yes, I believe it will. Go get a coffee. 🙂

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    Your db is missing the field users.user_website You need to create this as I explain in my answer above. See How to create the fields to get rid of the missing field errors

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    @maximemue. The point of the export/import task is to get the data into a database with the latest data format. I found a thread that suggested exporting data out of the old database then creating a new one – which should have the newer format – and importing the data into it. How you accomplish this depends on what tools you have available. In my case, I was using the GoDaddy database interface – not PHPMyAdmin. I didn’t have a choice but PHPMyAdmin should be fine.

    Once you’ve done this you’ll need to “wire” up phpBB to use the new database by editing the config file. Look for the documents on their website that deal with installation and setup. That’ll point you in the right direction on which file and what to change.

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    FYI – version of phpBB I was trying to upgrade to: 3.2.4

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    Resolved!

    Grab a cup of coffee and a seat and I’ll tell you the story of how you might be able fix this. It may take several hours so be prepared…

    Situation I was in:
    Older version of phpBB 3.1v and wanting to port all topics, replies, and users to bbPress (latest version at the time). A handful of issues existed that were causing more trouble than they were worth. Host of the old site is GoDaddy. The new site is on WP Engine.

    Forum Stats (approx)
    Users: 2200
    Topics: 7800
    Replies: 22500

    Outcome:
    Successfully ported all topics, replies, and users to bbPress.

    Updated phpBB
    REMOVE ALL MODS, STYLES, anything that’s not a part of the out-of-the-box install. Then follow the upgrade instructions. Make backups (I kept a copy of the existing site on my local machine and duplicate database on the host). I found these instructions most helpful: https://www.phpbb.com/support/docs/en/3.2/ug/upgradeguide/upgrade31/

    The Issues
    There were two issues I ran into (in different flavors but it turns out they just stemmed from these two). 1st – utf8 formatting and 2nd missing fields. These issues are with the import and NOT the upgrade for phpBB. I was able to resolve those issues by making sure I followed the instructions on that link to the letter.

    The first error (I don’t remember the exact error string but it was either utf8mb4 or just utf8 but it simply means the database holds the data in an older format. The solution is to export the date from the database then create a new database and restore the data into it. By creating the new database the fields will use the proper format and when the restoration is complete this issue should be resolved.

    The second error was a little more mysterious – as in I’m not sure why it happened but essentially the import routine is looking for fields that don’t exist in the phpBB install even after I successfully updated it. The solution was to create the fields needed. How?

    How to create the fields to get rid of the missing field errors
    Note I created a copy of the functioning database on my phpBB install so I could screw it up and not hurt the functioning website. So here’s an example.

    The error I got basically said the script couldn’t find “users.user_from” in the database I was trying to import from. That’s not an exact quote but the gist. So I edited the copy of my database and added the missing field (user_from) to the table it was looking for it in (users) using datatype VARCHAR and length of 255 (all else was left to default). I had to do this about a dozen times between the users, topics, and forums tables.

    I should note I imported all of my users as well. I had to try this whole process several times. I’ve spent 40+ hours trying to figure this all out (I’m not that familiar with phpBB or bbPress) but the actual process once I figured out the issues – took about 6 hours – mostly waiting for the script to process the data. If your import bombs – read the error and look carefully at what it’s looking for or doesn’t like. Most likely it’s looking for something that’s not there.

    I was worried that the connections between topics and replies and users would somehow be messed up. But in the end, it looks like it all came out fine. I’m pretty sure I’ll find something amiss – that’s my cynical side but maybe I’ll be pleasantly surprised.

    Good luck!

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    phpBB is now fully updated but I still get errors on import like: Unknown column ‘users.user_website’ in ‘field list’

    Seriously thinking of just staying with phpBB at this point since there’re no answers to be had here.

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    Well, I can tell you I’m totally unimpressed with the import routine for phpBB. Last count I’ve spent over 10 hours trying to figure out each of the little gotchas. And just when I’m able to get the routine to run – it doesn’t import a bloody thing. At this point, I’m about to just give up and scrap 14 years of forum posts. That or abandon bbPress and focus on fixing phpBB. Rather sad state of affairs.

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    I will post the solution if/when I figure it out. The phpBB upgrade didn’t go so well – blew up the site. Trying to get it back now.

    Happy to.

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    I’m going to try to upgrade the phpBB install. Backing up files and database now. Will let you know how it goes.

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    So your issue is the same as mine, trying to import from an older version of phpBB?

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    Well shoot. Looks like this is a dead end.

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    Anyone? Even a hint on how to troubleshoot this would be appreciated.

    In reply to: phpBB import (again)

    Gregg
    Participant

    @lorax

    Forgot to provide the URLs.

    Old phpBB forum: http://www.cpakayaker.com/forums/
    New Site: http://cpakayaker.wpengine.com/

    Current versions of WordPress and bbPress

Viewing 15 replies - 1 through 15 (of 15 total)