luigifab.fr

The Sentry module for Maho

Contents (v3.0.1)

  1. Module presentation
    1. Description
    2. Access and configuration
    3. Compatible with OpenFileEditor
    4. Installation and uninstallation
  2. Module download

Don't forget that the present documentation is only about the latest version of the module.
Don't forget to read this page entirely.

🌟🌟🌟🌟🌟 by Michel,
on 01/04/2025
This module isn't premium, isn't ultimate, isn't pro, it doesn't contain a spyware or a nice ad, and it won't increase by 165% your ROI. It's just better than anything else you've seen anywhere else. It's a revolution!

Module presentation

Description

...

...

Access and configuration

Configuration available in System / Configuration / Developer / Sentry.

Compatible with OpenFileEditor

When OpenFileEditor browser extension is installed, when a PHP error trace is displayed, file paths can be clicked, to open them in your preferred file editor.

Installation and uninstallation

Run the following queries to update and delete old configuration values (to v2+):

sqlUPDATE core_config_data SET path = REPLACE(path, "/amg-sentry/", "/sentry/") WHERE path LIKE "%/amg-sentry/%";
UPDATE core_config_data SET path = REPLACE(path, "-", "_") WHERE path LIKE "%/sentry/%";
UPDATE core_config_data SET path = "dev/sentry/dsn_js_front" WHERE path LIKE "dev/sentry/dsn_js";
DELETE FROM core_config_data WHERE path LIKE "dev/sentry/php_errors";
DELETE FROM core_config_data WHERE path LIKE "dev/sentry/php_exceptions";
DELETE FROM core_config_data WHERE path LIKE "dev/sentry/ignore_error_control_operator";
DELETE FROM core_config_data WHERE path LIKE "dev/sentry/%" AND path NOT LIKE "dev/sentry/logger"
  AND path NOT LIKE "dev/sentry/dsn_js_front" AND scope_id != 0;

Nothing simpler with composer.
To get the key, don't stop reading :) ...

To install:
- install with composer
- apply maho.diff

To upgrade:
- revert maho.diff
- upgrade with composer
- apply maho.diff

After any upgrade of Maho, apply maho.diff again.

For uninstallation, having uninstalled the module, all that remains is to erase the configuration:

sqlDELETE FROM core_config_data WHERE path LIKE "dev/sentry/%";

Module download

Installation with composer: composer require luigifab/maho-sentry

Download of the latest version: maho-sentry-3.0.1.tar.gz
See also: github - composer - geany - phpstorm

3.0.1
Tested with Firefox 36/136, Chrome 32/109, Edge 109, Opera 19/95 on Maho 25.3.0 with PHP 8.4 and MariaDB 11.8.

If you like this module, take some of your time to improve the translations.