Bug dans comments/comments.php [Solved]
Avec un message "Fatal error"
Immediate solution has been providedSolution Manager: ThierryP
Issue description
Bonjour,
Je viens de détecter un bug dans comments/comments.php qui nous envoie la page "Fatal error: Class 'Layout_comments_as_daily' not found in /www/accar/comments/comments.php on line 508". En éditant ledit fichier, on a ceci lignes 505 à 508 :
// layout is defined in anchor } elseif(is_object($anchor) && $anchor->has_layout('boxesandarrows')) { include_once '../comments/layout_comments_as_boxesandarrows.php'; $layout =& new Layout_comments_as_daily();
Petite erreur, donc : il suffit de modifier la classe "Layout_comments_as_daily()" par "Layout_comments_as_boxesandarrows()". J'ai effectué la modif sur le fichier de mon site.
// layout is defined in anchor } elseif(is_object($anchor) && $anchor->has_layout('boxesandarrows')) { include_once '../comments/layout_comments_as_boxesandarrows.php'; $layout =& new Layout_comments_as_daily();
Petite erreur, donc : il suffit de modifier la classe "Layout_comments_as_daily()" par "Layout_comments_as_boxesandarrows()". J'ai effectué la modif sur le fichier de mon site.
Comments
ThierryP![]() from Nice, Drap Associate, 1236 posts | La solution et le patch se trouvent ici : Yacs 8.6beta30.31 : erreur layout Un annuaire propulsé par YACS - Skins pour Yacs : YordPress 5.3 - Bonbon Skin 1.3 - Totem 930 |
Rate this page
Posted by Hervé on Aug. 6, edited by Bernard on Aug. 6, (popular)
