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
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.
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: 120.59.101.247, server: 128.199.148.238, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi:// unix:/var/run/php5-fpm.sock:”, host: “www.lionframes.com”, referrer: “http://www.lionframes.com/wp-admin/nav-menus.php”
Judging from the error message, you need to increase
upload_max_filesize
in your php settings. Run:And set:
You might also need to set it in your Nginx configuration as well. Run:
Find and edit the line starting with:
Finally restart both php and Nginx:
yes i am getting this error
Are you seeing any output in Nginx’s error logs?