Problem with images when no dimension in the URL [closed]

There was problem in my .htaccess file, that was preventing direct image urls

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