Files & Databases

Viewing your error logs

When a page shows a 500 error or a blank screen, the error log usually explains why. Dirham A Day gives you a few ways to view logs.

In the panel: open Errors or Error Log to see the most recent server errors for your account, including the file and line number.

In File Manager: look for an error_log file in public_html or the relevant subfolder - PHP writes recent errors there. Open it in the editor and read the newest lines at the bottom.

Useful details you will find:

For WordPress, enable debug logging by setting define('WP_DEBUG', true); and define('WP_DEBUG_LOG', true); in wp-config.php; errors then collect in wp-content/debug.log. Turn this off on live sites once fixed. If a log entry is cryptic, copy the newest lines and send them to us - our 24/7 UAE team can interpret them: WhatsApp +971 58 553 6767.

Still need a hand? Our UAE-based team is here 24/7.

Related articles

Using the file manager in DirhamHostUploading files to your websiteCreating an FTP accountFTP and SFTP settings and portsConnecting to your site with FileZilla