Unable to Upload Files

I figured out the issue.

Under Settings > Media there is a text field saying where to upload the files to, and it was the wrong directory. I just changed it to the right one and it worked.

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