THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Bonjour à tous,

Je commencerais par remercier "Spip/Thelia" qui est un véritable régale, ainsi qu'une très bonne idée !

J'ai un problème avec ma connexion SPIP/THELIA, tout marche nickel, sauf ma connexion en Administrateur Spip "/ecrire/" je reçois une longue file d'erreurs :

Notice: Undefined offset: 0 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 1 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 2 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 3 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 4 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 5 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 6 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 7 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 8 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 9 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 10 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 11 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 12 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 13 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 14 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 0 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 1 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 2 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 3 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 4 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 5 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 6 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 7 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 8 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 9 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 10 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 11 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 12 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 13 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Undefined offset: 14 in /homez.90/realesta/www/ecrire/auth/sha256.inc.php on line 207

Notice: Constant _DEBUG_AUTORISER already defined in /homez.90/realesta/www/ecrire/inc/autoriser.php on line 18

Notice: Undefined index: editer_forums in /homez.90/realesta/www/plugins/auto/autorite/inc/autoriser.php on line 459

Notice: Undefined index: editer_signatures in /homez.90/realesta/www/plugins/auto/autorite/inc/autoriser.php on line 504

Notice: Undefined index: message_ok in /homez.90/realesta/www/plugins/auto/plugin-thelia/formulaires/login.php on line 230

Notice: Undefined index: filtre_compacte_head in /homez.90/realesta/www/ecrire/inc/filtres.php on line 43

Notice: Undefined index: filtre_compacte_head_dist in /homez.90/realesta/www/ecrire/inc/filtres.php on line 43

Notice: Undefined index: compacte_head in /homez.90/realesta/www/ecrire/inc/filtres.php on line 43

Heureusement, je peux cliquer tout en bas sur : "Vous êtes enregistré... par ici..." qui me renvoi sur mon administrateur, mais toutes ces erreurs ne sont pas jolie du tout à regarder pour certain rédacteur.

Merci d'avance,
Sylvain.

Offline


Jette un oeuil du côté du paramètre "error_reporting" dans le fichier php.ini


OpenStudio Toulouse

Offline


Merci de votre réponse,

Le site internet est hébergé sur un Mutualisé OVH, je ne pense pas avoir accès au php.ini. (ou alors il faudrait que je colle un error_reporting(1); sur mon fichier login.php ??)

J'ai vue des réponses sur des forums disant que si l'on remplace le "login.php" du "Plugin THELIA", par celui de "Spip", cela résout le problème.

Mais cela corrige effectivement les erreurs sur la connexion administrateur Spip, mais cela m'affiche du coup de nouvelle erreurs sur la page de connexion THELIA Publique.

Si vous avez des idées,
Merci d'avance.
Sylvain.

Offline


Ce n'est pas des erreurs, mais des messages destinés plutôt aux développeurs, qui apparaissent à cause d'une valeur trop restrictive du paramètre error_reporting.

Regarde donc dans le fichier SPIP inc_version.php la valeur utilisée en paramètre de la fonction error_reporting. Ce doit être:

error_reporting(E_ALL ^ E_NOTICE); (spip 1.9)

ou

define('SPIP_ERREUR_REPORT', E_ALL ^ E_NOTICE ^ E_DEPRECATED); (spip 2)


OpenStudio Toulouse

Offline


Ok merci, J'ai donc rajouté la ligne :

error_reporting( E_ALL ^ E_NOTICE ^ E_DEPRECATED);

Sur le fichier "sha256.inc.php"
C'est surement un peu bourrin mais ça marche nickel.

Encore merci de ton aide.

Offline


luc255 wrote:

Ok merci, J'ai donc rajouté la ligne :

error_reporting( E_ALL ^ E_NOTICE ^ E_DEPRECATED);

Sur le fichier "sha256.inc.php"
C'est surement un peu bourrin mais ça marche nickel.

Encore merci de ton aide.

J'ai fait pareil après avoir testé plein de tucs et cela fonctionne c'est donc encore d'actualité les autres moyens pas sur ... dans tous les cas merci.

P.S. J'ai pas accès au php.ini


Ce qui est fait n'est plus à faire ;-)