custom post type template

This might be completely off the mark, but have you tried regenerating your .htaccess file, after creating the new post type.

This usually results in some awkward behaviour.

To do this, simply go to settings->permalinks and hit “save”.

In terms of the template structure, everything does seem fine.

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