Forums

MAX_FILE_SIZE (6 posts)

  1. coloneldax2005
    Member
    Posted 2 years ago #

    When I try to import a wordpress.com blogroll into wordpres.org, wordpress says: "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form."

    My wordpress.2010-01-17.xml file is about 80KB..
    My host is windows based, I have admin..

    When I import via "Specify an OPML URL:" it says success, but my posts are not imported..

    original
    http://coloneldax2005.wordpress.com/

    new:
    http://peace18.com/

  2. quinze
    Member
    Posted 2 years ago #

    Edit wp-admin/import/opml.php

    Modify line 42 by replacing the value=30000 by something more in line with the size of your OPML file

    <input type="hidden" name="MAX_FILE_SIZE" value="30000" />

    Save your file, reload your import page.

  3. coloneldax2005
    Member
    Posted 2 years ago #

    solution (to this problem at least):
    edit:
    /wp-admin/import/opml.php

    from:
    name="MAX_FILE_SIZE" value="30000"

    to:
    name="MAX_FILE_SIZE" value="100000"

    the whole thread, and who helped me:
    http://vark.com/t/0fd8f2

    James S.

  4. coloneldax2005
    Member
    Posted 2 years ago #

    oh, thanks quinze. Didn't see your post Happened to find info through vark.com thanks much anyway..

  5. coloneldax2005
    Member
    Posted 2 years ago #

    now I have a new problem:
    it says: "Inserted 0 links into category 2. All done!" but: I have 23 posts that do not show up!

    original: http://coloneldax2005.wordpress.com/

    new: http://peace18.com/

    As you can see, it didn't import the data. Confusing. what to do now?..

    any ideas quinze?

  6. coloneldax2005
    Member
    Posted 2 years ago #

    got it.
    I was importing Blogroll, and I needed WordPress

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.