Bonjour,
Je viens de passer en 15.4, automatiquement via l'admin, 2 petits Piwigos. L'un d'eux, et pas l'autre, affiche une erreur smarty sur la page comments.php, au motif que la taille des miniatures n'est pas définie (de ce que j'ai compris). Bootstrap darkroom a été également mis à jour.
Les fichiers comments.php et celui tpl comment-list de Bootstrap sont identiques sur les 2 sites.
Que dois-je vérifier, s'il vous plait ?
comments.php du site en 15.4 qui marche bien : https://blackland.legtux.org/comments.php (enfin la zone recherche est pas jolie ...)
Comments.php du site en erreur en 15.4: https://balades.comoni.org/comments.php
comments.php du site principal en 15.3 (avec un fork pour les titres et plus de style) : https://album.chauvigne.info/comments.php
Détail de l'erreur du site balades.comoni.org ... :
Piwigo a rencontré une erreur non récupérable
define_derivative missing width
#1 Template::func_define_derivative /homepages/18/d149996993/htdocs/photos/_data/templates_c/e5uiqm^f9d1543ea8dd73793b6b2acea9de426f1b0ab41e_0.file.comment_list.tpl.php(70)
#2 content_67b9b26333b510_22626120 /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_template_resource_base.php(123)
#3 Smarty_Template_Resource_Base::getRenderedTemplateCode /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_template_compiled.php(114)
#4 Smarty_Template_Compiled::render /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_internal_template.php(217)
#5 Smarty_Internal_Template::render /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_internal_template.php(386)
#6 Smarty_Internal_Template::_subTemplateRender /homepages/18/d149996993/htdocs/photos/_data/templates_c/e5uiqm^8a068fa751b98bd89008be393cb5a436fac097a1_0.file.comments.tpl.php(145)
#7 content_67b9b263307f55_33246488 /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_template_resource_base.php(123)
#8 Smarty_Template_Resource_Base::getRenderedTemplateCode /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_template_compiled.php(114)
#9 Smarty_Template_Compiled::render /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_internal_template.php(217)
#10 Smarty_Internal_Template::render /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(238)
#11 Smarty_Internal_TemplateBase::_execute /homepages/18/d149996993/htdocs/photos/include/smarty/libs/sysplugins/smarty_internal_templatebase.php(116)
#12 Smarty_Internal_TemplateBase::fetch /homepages/18/d149996993/htdocs/photos/include/template.class.php(486)
#13 Template::parse /homepages/18/d149996993/htdocs/photos/include/template.class.php(506)
#14 Template::pparse /homepages/18/d149996993/htdocs/photos/comments.php(545)
Hors ligne
Bonsoir Katryne,
Une petite question qui n'est peut-être pas liée au problème mais qui permet de savoir à quoi s'en tenir, y a-t-il des différences entre ces deux petits Piwigos : plugins installés et leurs versions, extensions plus ou moins ambitieuses, forks plus ou moins barbares, etc ?
Hors ligne
Hello Polo !
C'était pas les plugins, j'ai tout contrôlé, comparé ... mais 2 versions différentes de comments.tpl activées toutes les deux en Template extension et qui se battaient en duel.
Merci de m'avoir donné le courage de tout vérifier pas à pas.
Dernière modification par Katryne (Hier 21:42:14)
Hors ligne