Forums

Importing my posts & attachements >> what went wrong? (9 posts)

  1. Choklitfactory
    Member
    Posted 1 year ago #

    Hi,
    I have a WordPress.com blog that I just transferred to a WordPress.org one. So the new blog is ready to go but I am trying to import my old blog's files to the new one and the process seems to be at a standstill. I have to keep refreshing the page to keep the process going and even tried importing the file again. My old blog is over a year old so its a lot of data. How can I make this process smoother?

  2. James
    Happiness Engineer
    Posted 1 year ago #

    You may need to either increase PHP's maximum upload file size, memory limit, or maximum execution time. Though this FAQ is not directly linked to your problem, it does discuss how to alter all three of those settings. If neither works, try asking your hosting provider to increase those limits for you.

    http://codex.wordpress.org/FAQ_Working_with_WordPress#How_do_I_Import_a_WordPress_WXR_file_when_it_says_it_is_too_large_to_import.3F

  3. Choklitfactory
    Member
    Posted 1 year ago #

    Hi Macmanx

    In the document you sent over, it suggested I:

    Increase the memory limit via wp-config.php (e.g. define('WP_MEMORY_LIMIT', '64MB');)

    But in my wp-config.php document, there is no line for WP_MEMORY_LIMIT

    Am I supposed to create this line? It is almost a week later and the data still has not transferred over. Sometimes it works for a while, then is slows down immensely. Also, my XML file is only 3 MB, so its not too big...

    Any advice?

  4. James
    Happiness Engineer
    Posted 1 year ago #

    Yes, just add the line somewhere within the file. See this for more info:

    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    It's still possible that your account is running out of its allotted memory while processing, but more than likely your problem is the maximum upload file size, which many hosting providers cap at 2mb. The FAQ that I linked to earlier also has instructions for increasing that.

  5. Choklitfactory
    Member
    Posted 1 year ago #

    This is the error message I received when I attempted to increase the limit. Does this mean I have to get the host to change it?

    Parse error: syntax error, unexpected T_STRING in /mnt/w0102/d03/s48/b0303033/www/thechoklitfactory.com/wp-config.php on line 68

  6. James
    Happiness Engineer
    Posted 1 year ago #

    You may have placed it in the wrong spot. Try placing it right below define('DB_HOST', 'localhost');

  7. Choklitfactory
    Member
    Posted 1 year ago #

    Nope, I get the same error...very frustrating :(

  8. James
    Happiness Engineer
    Posted 1 year ago #

    Perhaps there is something wrong with the line? Try this one:

    define('WP_MEMORY_LIMIT', '64M');

    If that doesn't work, try one of the other methods. I really think it has less to do with available memory and more to do with the maximum upload file size.

  9. Choklitfactory
    Member
    Posted 1 year ago #

    I agree, I don't think I have reached the limit at all...but I will have to try again later tonight, I have to leave. Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic