Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
Hello,
Le plugin était officieux et tout petit jusqu'alors, il s'est désormais étoffé et apparaît maintenant sur dotaddict : http://plugins.dotaddict.org/dc2/details/errorlogger
Ce plugin détourne le gestionnaire d'erreur natif de PHP pour logger les erreurs dans un fichier et pour pouvoir les consulter à un endroit unique. Il permet notamment la mise au point de plugins et de thèmes, pour s'assurer qu'ils ne génèrent pas d'erreurs, même "cachées.
Au menu de cette nouvelle version (compatible dotclear 2.6 uniquement, nouvelle administration oblige) :
* Affichage des erreurs dans l'admin
* Support des tracebacks
* Mode "pompeux" qui affiche un warning dès lors qu'une erreur a été tracée
* Mode "silencieux" qui n'affiche pas l'erreur, mais la trace
Le bugtracker est ouvert sur la page bitbucket du plugin : https://bitbucket.org/dsls/errorlogger/ … tatus=open
Dyslexics have more fnu!
Hors ligne
Testé sur la version 2.6-RC-r2473
Wamp - PHP: 5.3.13
Installation : ok
Paramétrage: ok
Détection erreurs: ok
Exemple détection avec le plug aboutTheAuthor:
NOTICE (s) plus détaillées que l'affichage erreurs php, lors de l'exécution du plug.
Sympa pour déboguer ;-)
Dernière version stable Dotclear sur wampserver et chez ovh
Versions testing & unstable en local
https
php: 7.4 - 8 +
Hors ligne
Apparemment (à vérifier)
quand des erreurs sont détectées,
si on clique dans le menu 'voir le log des erreurs'
le même menu s'affiche sous le premier
(doublon d'affichage ?)
Dernière modification par nanart (2013-10-22 16:45:10)
Dernière version stable Dotclear sur wampserver et chez ovh
Versions testing & unstable en local
https
php: 7.4 - 8 +
Hors ligne
Pas vraiment...
L'affichage "double" est aussi généré dans la gestion des plugs, par ex après maj ou instal:
ton message
le message de Dc
ton message...
Je me demande si cela n'est pas dû au fait que tu l'installes dans une <div> ?
Pour exemple les messages d'alertes de dc ne me semblent pas être pas dans des <div>
Peut-être voir avec Kozlika comment afficher un message d'alerte ?
Dernière version stable Dotclear sur wampserver et chez ovh
Versions testing & unstable en local
https
php: 7.4 - 8 +
Hors ligne
En fait, je crois que ces doublons apparaissent tant que l'on a pas cliqué sur acquitté.
( L'alerte affichée après 'acquitter' ne me semble pas être sous <div> s'affiche correctement, à première vue)
Dernière version stable Dotclear sur wampserver et chez ovh
Versions testing & unstable en local
https
php: 7.4 - 8 +
Hors ligne
En fait c'est pas facile à gérer : errorlogger capture au plus tôt l'erreur et affiche le warning dès que possible. Seulement, quand ce warning n'est pas consommé (il est en session), il est conservé jusqu'à l'affichage de la page suivante où il ajoute encore son message. Une évolution des notifications dotclear est à envisager si on veut éviter la redondance des messages...
Dyslexics have more fnu!
Hors ligne
Finalement, j'ai triché, la 0.5.5 devrait résoudre définitivement les soucis de doublons :)
http://www.morefnu.org/public/archives/ … -0.5.5.zip et bientôt sur DA :)
Dyslexics have more fnu!
Hors ligne
Finalement, j'ai triché, la 0.5.5 devrait résoudre définitivement les soucis de doublons :)
http://www.morefnu.org/public/archives/ … -0.5.5.zip et bientôt sur DA :)
Apparemment, à première vue, ça semble ok
avec la version DA chargée sur un blog remis à jour à la main (RAZ du blog)
Dernière modification par nanart (2013-10-23 17:01:50)
Dernière version stable Dotclear sur wampserver et chez ovh
Versions testing & unstable en local
https
php: 7.4 - 8 +
Hors ligne
Je viens seulement de remarquer :
dans la colonne 'Date' des logs d'erreurs, on a seulement l'heure et pas la date -jour:mois:an hh:mm:ss
Bref, ce que semble ne contenir que le fichier errors.txt
Dernière version stable Dotclear sur wampserver et chez ovh
Versions testing & unstable en local
https
php: 7.4 - 8 +
Hors ligne
Je viens seulement de remarquer :
dans la colonne 'Date' des logs d'erreurs, on a seulement l'heure et pas la date -jour:mois:an hh:mm:ss
Bref, ce que semble ne contenir que le fichier errors.txt
Merci pour ce feedback, la prochaine version affichera aussi la date :)
Dyslexics have more fnu!
Hors ligne
Salut,
https://www.brol.info/mediaplayer/1748
NOTICE /homepages/15/d258054173/htdocs/labodc2/all-blogs/plugins/errorlogger/index.php:88 Undefined offset: 8192 8 /plugin.php?p=errorlogger
Trace d'exécution
[/homepages/15/d258054173/htdocs/labodc2/dotclear/admin/plugin.php:42] : ::include
est apparu avec php 7.x je crois bien
Une idée pour corriger le problème ?
Merci
Hors ligne
Bonjour
J'ai une erreur 500 sur la partie publique du blog quand j'active le plugin, dans sa version 0.7.1. La partie administration est toujours accessible et tout revient à la normal en désactivant le plugin.
Est-ce qu'il est compatible avec Dotclear 2.23 ? D'après sa page GitHub, oui.
Le blog est une installation neuve directement en 2.23.1 et passage en version "testing" dès son installation.
Il est visible en suivant ce lien : https://memo.feuilledethe.fr/ et prévu pour pouvoir faire tous les tests nécessaires (à part casser la base de données).
Je suis en PHP 7.4 chez OVH et DC version 2.23.1-p20220813.0959
Tenir debout est rôle court et suffisant.
Dotclear multiblog 2.23.1 installé sur un serveur mutualisé de OVH
https://mamot.fr/@Feuilledethe / https://feuilledethe.fr/Blog/
Hors ligne
J'ai récupéré le fichier d'erreurs de Errorlogger :
Et là, en supprimant le plugin Notifications, tout à l'air de fonctionner normalement.
2022-09-28 16:49:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'refresh_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 58)
2022-09-28 16:49:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'display_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 59)
2022-09-28 16:49:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'sticky' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 60)
2022-09-28 16:49:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'position' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 61)
2022-09-28 16:49:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'disabled_components' of non-object (file : /~/plugins/notifications/inc/class.notifications.php, 45)
2022-09-28 16:49:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'enable' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 82)
2022-09-28 16:50:08 [ NOTICE] URL: /admin/index.php
Trying to get property 'refresh_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 58)
2022-09-28 16:50:08 [ NOTICE] URL: /admin/index.php
Trying to get property 'display_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 59)
2022-09-28 16:50:08 [ NOTICE] URL: /admin/index.php
Trying to get property 'sticky' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 60)
2022-09-28 16:50:08 [ NOTICE] URL: /admin/index.php
Trying to get property 'position' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 61)
2022-09-28 16:50:08 [ NOTICE] URL: /admin/index.php
Trying to get property 'disabled_components' of non-object (file : /~/plugins/notifications/inc/class.notifications.php, 45)
2022-09-28 16:50:08 [ NOTICE] URL: /admin/index.php
Trying to get property 'enable' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 82)
2022-09-28 16:50:14 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'refresh_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 58)
2022-09-28 16:50:14 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'display_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 59)
2022-09-28 16:50:14 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'sticky' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 60)
2022-09-28 16:50:14 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'position' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 61)
2022-09-28 16:50:14 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'disabled_components' of non-object (file : /~/plugins/notifications/inc/class.notifications.php, 45)
2022-09-28 16:50:14 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'enable' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 82)
2022-09-28 16:51:39 [ NOTICE] URL: /admin/index.php
Trying to get property 'refresh_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 58)
2022-09-28 16:51:39 [ NOTICE] URL: /admin/index.php
Trying to get property 'display_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 59)
2022-09-28 16:51:39 [ NOTICE] URL: /admin/index.php
Trying to get property 'sticky' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 60)
2022-09-28 16:51:39 [ NOTICE] URL: /admin/index.php
Trying to get property 'position' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 61)
2022-09-28 16:51:39 [ NOTICE] URL: /admin/index.php
Trying to get property 'disabled_components' of non-object (file : /~/plugins/notifications/inc/class.notifications.php, 45)
2022-09-28 16:51:39 [ NOTICE] URL: /admin/index.php
Trying to get property 'enable' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 82)
2022-09-28 17:07:25 [ NOTICE] URL: /admin/index.php
Trying to get property 'refresh_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 58)
2022-09-28 17:07:25 [ NOTICE] URL: /admin/index.php
Trying to get property 'display_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 59)
2022-09-28 17:07:25 [ NOTICE] URL: /admin/index.php
Trying to get property 'sticky' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 60)
2022-09-28 17:07:25 [ NOTICE] URL: /admin/index.php
Trying to get property 'position' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 61)
2022-09-28 17:07:25 [ NOTICE] URL: /admin/index.php
Trying to get property 'disabled_components' of non-object (file : /~/plugins/notifications/inc/class.notifications.php, 45)
2022-09-28 17:07:25 [ NOTICE] URL: /admin/index.php
Trying to get property 'enable' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 82)
2022-09-28 17:07:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'refresh_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 58)
2022-09-28 17:07:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'display_time' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 59)
2022-09-28 17:07:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'sticky' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 60)
2022-09-28 17:07:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'position' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 61)
2022-09-28 17:07:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'disabled_components' of non-object (file : /~/plugins/notifications/inc/class.notifications.php, 45)
2022-09-28 17:07:46 [ NOTICE] URL: /admin/plugin.php?p=errorlogger
Trying to get property 'enable' of non-object (file : /~/plugins/notifications/inc/class.notifications.behaviors.php, 82)
Tenir debout est rôle court et suffisant.
Dotclear multiblog 2.23.1 installé sur un serveur mutualisé de OVH
https://mamot.fr/@Feuilledethe / https://feuilledethe.fr/Blog/
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).