Error 500 ONLY in dashboard main page. How to fix it?

I discovered it was a problem with file permissions.

This article on Smashing Magazine is helpful to understand how to set up correct permissions.

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