• Wednesday, February 25, 2026

Knowledge Base

How to View Error Logs in DirectAdmin

Accessing Your Error Logs

Error logs help you troubleshoot website problems and PHP errors.

Viewing Error Logs

  1. Log into DirectAdmin
  2. Click Error Log (under Your Account)
  3. Select the domain to view logs for

Types of Errors You'll See

  • PHP Errors - Syntax errors, undefined variables, etc.
  • Permission Errors - Files or folders with wrong permissions
  • Missing Files - 404 errors for files that don't exist
  • Module Errors - Issues with Apache modules

Common PHP Errors

  • Fatal error: Critical error that stops script execution
  • Parse error: Syntax error in your PHP code
  • Warning: Non-critical issue, script continues
  • Notice: Minor issue, usually safe to ignore

Viewing Logs via File Manager

Raw log files are located at:

domains/yourdomain.com/logs/error.log

Clearing Old Logs

Logs are automatically rotated, but you can clear them manually:

  1. Navigate to the logs folder
  2. Delete or empty the error.log file

Pro Tip

Enable WP_DEBUG in WordPress to see detailed error messages during development.