Error uploading image in Wordpress

0

I'm trying to upload an image to a site powered by Wordpress and the following error is occurring:

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 setting for post_max_size is less than upload_max_filesize in php.ini.

Has anyone ever gone through this? I already created a php.ini file in the root and reported

upload_max_filesize = 30M
post_max_size = 30M
max_execution_time = 300

and did not resolve

I checked that in cpanel the disk space is full, is that it?

    
asked by anonymous 27.02.2014 / 02:41

2 answers

2

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

27.02.2014 / 03:00
1

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

    
27.02.2014 / 02:59