I already set
post_max_size to 40M,and check in php.ini file to make sure this is 40M for each of them.
I already set wp-content,wp-admin,and wp-upload all to permission 777 by the following command
chmod 777 /var/www/html/wp-admin chmod 777 /var/www/html/wp-content chmod 777 /var/www/html/wp-upload
But I still get this error when I upload the theme in zip file from the wordpress dashboard.Then nothing happen.
"Are you sure you want to do this?".
One more thing,my themes in zip file is only 189mb,but when I upload in dashboard it take me about 2-3 hours to upload it,then show me the above error.This is make me frustrating.
What I still missing out?I have totally no idea.Please somebody give me some guidance about this.
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.