async upload not working when not logged

I had to change /wp-admin/async-upload.php to /wp-admin/admin-ajax.php to make the hook work.

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