C'est ma journée, le premier problème a été résolu simplement, alors pourquoi pas le second ?
Le voici : Je ne peux pas sélectionner un article (news) avec Spotlight 2.2 sur mon site Xoops 2.2.3, celui-ci est à chaque fois comme rejeté. Je m'explique, je clique sur l'article dans la liste déroulante, je clique sur OK, je retourne sur la page de sélection, et il y a toujours les trois petits points dans la liste de sélection, ce qui signifique que je n'ai rien de sélectionné. Par contre, je peux choisir l'image. Quand je mets le bloc en ligne, j'ai donc l'image, les autres news, mais pas l'actu principale. Ca fait la même chose avec le bloc wf-section.
J'ai plein de lignes en mode debug :
Citation :Notice [PHP]: Undefined variable: excludes in file modules/spotlight/blocks/kuht_head_news.php line 193
Warning [PHP]: in_array(): Wrong datatype for second argument in file modules/spotlight/blocks/kuht_head_news.php line 193
Notice [PHP]: Uninitialized string offset: 0 in file modules/spotlight/include/functions.php line 445
Notice [PHP]: Array to string conversion in file modules/spotlight/include/functions.php line 448
Notice [PHP]: Undefined variable: excludes in file modules/spotlight/blocks/kuht_head_news.php line 193
Warning [PHP]: in_array(): Wrong datatype for second argument in file modules/spotlight/blocks/kuht_head_news.php line 193
Notice [PHP]: Uninitialized string offset: 0 in file modules/spotlight/include/functions.php line 445
Notice [PHP]: Array to string conversion in file modules/spotlight/include/functions.php line 448
Notice [PHP]: Undefined variable: excludes in file modules/spotlight/blocks/kuht_head_news.php line 193
Warning [PHP]: in_array(): Wrong datatype for second argument in file modules/spotlight/blocks/kuht_head_news.php line 193
Notice [PHP]: Undefined variable: excludes in file modules/spotlight/blocks/kuht_head_news.php line 193
Warning [PHP]: in_array(): Wrong datatype for second argument in file modules/spotlight/blocks/kuht_head_news.php line 193
Notice [PHP]: Uninitialized string offset: 0 in file modules/spotlight/include/functions.php line 445
Notice [PHP]: Array to string conversion in file modules/spotlight/include/functions.php line 448
Notice [PHP]: Undefined variable: excludes in file modules/spotlight/blocks/kuht_head_news.php line 193
Warning [PHP]: in_array(): Wrong datatype for second argument in file modules/spotlight/blocks/kuht_head_news.php line 193
Notice [PHP]: Uninitialized string offset: 0 in file modules/spotlight/include/functions.php line 445
Notice [PHP]: Array to string conversion in file modules/spotlight/include/functions.php line 448
Ca, c'est ce qu'il y a sur la page du bloc Spotlight - News
Voilà, je pense que je vous ai tout dit du problème, je peux peut-être rajouter qu'en local ça marchait parfaitement. De même, avant j'étais en 2.2 (en ligne), ça ne fonctionnait pas non plus. J'ai aussi désinstallé, réinstallé, une version plus ancienne, etc., rien n'y a fait.
Voilà bis, donc je me vois maintenant contrainte de vous demander votre aide pour résoudre ce problème. Je vous en remercie d'avance.