Getting 404 in the Javascript

I think this is not good idea – create many enter points. Open Web Inspector and check your URL which using in JS code.

But much better use the default admin_url( 'admin-ajax.php' ) to creates path which should be used in Java Script.

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