me aparece este error
Código: Seleccionar todo
SQL ERROR [ mysqli ]
Unknown column 'topic_first_poster_avatar' in 'field list' [1054]
SQL
UPDATE phpbb_forums SET forum_posts = forum_posts - 1, forum_last_post_id = 9, forum_last_post_subject = 'Re: Prueba', forum_last_post_time = 1320527415, forum_last_poster_id = 2, forum_last_poster_colour = 'AA0000', forum_last_poster_name = 'Makoto', topic_first_poster_avatar = 'Galeria 02/avatar_140.png', topic_first_poster_avatar_type = 3, topic_first_poster_avatar_width = 120, topic_first_poster_avatar_height = 119, forum_last_poster_avatar = 'Galeria 02/avatar_140.png', forum_last_poster_avatar_type = 3, forum_last_poster_avatar_width = 120, forum_last_poster_avatar_height = 119 WHERE forum_id = 40
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/functions_posting.php
LINE: 1615
CALL: dbal_mysqli->sql_query()
FILE: posting.php
LINE: 1666
CALL: delete_post()
FILE: posting.php
LINE: 325
CALL: handle_post_delete()
el error viene de esta parte del install
Código: Seleccionar todo
<open src="includes/functions_posting.php">
<edit>
<find><![CDATA[ $sql_data[TOPICS_TABLE] = ']]></find>
<inline-edit>
<inline-find><![CDATA[$db->sql_escape($row['username'])) . "'";]]></inline-find>
<inline-action type="replace-with"><![CDATA[$db->sql_escape($row['username'])) . "', topic_first_poster_avatar = '" . $db->sql_escape($row['user_avatar']) . "', topic_first_poster_avatar_type = " . (int) $row['user_avatar_type'] . ', topic_first_poster_avatar_width = ' . (int) $row['user_avatar_width'] . ', topic_first_poster_avatar_height = ' . (int) $row['user_avatar_height'];]]></inline-action>
</inline-edit>
</edit>
$sql_data[TOPICS_TABLE] = '
encuentro 3 coincidencias
pero no encuentro en la linea
$db->sql_escape($row['username'])) . "'";
encuentro
$db->sql_escape($row['username'])) . "'";
en otra linea
agrego que el error solo sucede cuando quieres eliminar el ultimo mensaje
aunque aparesca dicho mensaje de error si se llega a eliminar el mensaje del tema pero el avatar en viewforum no se actualiza u_u
Mod Avatar of poster on Index and Viewforum