Strange Behavior of Page Template Dropdown

Here is another similar thread that have been resolved now..
Get name of the current template file
Take a look..

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