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

yrocq’s picture

Did you try do raise upload_max_filesize in php.ini ?

doneinstyle’s picture

Um, 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"

doneinstyle’s picture

Never mind, I found the instructions here:
Increase Upload Limit

Rhino’s picture

My 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.

Rhino’s picture

Nevermind, setting the same setting in the htaccess file instead of php.ini (r rather, as well as) helped.

yrocq’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Brigadier’s picture

What 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.