added cSql:sqlFieldParam for field names
added controller and action to log error