WordPress.org

Ready to get started?Download WordPress

Forums

Import page is blank (3 posts)

  1. Cowboy_X
    Member
    Posted 3 years ago #

    Clicked on Tools / Import in the admin sidebar, and chose WordPress (this error exists for all options on the page, however).

    This link led to http://mydomain.com/wp-admin/admin.php?import=wordpress

    The correct link is http://mydomain.com/wp-admin/import.php?import=wordpress

  2. Cowboy_X
    Member
    Posted 3 years ago #

    ... and the "action" on the upload form also leads to the incorrect address, making an import impossible

  3. Cowboy_X
    Member
    Posted 3 years ago #

    I was able to fix this by editing line 54 of /wp-admin/import.php to read
    $action = "<a href='import.php?import=$id' title='".wptexturize(strip_tags($data[1]))."'>{$data[0]}</a>";

    and line 56 of /wp-admin/import/wordpress.php to
    wp_import_upload_form("import.php?import=wordpress&step=1");

    presumably it would need to be altered in /wp-admin/import/*.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.