WordPress.org

Ready to get started?Download WordPress

Forums

B2Evo Importer (82 posts)

  1. Michael Rodríguez Torrent
    Member
    Posted 7 years ago #

    Hi everyone. As far as I know, the latest version available is still the one on my site (http://themikecam.com/downloads/import-b2evolution.php.txt) and only works with WordPress 1.5. I've not had the time nor the inclination to update it, but anyone else who would like to is free to do so.

  2. dleach
    Member
    Posted 7 years ago #

    Okay... given that the porting tool doesn't seem to be supported, is there documentation somewhere that outlines what has changed between version 1.5 and the current version to facilitate modification of the porting tool?

    Also, it would seem like a good thing to make sure all of the porting tools are updated before doing a new release. Maybe it should be considered to move this particular porting tool as part of the core code base to make sure it gets updated.

  3. dleach
    Member
    Posted 7 years ago #

    I've updated the script some more to more fully support WP2.0.6. Changes include:

    - correctly porting the users over (*)
    - correctly porting the posts
    - correctly porting the comments
    - optionally leaving the trackbacks behind (because of the problem with my current B2Evolution blog).

    * I'm stuck on porting the users over on how the wp_capabilities are actually used and decoded. I haven't seen any documentation that is clear on this. Help would be appreciated as I'm not a PHP expert.

  4. dleach
    Member
    Posted 7 years ago #

    Okay. I've fixed the wp_capabilities issue. I have an updated file for porting b2evolution to WP 2.0.4. Where should I put it?

  5. Michael Rodríguez Torrent
    Member
    Posted 7 years ago #

    Anywhere, just post a link to it.

  6. dleach
    Member
    Posted 7 years ago #

    I was told to submit a ticket... which I have done.

  7. Michael Rodríguez Torrent
    Member
    Posted 7 years ago #

    A ticket? For what? A feature request? In the meantime, why not post your modifications so other people can make use of them? Everyone just goes through the link on the codex to my site and is disappointed to find it doesn't work with 2.x

  8. Michael Rodríguez Torrent
    Member
    Posted 7 years ago #

    Okay, I see you're posting in three different threads about the same thing.. I think it was suggested you post a ticket with a patch attached so that you have somewhere to host your patch, so now that you've done it it would be helpful if we knew what ticket it was :)

  9. dleach
    Member
    Posted 7 years ago #

    Sorry, I don't know what the ticket is.... to be honest, I'm a bit confused/disappointed by the layout and organization of this website.

    I'll post the file when I get home so others can use it.

  10. dleach
    Member
    Posted 7 years ago #

    Okay. I've also put it into the pastecode at:

    http://pastecode.com/2902

  11. vkaryl
    Member
    Posted 7 years ago #

    Keep in mind that most pastecode/pastebin sites have a limit on the amount of time the file is viable.

    An online upload/download solution would be better probably; there are various sites which allow fairly large downloads with only minor delays....

  12. dleach
    Member
    Posted 7 years ago #

    The file is not very big... maybe the original place I pulled it down could host the changed version?

  13. Michael Rodríguez Torrent
    Member
    Posted 7 years ago #

    Sure, I can do that. E-mail it to mike (at sign here) themikecam.com

  14. dleach
    Member
    Posted 7 years ago #

    Done.

  15. Michael Rodríguez Torrent
    Member
    Posted 7 years ago #

    Thanks David, it is now available at http://themikecam.com/downloads/import-b2evolution-wp2.php.txt

    I've updated the Codex to point there and also link to the old version for anyone with 1.x: http://codex.wordpress.org/Importing_Content#b2evolution

  16. fogcat
    Member
    Posted 7 years ago #

    I've just tried it and it imported my user fine then died with SQL errors. Could this be becaue I'm on the latest (1.8.1) release of b2evo?

  17. Falstaff66
    Member
    Posted 7 years ago #

    OK guys, I've got the latest script, and a new installation of WP, currently pointing to an otherwise empty db. I don't have b2evo installed, but I have a restored backup of my mysql database (with 1 1/2 years of posts). Here's where I'm stuck, there's 4 databases in the folder! How do I know which is the right one? Horde.sql is out...that's mail. I suppose I can just try the biggest one and see what happens. Any suggestions?

  18. Sinnyo
    Member
    Posted 7 years ago #

    I officially have ZERO idea what's going on with my changeover here. I've forgotten which version of b2e I had running, but when running this script on the most recent version of WordPress (in the b2e's old directory, '/blog') I hit submit on the first page and am routed to my site's index page. Not only that, but it takes me to the index.php, not index.html which has frames. When I delete my index from the site I get a server 500 error, but still no matter what I try I cannot get past that index! Where on earth is the submit sending me to?

    EDIT: Waitaminute... import-b2evolution-wp2.php has an error on line 193. Surely it should read

    "<form method="post" action="import-b2evolution-wp2.php?step=1">"?

    Could that be why I'm being fed errors? Unfortunately, the faffing so far has crashed my web server so I'm not in a position to test it yet.

    EDIT 2: Freaking YES, it worked. I actually debugged something, which is a first! So, um, yeah, if anyone gets a similar problem, that's why. I reckon my transfer to my site's index must have been because the 404 direct's playing up.

  19. Michael Rodríguez Torrent
    Member
    Posted 7 years ago #

    Argh, yes, I'm sorry, that's my fault. When dleach sent me the script to post on my site, I add "-wp2" to the filename to differentiate it from the importer for 1.x and didn't even think about breaking the forms. Fixed now. Sorry :(

  20. GonzaloBrusella
    Member
    Posted 7 years ago #

    I have several problems with this script.

    The first issue became with some changed fields name on the b2evo db (I solved this solved). I'm porting from b2evo 1.8.2 (the last version at this moment) to WP 2.0.4

    The second trouble was with categories. This script allways creates new categories instead of checking if there is a category with the same "category_name" (not soved, yet).

    The 3rd problem is: IT DOES NOT IMPORT ANY ENTRY AT ALL!!

    I'm working to check what are the solutions to problems 2 and 3. As soon as I have a "working" version I'll post it here.

  21. mootaccount
    Member
    Posted 7 years ago #

    Any ideas on the decoding of wp_capabilities?

    Thanks!

  22. Finkregh
    Member
    Posted 7 years ago #

    b2evo changed its table-layout.. is somebody willing to take care of that? :)

Topic Closed

This topic has been closed to new replies.

About this Topic