Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Reading logs and errors

How a learner finds out what went wrong on a study site - telling a permission page from a real error, the error reference, the log files in var/log and the log viewer, syntax checks for PHP and templates before you…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/students/reading-logs-and-errors.md

On this page

Reading logs and errors

Errors are part of learning. The sooner you can read them, the faster you learn. This page shows where Exponential writes what went wrong and how a learner uses it.

Contents

  1. Is it an error at all?
  2. The error page and its reference
  3. The log files
  4. The log viewer in the administration
  5. Check before you look
  6. A routine for any error
  7. From error to question

Is it an error at all?

Some pages look like errors but say that something is not allowed or not there (When something goes wrong):

The page saysIt means
The requested page could not be displayed. (1) or Your account does not have the proper privilegesYour role may not open this page
The requested page could not be displayed. (20)The address is wrong, or that part is not installed
Possible edit conflictA draft of the item exists already
A grayed-out buttonYou may not use it here or now

On your own study site as admin, the first one should not appear; for a test account it is often the expected result of a role exercise (project 9).

The error page and its reference

A real error shows a page such as Something went wrong on our side with a reference at the bottom. The error is already logged; the reference finds that moment in the logs (When something goes wrong, Finding an error by its reference).

Note the reference, the time, the address and what you did just before.

The log files

The logs are in var/log/ of the installation. The ones learners meet most:

FileWhat it holdsSource
var/log/error.logErrors; the first place to look after a white page or a 500Getting started
var/log/warning.logWarnings, for example about cachesCaches
var/log/setup.logThe progress of an installationGetting started
var/log/security.logSecurity events, for example demo mode linesDemo mode FAQ

On the command line, the last lines of a log:

tail -n 50 var/log/error.log

The log viewer in the administration

Setup > Log files shows the logs in the browser: choose a file, follow new lines as they are written, filter by level, search for a word such as an error reference, and open the Error digest for an overview. It needs the setup/logs policy; personal data such as IP addresses is masked by default (How do I read the log files?).

Check before you look

Many errors can be caught before you open the browser:

You changedCheckExpectedSource
A PHP filephp -l <file>No syntax errors detected in <file>Extensions
A templatephp bin/php/eztemplatecheck.php -s<siteaccess> <file> --allow-root-userTemplate file valid: <file>Templates and design
Classes of an extensionphp bin/php/checkclasses.php --quiet-ok --allow-root-userNo output when everything loadsExtensions
A settingphp bin/php/console exp:ini where <file/Block/Variable> <siteaccess>The value in effectUnderstanding siteaccesses and settings

Template path comments show which template wrote which markup (Templates and design).

A routine for any error

  1. Read the message. Copy it exactly into your study journal.
  2. Read the log. var/log/error.log, the newest lines.
  3. Undo the last change in your mind: what did you change just before? Most errors come from the last step.
  4. Run the checks above for the files you touched.
  5. Rule out caches (Understanding caches).
  6. Search the help for the message, then the issue trackers.
  7. Ask, with the facts you collected.

From error to question

A good question or bug report has: what you did, step by step; what you expected; what happened, with the exact message; and the environment (Exponential and PHP versions, the web server, the database). The help's Report an error page and php bin/php/console exp:info --plain --no-logo give you a summary of the installation that leaves out passwords, keys and server paths (When something goes wrong).

See Asking for help and study groups and Bugs you find while learning.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x