Avatar of poster on Index and Viewforum error al eliminar

Soporte de MODs para phpBB 3.0.x
Dudas sobre AutoMOD aquí por favor.
Cerrado
Avatar de Usuario
Makoto
Elite
Mensajes: 2929
Registrado: 10 Sep 2009, 23:44
Género:
Edad: 35

Avatar of poster on Index and Viewforum error al eliminar

#1

Mensaje 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
URL del foro: FIIS-UNAC
Versión phpBB: phpBB3 ( 3.1.5)
Extensiones Instaladas
SPOILER_SHOW
  • Add User 1.0.2
  • Auto Database Backup 1.1.0
  • Auto Groups 1.0.0
  • Avatars on Memberlist 1.0.3
  • Board Announcements 1.0.2
  • Board Rules 1.0.1
  • cBB Chat 1.1.1
  • Fancy Lazy Topics loader 2.1.5
  • Genders 1.0.0
  • Last Post Avatar
  • Log failed logins
  • Rank Post Styling
  • Share On 1.0.0
  • SiteSplat BBCore 2.1.1
  • Sortables Captcha 2.0.0
  • Topic Author 1.0.1
  • Upload Extensions 3.1.2-beta2
Plantilla(s) usada(s):
  • FLATBOOTS 2.0.1
Servidor: Dattatec[/size]

chicosandro2004
Observador/a
Mensajes: 38
Registrado: 11 Oct 2009, 05:43

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

#2

Mensaje 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.

Mis datos para soporte

Spoiler

URL: www.rompelo.cl
Estilo: quarto_asphalt_light
Extensiones instaladas: Advanced BBCode Box,Akismet Anti-Spam Extension,Board Announcements,Delete my registration,External Links Open in New Window,Genders,Hide Bots,mChat,Modern quote,Pages,Remove Subject from Replies,Share On,Simple mentions,Subir Imagen, User login redirect.
Versión de phpBB: 3.2.8
Versión de PHP: 5.6.39
Servidor: Dedicado


Avatar de Usuario
ThE KuKa
Administrador
Mensajes: 10374
Registrado: 04 Ene 2004, 19:27
Género:
Edad: 49

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

#3

Mensaje 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.

📌 Raul [ThE KuKa] en phpBB 📌
✅ Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
✅

Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación Imagen
:flag_es: phpBB España - En línea desde 2003 :heart:



Cerrado

Volver a “Soporte de MODs”