Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 1: Informative only. Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script.
  • 2: Warning. Run-time warnings (non-fatal errors). Execution of the script is not halted.
  • 3: Error.
  • 4: Major issue (crash)!. Fatal run-time errors. These indicate errors that cannot be recovered from, such as a memory allocation problem. The execution of the script is halted.

These explanations are the official ones from the PHP manual. Read more: http://www.php.net/manual/en/errorfunc.constants.php.These

Logs be e-mail

The error levels also serve as values for the "Logs by e-mail" feature.
PrestaShop adds one last value, 5, which indicates that the administrator does not want to receive any notification, either for minor or major errors.

The error logging tool enables you to receive a an e-mail notification when an error occuroccurs. Notifications are sent to the shop owner's e-mail address, and you can configure the degree of importance at which you should start receiving such e-mails: use

  • "1" if you want to know about everything, even the tiniest information

...

  • .
  • "3" if you only want to know about issues (errors and major issues)

...

  • .
  • "4" if you only want to keep the major issues.

...

  • "5" is the default, meaning that no notification is sent.