Bug dans comments/comments.php [Résolu]
Avec un message "Fatal error"
| Avancement | ![]() |
| Workflow | Besoin d'aide |
| Statut | Une solution immédiate a été fournie |
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.
