• Resolved mmagnani

    (@mmagnani)


    Hello,

    I am importing more than 1500 posts from Joomla 1.5.26 to WordPress 3.5.1 with fgj2wp. It runs fine, but after the first 100 posts, it imports only 2 or 4 posts per execution, in about 5 seconds, showing the message “[fgj2wp] 0 categories imported”.

    Is this the expected behavior? If not, what can be done to make it import more posts (or all of them) per execution?

    Thank you!

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kerfred

    (@kerfred)

    It may come from the memory of your server. If you can do it, try to increase the memory_limit in php.ini.

    Thread Starter mmagnani

    (@mmagnani)

    Thanks!

    memory_limit = 256M

    Is this enough?

    Plugin Author Kerfred

    (@kerfred)

    I think it is enough. I have 128M and it worked well for 72 000 posts.
    Did you manage to do the import?

    Thread Starter mmagnani

    (@mmagnani)

    No, I mean yes, but with the same problem mentioned above.

    Are there any other PHP tweeks that could possibly help?

    For instance, I have:

    max_execution_time 90
    max_input_time 60
    memory_limit 256M
    output_buffering 4096

    Plugin Author Kerfred

    (@kerfred)

    In my computer, I have:
    max_execution_time 30
    max_input_time 60
    memory_limit 128M
    output_buffering 4096
    So your problem doesn’t come from these settings.

    Do you use safe_mode?

    Can you try to do the import in local? That means that you must have an Apache Webserver, PHP and MySQL on your computer.

    Thread Starter mmagnani

    (@mmagnani)

    No, safe_mode is off. Some more settings:

    PHP 5.2.17
    
    allow_call_time_pass_reference	OFF
    allow_url_fopen	ON
    allow_url_include	OFF
    display_errors	OFF
    max_execution_time	90
    post_max_size	8M
    register_globals	OFF
    safe_mode	OFF
    
    apache2handler
    
    Max Requests	Per Child: 4000 - Keep Alive: off - Max Per Connection: 100
    Timeouts	Connection: 120 - Keep-Alive: 15
    Virtual Server	Yes
    
    mysql
    
    mysql.connect_timeout	60

    Well, it would be possible to test locally, but how could that help me find the problem?

    Any other thoughts?

    Thank you!

    Plugin Author Kerfred

    (@kerfred)

    Can you send me your database so I’d try to reproduce your problem?
    My email: kerfred@gmail.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Imports only a few posts per execution’ is closed to new replies.