Why when accessing some wordpress pages on my localhost setup do i get the localhost default page?

Shot in the dark here: have you tried to add /index.php to the end of the URL for the page, e.g. hit

http://127.0.0.1:80/wp-admin/index.php

instead of just

http://127.0.0.1:80/wp-admin/

Not necessarily a solution, but might narrow down the problem a bit if this fixes it for you.

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