[wp-trac] [WordPress Trac] #18602: Media Library imported, but all items Unattached
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 10 15:14:08 UTC 2011
#18602: Media Library imported, but all items Unattached
-------------------------------+------------------------------
Reporter: awallin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Import | Version: 3.2.1
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by awallin):
I have now tried this with a local wordpress install. On this install
importing the entire 7.5Mb XML file does not timeout, and media library
items do get attached to their correct posts.
So the issue is that importing a 7.5Mb XML file which has 1.5Gb media
(about 11000 files in /wp-content/upload/) associated with it seems to
timeout, or result in "500 Internal Server error" on my main webhost.
Googling turns up a number of fixes such as this:
http://wordpress.org/support/topic/plugin-cp-import-tips-and-tricks-
avoiding-script-time-out
or this:
http://nick-hoffman.blogspot.com/2009/09/importing-large-wordpress-
blogs.html
but they require access to the php and/or apache configuration files on
the host, which I suspect most people will not have.
Thus it would be nice if wordpress-import/export could be made to work
correctly on sites where the user does not have access to php/apache
config-files and any large (>1Mb) XML-file will result in a timeout or 500
error.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18602#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list