Sign in

WordPress imported pages not visible

  • This topic has 10 replies, 7 voices, and was last updated 1 year ago by .
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #5699
    Avatar photoMultilabel

    hello !how is going’  After importing pages and also custom post (both apparently counted and imported)  aren’t visible in the post section.

    I’m using the last version of publi.

    Thanks

     

    #5717
    Avatar photoTomasz Dziuda

    Hi,

    Could you share your WXR file? Then I will be able to try reproduce your issue.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #6126
    Avatar photoarfues

    Old thread, but I have the same problem today. And the theme is not syncing. I checked and the “site” folder is missing. Where can I send the wxr?

    #6145
    Avatar photoTomasz Dziuda

    Hi arfues,

    You can try to upload your WXR as an attachment to the message (private reply) or share a link to it in a private reply

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #6147
    Avatar photojeffmackinnon

    I’m testing with my main site and have a similar problem. I imported and the posts show up when I sync, but they aren’t in the posts section for editing.

    They also aren’t tagged, but all the original site categories do show up as tags in the publii desktop app, but all with zero post counts.

    #6148
    Avatar photojeffmackinnon
    This reply has been marked as private.
    #6151
    Avatar photoarfues
    This reply has been marked as private.
    #6317
    Avatar photojeffmackinnon

    Any tips on this? Has it been fixed in the latest 0.3 version?

    #6652
    Avatar photoBen S.

    I’ve just encountered the same problem. Here is how I managed to resolve it.
    Here is how to get your post visible again.

    First of all, you will need a SQLite Database editor like this one : https://sqlitebrowser.org/dl/.
    Then :

    • Open your Publii site directory
      For me : “Documents > Publii > Sites”
    • Find the db.sqlite file into the “input” directory
    • Edit the SQLite database with SQLiteBrowser
    • Browse the “posts” table data and find the posts without title, slug or status
      • The wp_import tool did not save anything in these fields for blog posts of custom type “quote”
    • For these records, you can
      • delete the rows
      • edit the rows and type in a title, a unique slug and define a status (published or draft)

    Then you need publii to reload the database : this can be done by changing the site you are editing or by closing and reopening the ublii application.

    And… voilà !

    I hope this wil do the trick for you as well.
    I think, wp_import does not handle WordPress custom post types.

     

    #7467
    Avatar photoeevee

    Had the same problem, based on @Ben S.’s post, I guessed the problem was down to not having titles on a few of my WP posts.

    So I went through my WP posts, added titles where there were none, re-exported, started a new Publii blog & voila, my posts appeared.

    #7521
    Avatar photojplummer

    I’m having the same problem, but I’ve looked at the SQLite db and just one post is missing a title; would that prevent all of them from appearing gin Publii’s posts section?

    UPDATE: Yes, that was it. The post in error was also missing a pub date. Repairing this one row made all the posts appear.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.