Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter fluxthedev

    (@fluxthedev)

    @corrinarusso Great questions.

    Sorry for the confusion. Hopefully this provides some clarification. Your questions are in bold and my responses are underneath them.

    Your data export failed using WP All Export ??? or did it fail on Import?
    Failed with what?

    So the export failed on production, not sure why but I just used the WordPress export out-of-the-box export tool. The import didn’t fail but it didn’t import all the data. Plus I have 13,000 posts (including custom post types, events etc) as well as category and tags.

    Why are you exporting the site in the first place?
    Can you better describe your situation, and your goal?

    So we have been doing a redesign on the site since the end of the last year. I was supposed to do data migration before the redesign but had to take over every part of the redesign project, for an enterprise-level website. Originally I tried WordPress out-of-the-box import/export but authors didn’t import correctly even though I selected them correctly. A good chunk of the posts was missing too. We want to transfer everything from production to a staging site so that we can get all the content updated with the new design.

    Have you tried straight up SQL dump from the originating db and then insert into the new db?
    Yes I tried this before and maybe this would work but I don’t need everything. Last time I imported a dump, it messed up the navigation and a few other places as the navigation is much different on production than staging. The content in posts (including custom post types, events, etc) is staying the same (same with category and tags), but pages and navigation are different. So maybe I just need to do a more specific query.

    Can you try to use WP All Export on a tiny subset of records that you know are in the “files that fail”? Don’t worry about exporting 3000 records – just export 4 or 5 posts and see if that work. This is turning into an exercise of eliminating reasons for failure.

    I will try WP All Export on prod, but the time it takes to make sure everything is exported seems to be not the best approach.

    The reason why I resorted to WP-CLI, besides above, is because we eventually want Continous Development/Continuous Integration where we would just run a command or set up a job to do it. From my experience, CLI’s are much easier to work with than plugins.

    Hopefully, that sheds some light on the situation.
    Thank you!

    • This reply was modified 5 years ago by fluxthedev.
    Thread Starter fluxthedev

    (@fluxthedev)

    @corrinarusso Not 100% sure yet. I haven’t done any digging on that yet. Those other two plugins did not work, they didn’t pull in all the posts or post data. I even had the company buy wp all import pro (import and export) and that didn’t work as well

    Thread Starter fluxthedev

    (@fluxthedev)

    @corrinarusso Any ideas whats going on here?

    Thread Starter fluxthedev

    (@fluxthedev)

    @corrinarusso Thank you for responding! Seems to be a trend with stuff I do, “I’ve not seen that before.” lol.

    So I ran the tool wxr-validator (thanks I forgot that existed).

    The following error showed up easily a few hundred times. (this file is 15.7MB and has about 3000 posts).

    Warning: Array to string conversion in /Users/*usernameremoved*/Documents/wxr-validator/checks/closed-tags.php on line 14
    PHP Warning: Array to string conversion in /Users/*usernameremoved*/Documents/wxr-validator/checks/closed-tags.php on line 14

    Then at the end gives me a bunch of array longs like:

    [231087]=>
    array(2) {
    [0]=>
    string(6) “</rss>”
    [1]=>
    int(135592)
    }
    }
    You are all set! No errors found.%

    As you can see it says no errors found 🙁

    I did run the debug but I don’t remember what it was. It’s late and a holiday weekend so I’ll check tuesday.

    Thanks for all your help so far!

    • This reply was modified 5 years ago by fluxthedev.
    • This reply was modified 5 years ago by fluxthedev. Reason: formatting issue
Viewing 4 replies - 1 through 4 (of 4 total)