WordPress problem uploading new media : File is empty. Please upload something more substantial

Be sure that all above mentioned php.ini values are valid on the wordpress root folder.

When you only apply these for /wp-content (and up) you get the above weirdness.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)