Code : Tout sélectionner
if ( ($this->attr = $cache->get('_attr')) === false )
{
Code : Tout sélectionner
// if ( ($this->attr = $cache->get('_attr')) === false )
// {
Code : Tout sélectionner
$cache->put('_attr', $this->attr);
}
Code : Tout sélectionner
// $cache->put('_attr', $this->attr);
// }
Code : Tout sélectionner
INSERT INTO phpbb_topics_attr (attr_id, attr_type, attr_name, left_id, right_id, attr_img, attr_date, attr_colour, attr_user_colour, attr_desc, attr_auths) VALUES(1, 0, 'QTE_SOLVED', 1, 2, '', 'j/m', '', 0, '', '[{"forums_ids":[],"groups_ids":[],"author":false}]');
ABDev a écrit :Voilà :Code : Tout sélectionner
INSERT INTO phpbb_topics_attr (attr_id, attr_type, attr_name, left_id, right_id, attr_img, attr_date, attr_colour, attr_user_colour, attr_desc, attr_auths) VALUES(1, 0, 'QTE_SOLVED', 1, 2, '', 'j/m', '', 0, '', '[{"forums_ids":[],"groups_ids":[],"author":false}]');
Zoddo a écrit :Bonjour,
Non, pas de modification à faire dans phpBB, c'est déjà gérer nativement (le préfixe des noms de table est stocké dans le fichier config.php).
ABDev a écrit :Ce que vous demandez, c'est la présentation par défaut, donc vous vous êtes planté dans la phase d'installation sur le fichier viewforum_body.html de votre style.
Code : Tout sélectionner
MODULE_NOT_ACCESS
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/functions_module.php
LINE: 439
CALL: trigger_error()
FILE: [ROOT]/adm/index.php
LINE: 79
CALL: p_master->load_active()
Code : Tout sélectionner
SQL ERROR [ mysql4 ]
Unknown column 'topic_attr_id' in 'field list' [1054]
SQL
SELECT topic_attr_id, topic_attr_user, topic_attr_time, topic_id, COUNT(post_id) AS num_posts FROM phpbb3_posts WHERE poster_id = 4 AND post_postcount = 1 AND (post_approved = 1 OR forum_id IN (2, 3, 4, 5, 7, 8, 9, 11, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 31, 32, 33, 36, 37, 39, 40, 41, 43, 44, 46, 49, 50, 52, 54, 56, 57, 58, 60, 61, 62, 63, 64, 65, 67, 69, 70, 72, 74, 76, 77, 78, 79, 80, 81, 95, 96, 98, 99, 100, 101, 102, 103, 104, 107, 108, 109, 110, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 128, 129, 136, 145, 146, 147, 148, 149, 150, 152, 153, 154, 165, 174, 177, 179, 180, 181, 186, 187, 189, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200)) GROUP BY topic_id ORDER BY num_posts DESC LIMIT 1
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()
FILE: [ROOT]/includes/db/mysql.php
LINE: 193
CALL: dbal->sql_error()
FILE: [ROOT]/includes/db/mysql.php
LINE: 240
CALL: dbal_mysql->sql_query()
FILE: [ROOT]/includes/db/dbal.php
LINE: 170
CALL: dbal_mysql->_sql_query_limit()
FILE: [ROOT]/includes/functions_display.php
LINE: 1199
CALL: dbal->sql_query_limit()
FILE: [ROOT]/memberlist.php
LINE: 585
CALL: display_user_activity()