Hello. I bought a WP database that has several TV shows on it, and went to upload it using Tools->Import->Wordpress as I have in the past. I chose the file and hit the import button, and it acts like it is trying to upload it for about 5 minutes or so, then hangs up and gives an error message. It is a 15 MB file, but Wordpress says the maximum is 64 MB, so it should be fine. My question is this: if I am not able to import it through the dashboard, is there a way to upload it through the cpanel? If so, what folder do I upload it to? Any help would be greatly appreciated...
I am not getting any error message - it just sits there on the import screen and acts like it is uploading something. The progress bar goes all the way across, but when I go to the dashboard, nothing has been imported.
The default limit for uploading an XML import file via the Wordpress admin area is 2MB. Here’s a way to override that limit using htaccess. First, open Notepad (or a text editor) to create a file and name it “.htaccess†Upload this .htaccess file into the root directory of your server (where your site resides). Cut and paste the code below into the .htaccess file: #set max upload file size php_value upload_max_filesize xxM #set max post size php_value post_max_size xxM Change the “xx†variable to a number that meets your requirements. Hope this works!
Thank you mccomf, but unfortunately it is not a size issue. I think it has more to do with the xml file itself. This is the message that was received the last time I tried to import it: Invalid file Please upload a valid WXR (WordPress eXtended RSS) export file The guy that gave me the file downloaded it from Wordpress, so I am not sure why it is not working. If anyone has had this problem and/or knows how to resolve it, let me know. This is driving me crazy.