Simple Machines Community Forum

SMF Support => Language Specific Support => Español (Spanish) => Aiheen aloitti: armison - huhtikuu 11, 2013, 04:26:16 IP

Otsikko: Error busquedas
Kirjoitti: armison - huhtikuu 11, 2013, 04:26:16 IP
Cada que hacen una busqueda me aparece el siguiente error en el log de errores, me gustaria saber a que se debe para poder solucionarlo.

Versión del Foro: SMF 2.0.4
Url: KOF NO DEAD (http://www.kofnodead.net)
Theme: Prored

http://www.kofnodead.net/foro/index.php?action=search2
8: Undefined index: title
Archivo: xxx/Themes/ProRed2/index.template.php

Línea: 350

<a class="', $button['active_button'] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>', $button['title'], '</a>';
Otsikko: Re: Error busquedas
Kirjoitti: All Colours Sam - huhtikuu 11, 2013, 04:46:09 IP
En tu archivo Sources/Subs.php busca:


$context['menu_buttons'][$current_action]['active_button'] = true;



y reemplaza por:


if (isset($context['menu_buttons'][$current_action]))
$context['menu_buttons'][$current_action]['active_button'] = true;


Otsikko: Re: Error busquedas
Kirjoitti: armison - huhtikuu 11, 2013, 04:56:06 IP
Muchas gracias por la ayuda Suki.