On one of my sites a file is shown as 404 but the file IS there

See the Codex page on using AJAX in Plugins properly and use wp_localize_script to pass data from php to javascript.

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