Preview returns 404 in theme [closed]

This is just a shot in the dark without knowing more like sMyles said. Try saving (flushing) your permalinks. If you have recently changed the structure of your URLs, simply by going to Settings > Permalinks and click Save Changes might resolve this issue.

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