Unable to import dummy data xml file into wordpress importer.

I have setup wordpress 3.9.1 on ubuntu 32 with nginx.

Whenever I import xml dummy data files, the files uploads till 70% and then starts to reupload and then finally gives up.

I have run the following commands to tackle permission problems

cd /usr/share/nginx/html/

sudo chown www-data:www-data * -R

sudo chown -R www-data:www-data /usr/share/nginx/html/
sudo usermod -a -G www-data myusername
sudo chmod -R g+rw /usr/share/nginx/html/

I am now able to install plugins but the above problem persists.

any help is appreciated

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The theme works fine on a shared hosting.

Thanks Andrews I did that it fixed the problem

I am also facing another problem. My homepage is working fine but all my pages show 404 error ? Can you help me with that ?

Thanks again

my error logs say this

2014/07/07 17:30:34 [error] 6385#0: *453 FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreac h() in /usr/share/nginx/html/wp-content/themes/brandon/functions/meta-page.php on line 174” while reading response header from up stream, client:, server:, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi:// unix:/var/run/php5-fpm.sock:”, host: “”, referrer: “

Judging from the error message, you need to increase upload_max_filesize in your php settings. Run:

nano /etc/php5/fpm/php.ini

And set:

upload_max_filesize = 100M
post_max_size = 100M

You might also need to set it in your Nginx configuration as well. Run:

nano /etc/nginx/nginx.conf

Find and edit the line starting with:

client_max_body_size 100M;

Finally restart both php and Nginx:

sudo service php5-fpm reload
sudo service nginx reload