Skip to content

concrete5 package to record all the PHP warnings (requires concrete5 8+)

License

Notifications You must be signed in to change notification settings

mlocati/warnings_log

Repository files navigation

WarningsLog

WarningsLog is a concrete5 package that collects PHP warnings (see a preview).

Features

  • Logs warnings even before the core database connection is initialized
  • Logs warnings even before concrete5 is installed
  • Group warnings by location, counting number of hits, first/last occurrence
  • Hide/show specific warnings
  • Sort warnings by location, error type, ...
  • Fast: everything is done via ajax calls

Requirements

  • concrete5 v8.0 beta3 or later
  • directory /application/src must be writable
  • pdo_sqlite PHP extension must be installed and enabled

Installation

  • git clone https://github.com/mlocati/warnings_log.git <path-to-concrete5>/packages/warnings_log
  • Install WarningsLog via the concrete5 dashboard or via the concrete/bin/concrete5 c5:package-install warnings_log CLI command

Log warnings even before concrete5 is installed

In order to log warnings that may occur during the installation of concrete5, you can execute this CLI command:

concrete/bin/concrete5 c5:config set \
   app.providers.core_whoops Application\Concrete\Error\Provider\WhoopsServiceProvider 

About

concrete5 package to record all the PHP warnings (requires concrete5 8+)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published