Removing action from template class

include TEMPLATEPATH."/inc/settings.php";

is your problem.

TEMPLATEPATH

is used by the parent theme

For child themes use

STYLESHEETPATH

so your code will be

include STYLESHEETPATH."/inc/settings.php";

Alternatively you can use

get_stylesheet_directory_uri().'/inc/settings.php'

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