Coding Robots Forums

Coding Robots Forums » BlogJet » Troubleshooting

Error receiving more than 200 posts from server

(5 posts)
  • Started 1 year ago by LMAshton
  • Latest reply from LMAshton
  • This topic is not a support question

Tags:

  1. LMAshton
    Member

    - BlogJet 2.0.0.10
    - Windows XP
    - Wordpress 2.8.1
    - http://srilanka.laurieashton.com (~1400 posts) + http://lmashton.com (720 posts)

    I'm new to using BlogJet and haven't decided if I'm going to continue using it or not. Whether I do or not depends on whether this following problem can be fixed.

    I have four blogs. Two have no problems receiving posts from my server, but they also have less than 200 posts each. The two blogs I have problems with are listed above.

    If I try to receive 200 or fewer posts, it retrieves those with no problem. If I try to receive more than that, I get the following error message:

    ----
    Invalid payroad received from xml-rpc server.
    Please check your Host and Page settings for this account.

    Server said:
    "
    <b>Fatal error</b>: Allowed memory size of 33554432 bytes
    exhausted (tried to allocate 1934460 byes) in
    <b>/home/laurieas/public_html/srilanka/wp-includes/class-ICR.php</b>
    on line <b>335</b>
    ..."(EGetRecentError)
    -----
    Which looks to me like it means doing this sync is trying to take up more memory than my server allows. Since I can't change how much memory I'm allocated, either I need to fix something or I need to find another way to import all my blog entries in.

    Suggestions?

    Posted 1 year ago #
  2. Dmitry Chestnykh
    Key Master

    MetaWeblog API, which WordPress uses to send posts to BlogJet, sends all posts in one request. If you have a lot of entries for this request, they are all sent as one big XML document. It seems like WordPress generates this response in memory, that is why you're getting out of memory errors from PHP.

    This is an issue with WordPress. You can submit a bug report using the following instructions: http://codex.wordpress.org/Submitting_Bugs

    If you want to export posts, WordPress has a better way to do it without using the API -- in WP admin panel use Tools > Export.

    Posted 1 year ago #
  3. LMAshton
    Member

    Thank you for your response.

    Submitting a bug report will likely result in a fix in a matter of weeks at best, most likely months, I would imagine. That doesn't solve anything in the short term for me.

    Exporting my posts out of Wordpress isn't the issue - it's importing them into BlogJet. Is there a way to do that?

    Posted 1 year ago #
  4. Dmitry Chestnykh
    Key Master

    Unfortunately, no, since there is no other ways to get posts via API.

    Posted 1 year ago #
  5. LMAshton
    Member

    I'm providing this solution in the event that it helps another blogger in a similar situation.

    I've solved this problem by exporting my entire Wordpress blog. Then set up a virtual server, installed Wordpress to that virtual server, and imported the entire Wordpress blog. Then I changed the hosts file to point the URL for that blog to the virtual server. Then retrieved the entire blog history of posts.

    I did that for both of my larger blogs. It's a pain in the butt to do, so I would rather not have to do it again, but it works.

    Posted 1 year ago #

Reply

You must log in to post.

Our Software