Error while uploading image in Wordpress

Asked

Viewed 3,137 times

0

I am trying to upload an image on a site generated with Wordpress and is occurring the following error:

The file is empty. Upload something more substantial. This error may also have happened if uploads are disabled in your php.ini or if the definition of post_max_size is lower than that of upload_max_filesize in php.ini.

Has anyone gone through it? I’ve already created a php.ini file at the root and reported it to you

upload_max_filesize = 30M
post_max_size = 30M
max_execution_time = 300

and did not resolve

I found that on Cpanel the disk space is full, will that be? inserir a descrição da imagem aqui

2 answers

2

Surely it must be the disk space first try to reduce the disk space and if not solve try to create a simple php code that uploads to test if it is a server configuration that is giving this problem.

1

Give write permissions to the web server user in the folder wp-content/uploads/.

  • Friend, I applied 777 permissions and did not roll =/ I think it is even disk quota.

  • Now that I noticed the use of the quota. There is no way to decrease the use by emptying the temporary ones or something like?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.