Página 1 de 1
Error al instalar profileviews102a
Publicado: 07 Nov 2011, 16:42
por uruguayito
Hola colegas,
estaba tratando de instalar el mod en cuestión:
http://www.phpbb.com/community/viewtopi ... &t=1369565
(permite saber qué usuarios han visitado el perfil de otros)
al ejecutar el instalador salta este error:
Error General
Index name 'phpbb3_profile_views_profile_user_id' on table 'phpbb3_profile_views' is too long. The maximum is 24 characters.
¿Tendrá algo que ver la versión de phpbb? (el mod dice que sirve para 3.0.6)
(yo lo había instalado en una versión anterior a 3.0.9 y no me había dado problemas)
mmm
Re: Error al instalar profileviews102a
Publicado: 07 Nov 2011, 16:54
por nextgen
Nose se si esto te sirva pero.
Abre:
root/includes/db/db_tools.php
Busca:
Código: Seleccionar todo
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config)
if (strlen($table_name . $index_name) - strlen($table_prefix) > 24)
{
$max_length = $table_prefix + 24;
trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR);
}
Reemplazar por:
Código: Seleccionar todo
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config)
if (strlen($table_name . $index_name) - strlen($table_prefix) > 99)
{
$max_length = $table_prefix + 99;
trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR);
}
Despúes de haber ejecutado el instalador, revertir el cambio hecho.
Re: Error al instalar profileviews102a
Publicado: 07 Nov 2011, 17:03
por uruguayito
gracias por responder nextgen
hice lo que mencionas.
pero da el mismo error
Re: Error al instalar profileviews102a
Publicado: 07 Nov 2011, 17:07
por nextgen
Ok, mira si te sirve esto, es un fix por lo que veo.
General Error
Re: Error al instalar profileviews102a
Publicado: 07 Nov 2011, 17:13
por Alorse
Para la próxima usar la búsqueda señores
No puedo instalar Profile Views List 
Re: Error al instalar profileviews102a
Publicado: 07 Nov 2011, 17:14
por nextgen
Alorse escribió:Para la próxima usar la búsqueda señores No puedo instalar Profile Views List

nextgen escribió:Nose se si esto te sirva pero.
Abre:
root/includes/db/db_tools.php
Busca:
Código: Seleccionar todo
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config)
if (strlen($table_name . $index_name) - strlen($table_prefix) > 24)
{
$max_length = $table_prefix + 24;
trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR);
}
Reemplazar por:
Código: Seleccionar todo
$table_prefix = substr(CONFIG_TABLE, 0, -6); // strlen(config)
if (strlen($table_name . $index_name) - strlen($table_prefix) > 99)
{
$max_length = $table_prefix + 99;
trigger_error("Index name '{$table_name}_$index_name' on table '$table_name' is too long. The maximum is $max_length characters.", E_USER_ERROR);
}
Despúes de haber ejecutado el instalador, revertir el cambio hecho.

yo con esos cambios en su momento lo hice funcionar... por eso de esa solución.
Re: Error al instalar profileviews102a Tema Solucionado
Publicado: 07 Nov 2011, 17:29
por uruguayito
ahhhhhhhhhhhh ....
juro que usé la búsqueda .....
Muchas gracias Señores.
Resuelto.....
Re: Error al instalar profileviews102a
Publicado: 07 Nov 2011, 17:30
por Megabyte
- Off Topic
- Es la misma solución para el Social Network en phpbb 3.0.9 (para los que les dá éste problema, en éste mod)