Página 1 de 1

Error en Mod Avatar of poster on Index and Viewforum 1.2.1a

Publicado: 06 Feb 2013, 00:30
por infspirit
Buenas,

Siguiendo este tutorial [MODDB] Avatar of poster on Index and Viewforum 1.2.1a, me a surgido el siguiente problema.

A la hora de borrar un post de las categorias me sale un error de base de datos, como este

Imagen

Que puede ser?

Re: Error en Mod Avatar of poster on Index and Viewforum 1.2

Publicado: 06 Feb 2013, 00:46
por invi
Ese error es que falta la columna que menciona el error, se puede añadir a 'mano'.

Según leo install... hay unas consultas SQL, ¿las ejecutaste? porque parece ser que no, ya que te está comentando que falta 1 columna que precisamente en el SQL está.

Son estas...

Código: Seleccionar todo

  ALTER TABLE phpbb_forums ADD forum_last_poster_avatar VARCHAR( 255 ) COLLATE utf8_bin NOT NULL default '';
  ALTER TABLE phpbb_forums ADD forum_last_poster_avatar_type tinyint(2) NOT NULL default '0';
  ALTER TABLE phpbb_forums ADD forum_last_poster_avatar_width smallint(4) unsigned NOT NULL default '0';
  ALTER TABLE phpbb_forums ADD forum_last_poster_avatar_height smallint(4) unsigned NOT NULL default '0';
  
  ALTER TABLE phpbb_topics ADD topic_first_poster_avatar VARCHAR( 255 ) COLLATE utf8_bin NOT NULL default '';
  ALTER TABLE phpbb_topics ADD topic_first_poster_avatar_type tinyint(2) NOT NULL default '0';
  ALTER TABLE phpbb_topics ADD topic_first_poster_avatar_width smallint(4) unsigned NOT NULL default '0';
  ALTER TABLE phpbb_topics ADD topic_first_poster_avatar_height smallint(4) unsigned NOT NULL default '0';

  ALTER TABLE phpbb_topics ADD topic_last_poster_avatar VARCHAR( 255 ) COLLATE utf8_bin NOT NULL default '';
  ALTER TABLE phpbb_topics ADD topic_last_poster_avatar_type tinyint(2) NOT NULL default '0';
  ALTER TABLE phpbb_topics ADD topic_last_poster_avatar_width smallint(4) unsigned NOT NULL default '0';
  ALTER TABLE phpbb_topics ADD topic_last_poster_avatar_height smallint(4) unsigned NOT NULL default '0';

  INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_avatar_index', '1');


Re: Error en Mod Avatar of poster on Index and Viewforum 1.2

Publicado: 06 Feb 2013, 00:59
por infspirit
Estan insertadas, segui el tutorial paso a paso, de echo las imagenes salen

Re: Error en Mod Avatar of poster on Index and Viewforum 1.2

Publicado: 06 Feb 2013, 02:17
por Alorse
Creo que hiciste algo mal editando los archivos específicamente el includes/functions_posting.php, en ese archivo no debería haber ninguna consulta que pida un campo que empiece por topic_
Revisa todas las ediciones de ese archivo por favor.

Re: Error en Mod Avatar of poster on Index and Viewforum 1.2

Publicado: 06 Feb 2013, 02:53
por nextgen
Esos errores se deben a bugs del MOD.

https://www.phpbb.com/customise/db/mod/ ... u-t_102197

https://www.phpbb.com/community/viewtop ... #p13181295

Re: Error en Mod Avatar of poster on Index and Viewforum 1.2

Publicado: 06 Feb 2013, 21:00
por invi
Existe una versión nueva de ese MOD, asi que puedes solucionarlo probablemente actualizandolo.

Re: Error en Mod Avatar of poster on Index and Viewforum 1.2

Publicado: 10 Feb 2013, 20:07
por ThE KuKa
Si, parece ser que tiene varios BUGs como comenta nextgen, este esta en desarrollo (lo sigue otro autor).
https://www.phpbb.com/community/viewtop ... &t=2162268