Spip 4 log base tables inconnues

Bonjour

l’installation est avec un préfixe différent de spip soit xxxx_nomdela table
j’ai fait la maj vers Spip 4
tout fonctionne mais dans les logs base.log les erreurs font référence à des tables inexistantes finissants par _liens et avec le préfixe spip

2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_rubriques_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_forum_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_groupes_mots_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_articles_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscribers_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscribinglists_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_formulaires_reponses_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_coordonnees_federations_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_depots_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_plugins_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_paquets_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_liens ›
2021-12-19 09:53:10 192.168.1.12 (pid 11050) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_articles_liens ›

dans spip.log c’est pareil

2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_articles_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_rubriques_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_forum_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_groupes_mots_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_articles_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscribers_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscribinglists_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_formulaires_reponses_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_coordonnees_federations_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_depots_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_plugins_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_paquets_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_liens ›
2021-12-19 10:11:31 192.168.1.12 (pid 10396) :Pri:ERREUR: Erreur mysql 1146

y a t’il une manip à faire ?
merci pour votre aide
Natacha

En fait c’est «tout à fait normal» (si on va par là !) : en gros à certains endroits on teste s’il existe une table SQL de liens un objet éditorial (article, rubrique, …). Ce qui n’est pas toujours le cas.

Mais on ne devrait pas mettre de logs ou d’erreurs dans ce cas là. Surtout, notre test de l’existence d’une table dans mysql n’est pas très correct (il génère une erreur mysql si la table n’existe pas : on pourrait largement faire mieux).

Bonjour Matthieu et merci

ou comment générer des kgs de logs …en plus ce n’est pas le bon préfixe
je l’ai redéclaré dans mes options mais rien y fait

bonnes fêtes de fin d’année
Natacha

J’ai fait un ticket du coup #4974 - Logs d’erreurs excessifs sur tables inconnues - spip - SPIP on GIT

Bonjour et merci Matthieu

bonnes fêtes de fin d’année