A tedious problem with importing xml file from one wordpress blog to another
I decided to move my blog from wordpress.com to my own domain. Well I’ve gotten a domain and hosting. I’ve also gotten wordpress blog engine zip and upload it to my server. It’s obvious that I’ve made some searches to find information how to deploy it and I found a postabout it. Well I’ve followed it and all was OK. And the real problem has came when I’ve tried to import to my new blog an XML file with data from my current blog. What have I gotten? A tedious exception - “The uploaded file could not be moved to <path bla-bla>“. As a good man I’ve gotten back to the documentation an I saw that I should permit chmod 755. Great I’ve done it and “Bum!” the same exception has occurred. After checking all configuration again I searched for a solution and Oh, God I found one. But what have made me so nervous? The documentation! It says
IMPORTANT: Make sure the wp02 directory and all directories under it have 755 permissions (chmod 755 wp02). Most web hosts will have 755 permissions on directories by default, but you should check if you want to avoid problems. The scripts within the directories should have 644 permissions (only in rare cases will you need to modify a script’s permissions).
May be it is OK but what I found as a solution at wordpress.org forums says
we encountered the same problem..
The problem is not in the wordpress code..
Its in the server, your hosting site. One hosting site that i know that this problem would occur is the Media Temple.What you should do is to manually create the directory.
/home/username/public_html/blogtitle/wp-content/uploads/2008/02.
first is remove or rename the 2008 directory then set the CHMOD to 777.
Then create the 01-12 directories then set the CHMOD to 777.This problem would actually occur because of the security of the hosting site. Wordpress create directories in ur uploads folder but the CHMOD cannot be change even if you will manually change the permission. When you will view the uploads directory on your ftp, u can see the directory created but the thing is its just like a ghost. ITS NOT REALLY THERE!!!…
My question is why do not make things easier? Why do not update wordpress engine deployment sample with this information and everything will be OK.
In any case I’m angry but I love wordpress blog engine :)!
July 10th, 2008 at 5:17 pm
[...] It is clear that before to start I download the wordpress engine zip. The next step was to find some more information how to this and I got sample installation doc. I started the deployment and all went nice except of a problem with importing XML file with data (see my old post). [...]