Página 1 de 1

Avatar of poster on Index and Viewforum error al eliminar

Publicado: 08 Nov 2011, 01:51
por Makoto
Error al eliminar un mensaje

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>
al buscar $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

Re: Avatar of poster on Index and Viewforum error al eliminar

Publicado: 26 Mar 2016, 00:34
por chicosandro2004
tengo este error... alguien sabe como eliminar el rastro de ese mod... ya que lo elimine hace algun tiempo y el error continua.

Re: Avatar of poster on Index and Viewforum error al eliminar

Publicado: 08 May 2016, 13:09
por ThE KuKa
@chicosandro2004, no respondas a un tema del 2011 :mrgreen:

Abre un tema nuevo, leer las Normas antes de participar por favor.

Tema Cerrado.