WordPress.org

Ready to get started?Download WordPress

Forums

FG Joomla to WordPress
[resolved] Migration stops after importing categories (9 posts)

  1. gusfai
    Member
    Posted 2 years ago #

    After I configure the plugin and start importing, the plugin only imports categories and does nothing else, stops there. What should I do?

    I only see a message saying "[fgj2wp] 80 categories imported" and nothing else.

    I must say this is a huge database (almost 60,000 posts in the old joomla site), could that be the cause of the problem?

    thanks

    http://wordpress.org/extend/plugins/fg-joomla-to-wordpress/

  2. gusfai
    Member
    Posted 2 years ago #

    Ok, I see the error now: "Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1811 bytes) in D:\inetpub\ElDiaWeb2012\wp-content\plugins\fg-joomla-to-wordpress\fg-joomla-to-wordpress.php on line 497 "

  3. gusfai
    Member
    Posted 2 years ago #

    Please help me with this:

    1. I increased the memory limit from php.ini. I tried with 8000M, 8G and -1 (no limit).
    2. I restart the webserver
    3. I check my info.php file and see that the website takes the changes ok. The php.ini file is working.
    4. I run the script again, and I get the same error message: "Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1811 bytes"... it's even the same amount of memory (256MB) although I did change the php.ini file. What am I doing wrong?

    You can check the php info here: http://v2012.eldiadegualeguaychu.com.ar/info.php

  4. gusfai
    Member
    Posted 2 years ago #

    Ok... update. I added this:
    private function get_posts() {

    ini_set('memory_limit', '10000M');

    in addition to setting the memory_limit to 10000M from php.ini

    Seems to be working now...

  5. Kerfred
    Member
    Plugin Author

    Posted 2 years ago #

    You didn't need to do that. If you run the migration again, it continues where it stopped.
    I'm going to update the FAQ.

  6. gusfai
    Member
    Posted 2 years ago #

    But it didn't import ANY posts unless I did this. It just imported the categories.

    Also, now I'm seeing that some posts are imported duplicated (1 post in joomla becomes 2 in wordpress).

    If this works, you can say your tool works for 72.000 posts (rather than 15.000)

    Gustavo

  7. Kerfred
    Member
    Plugin Author

    Posted 2 years ago #

    gusfai, any news from your migration ?

  8. Kerfred
    Member
    Plugin Author

    Posted 2 years ago #

    The exhausted memory issue is fixed in version 1.3.0.

  9. gusfai
    Member
    Posted 2 years ago #

    Hello Kerfred!

    Yes, the migration went just fine! Thanks so much for your plugin.

    I ended up using version 1.3.0 but since I enabled 8G of RAM it was working with previous versions too.

    You can see the result at http://v2012.eldiadegualeguaychu.com.ar. This is a work in progress... the site is far from finished, we have to work on the design and functionality. But you can see that the 72,000 posts are there! It took about 2 hours to complete. There are a few posts that were imported twice, I don't know why, but you can see it by browsing the site. When we finish everything the site will go live at http://www.eldiadegualeguaychu.com.ar

    thanks again,

    Gustavo

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic