Viewing PHP error log in Joomla
When troubleshooting Joomla, it is often necessary to view the PHP error log. This log records warnings, notices, and errors that occur during execution. On ruachost.com, you can use the Errorlog plugin to access these logs directly from the Joomla administrator interface.
Why View PHP Error Logs?
Section titled “Why View PHP Error Logs?”- Identify causes of blank pages or failed components.
- Debug extensions and templates.
- Report errors to technical support faster.
- Improve site stability by resolving recurring issues.
Steps to View PHP Error Logs in Joomla
Section titled “Steps to View PHP Error Logs in Joomla”Step 1: Install the Errorlog Plugin
Section titled “Step 1: Install the Errorlog Plugin”-
Log in to your Joomla site with an administrator account.
-
On the top menu bar, click Extensions → Manage → Install.
-
Select the Install from Web tab.
-
Search for Errorlog.
-
Click Install to add the plugin.
- If installation fails, download the plugin manually and upload it via the Upload Package File tab.
Step 2: Enable the Errorlog Plugin
Section titled “Step 2: Enable the Errorlog Plugin”- On the top menu bar, click Extensions → Plugins.
- Locate the System – Errorlog plugin.
- Change the status to Enabled.
- Save changes.
Step 3: Access Error Logs
Section titled “Step 3: Access Error Logs”-
Once enabled, the plugin displays the last 200 lines of errors from the PHP error log file (
error_log). -
The plugin scans two paths:
- Joomla root directory
/administratordirectory
-
Errors are shown in the Logs tab within Joomla admin.
Important Notes
Section titled “Important Notes”- Always back up your site before installing new plugins.
- The Errorlog plugin is for debugging and tracing errors, not for long‑term log storage.
- If logs are empty, ensure PHP error logging is enabled on your hosting account.
- For persistent issues, Contact Us with the error details