Custom wp-content and upload directory

You can try to add another line in wp-config.php

define('UPLOADS', '$site_directory . '/wp-content/uploads');

You need to add this before require_once(ABSPATH.’wp-settings.php’);

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