first of all: i'm a drupal newbie and not a native english speaker. :)
i just tried to import a 18,3 MB .xml file from a wordpress 2.5 installation (about 8000 posts, 3000 comments, 100 users) to drupal 5.7 but the wordpress import module doesn't seem to work for me.
1. downloaded wordpress.2008-05-05.xml (no errors in this file)
2. activated the wordpress import module (fresh drupal install)
3. opened admin/content/wordpress_import
4. selected wordpress.2008-05-05.xml
5. clicked 'next'
6. nothing happens.
there are no error messages, it just returns to admin/content/wordpress_import after three or four seconds.
i tried it again and again, increased memory_limit and max_execution_time in my .htaccess... still no success.
the module *does* work if i export a smaller xml file from another blog (about 8 MB, just for testing), but the 18 MB version can't be imported.
please help. :)
Comments
Comment #1
yrocq commentedDid you try do raise upload_max_filesize in php.ini ?
Comment #2
doneinstyle commentedUm, could you please tell me WHERE to put that php.ini? and also exactly what I put in that php.ini file in very specific language? I'd very much appreciate it.
I get an error that says "You must provide a WXR file." and the file I have browsed to is named "wordpress.2008-06-24.xml"
Comment #3
doneinstyle commentedNever mind, I found the instructions here:
Increase Upload Limit
Comment #4
Rhino commentedMy upload limit (in php.ini) is 28 M - my memory limit is 62 M - I have a 13 MB wp file that does exactly what porkcharsui describes, ie; nothing at all.
Comment #5
Rhino commentedNevermind, setting the same setting in the htaccess file instead of php.ini (r rather, as well as) helped.
Comment #6
yrocq commentedComment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
Brigadier commentedWhat I did to get around this was split the XML file up. My Wordpress Export module had an SQL query to get the posts, so I added a 'between' clause to the select, like "... WHERE ID IN ($postcats) AND ID BETWEEN 0 AND 50 ... ". Then I tweeked the range several times to get all my posts split across several XML files. I then imported each XML file separately.