Joomla 3.1 Error Reporting

One of Joomla 3.0’s Server Settings is Error Reporting. Jooma gives the follow description for this setting:

What is Error Reporting?

Error Reporting
Select the appropriate level of reporting from the drop down list. See the Help Screen for full details.

If you click the help button on the page, it unfortunately does not give any information yet as this time.

What options are available for Error Reporting?

The following options are available for Error Reporting:

  1. System Default
  2. None
  3. Simple
  4. Maximum
  5. Development

Our Testing of the Error Reporting Setting

To test the different options that are available for Error Reporting, we created a simple syntax error in the mod_login module by removing a ; from the PHP code. We then went through the various Error Reporting settings to see what type of error would be reported. Here are our findings:

System Default Parse error: syntax error, unexpected T_REQUIRE in /home/bradm/public_html/github2/modules/mod_login/mod_login.php on line 21
None
Simple Parse error: syntax error, unexpected T_REQUIRE in /home/bradm/public_html/github2/modules/mod_login/mod_login.php on line 21
Maximum Parse error: syntax error, unexpected T_REQUIRE in /home/bradm/public_html/github2/modules/mod_login/mod_login.php on line 21
Development Parse error: syntax error, unexpected T_REQUIRE in /home/bradm/public_html/github2/modules/mod_login/mod_login.php on line 21

As you can see in the table above, all settings showed the same error message, except the none setting. As the none setting implies, no error messages are shown on the screen.

To change the Joomla 3.0 Error Reporting Setting

  1. Log into your Joomla 3.0 Dashboard
  2. Click Global Configuration in the left menu
  3. In the tabbed menu, click the Server tab
  4. Find the Error Reporting setting under the Server Settings heading. Change the value as needed, and then click the Save button in the top left of the page.

Thoughts on “Joomla 3.1 Error Reporting

  • I have activated the Error Reporting to maximum but i get no Lin enumber wher to find the error.

    #0 syntax error, unexpected ‘text’ (T_STRING)

    is the only thing i got since the newest update an usibng php 7.0

     

    I can’t find a solution. Maybe you cna help me.

    Thank you

    • I suggest checking to see if the error names a file and line number. If so, check the line of code for double quotes. Sometimes these can cause parse error depending on the string. Sometimes it helps to switch to single quotes if that is the case.

Leave a Reply