Critical error on image display

Do you care about the admin restrictions for serving these files? Without seeing your exact error my guess would be that in ms-files.php, WordPress is not fully loaded at the point where is_super_admin() is called.

So again if you don’t care about this super admin check then you can modify .htaccess to serve the files directly…no need for ms-files.php at all!

RewriteCond %{REQUEST_URI} ^/files/(.*)
RewriteRule ^files/(.*) wp-content/uploads/$1 [L]

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