search.php file not pointing where it should

That input needs a name attribute of s:

<input type="text" name="s" value="type your search" />  

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