Página 6 de 13

Ayuda a solucionar Bugs

Publicado: 08 Feb 2011, 16:32
por leviatan21
zoby escribió:Ya me han vuelto a salir, esta vez en el titania, al añadir una contribución
[phpBB Debug] PHP Notice: in file /titania/contributions/revision.php on line 485: Undefined index: CUSTOM_LICENSE
esa es la primera linea de la traducción del archivo raíz/language/es/contributions.php

Código: Seleccionar todo

$lang = array_merge($lang, array(
	'CUSTOM_LICENSE'						=> 'Custom',
	'ANNOUNCEMENT_TOPIC'					=> 'Tema de anuncio',
	'ANNOUNCEMENT_TOPIC_SUPPORT'			=> 'Tema de soporte',

Ayuda a solucionar Bugs

Publicado: 08 Feb 2011, 19:55
por zoby
Perfecto Leviatan :D
Ahora me salen estos bugs en el acp (no son nuevos, por que el mod donde provienen ya lo tenia instalado desde hace tiempo)

[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 256: Undefined offset: -1
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 256: Undefined offset: -1
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 257: Undefined offset: 4
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 257: Undefined offset: 4

Ayuda a solucionar Bugs

Publicado: 08 Feb 2011, 21:34
por leviatan21
zoby escribió:Perfecto Leviatan :D
Ahora me salen estos bugs en el acp (no son nuevos, por que el mod donde provienen ya lo tenia instalado desde hace tiempo)

[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 256: Undefined offset: -1
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 256: Undefined offset: -1
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 257: Undefined offset: 4
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 257: Undefined offset: 4
Nada que tu o yo podamos resolver, es un error en la lógica de la codificación :oops:

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 14:52
por zoby
leviatan21 escribió:
zoby escribió:Perfecto Leviatan :D
Ahora me salen estos bugs en el acp (no son nuevos, por que el mod donde provienen ya lo tenia instalado desde hace tiempo)

[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 256: Undefined offset: -1
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 256: Undefined offset: -1
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 257: Undefined offset: 4
[phpBB Debug] PHP Notice: in file /includes/acp/acp_affiliates_index.php on line 257: Undefined offset: 4
Nada que tu o yo podamos resolver, es un error en la lógica de la codificación :oops:
Entonces sol Jakk (el autor del mod) puede reslver eso ?¿
Acabo de instalar el advanced similar topics, y me salen estos bugs
En el ACP
[phpBB Debug] PHP Notice: in file /includes/acp/acp_similar_topics.php on line 190: Undefined index: similar_topics_ignore_forums_ids
[phpBB Debug] PHP Notice: in file /includes/acp/acp_similar_topics.php on line 191: Undefined index: similar_topics_noshow_forums_ids
Al ver un Tema
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 2266: Undefined index: similar_topics_viewtopic
Al postear
[phpBB Debug] PHP Notice: in file /posting.php on line 1738: Undefined index: similar_topics_posting

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 14:59
por leviatan21
zoby escribió:Entonces sol Jakk (el autor del mod) puede reslver eso ?¿
Si porque se debe a que está forzando ciertas variables al mostrar las opciones de subir/bajar los anuncios :chulo:

zoby escribió:Acabo de instalar el advanced similar topics, y me salen estos bugs
Enlace al MOD ¿?

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 15:04
por zoby
leviatan21 escribió:
zoby escribió:Entonces sol Jakk (el autor del mod) puede reslver eso ?¿
Si porque se debe a que está forzando ciertas variables al mostrar las opciones de subir/bajar los anuncios :chulo:

zoby escribió:Acabo de instalar el advanced similar topics, y me salen estos bugs
Enlace al MOD ¿?
Aquí tienes http://forum.aeroion.ru/download.php?id=134

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 15:22
por leviatan21
zoby escribió:Acabo de instalar el advanced similar topics, y me salen estos bugs
¿ has ejecutado todas las consultas SQL que se indican en el instalador ?
Al parecer te faltan algunas o no has purgado la cache

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 15:26
por leviatan21
zoby escribió:Acabo de instalar el advanced similar topics, y me salen estos bugs
¿ has ejecutado todas las consultas SQL que se indican en el instalador ?
Al parecer te faltan algunas o no has purgado la cache

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 15:32
por zoby
leviatan21 escribió:
zoby escribió:Acabo de instalar el advanced similar topics, y me salen estos bugs
¿ has ejecutado todas las consultas SQL que se indican en el instalador ?
Al parecer te faltan algunas o no has purgado la cache
Error mio (no se por que, al parecer no se ejecutaron la primera vez :? )
Aunque me sigue saliendo 1 bug por ese mod
al ver un tema
[phpBB Debug] PHP Notice: in file /similar_topics.php on line 267: Undefined variable: words

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 15:46
por leviatan21
zoby escribió:
leviatan21 escribió:
zoby escribió:Acabo de instalar el advanced similar topics, y me salen estos bugs
¿ has ejecutado todas las consultas SQL que se indican en el instalador ?
Al parecer te faltan algunas o no has purgado la cache
Error mio (no se por que, al parecer no se ejecutaron la primera vez :? )
Aunque me sigue saliendo 1 bug por ese mod
al ver un tema
[phpBB Debug] PHP Notice: in file /similar_topics.php on line 267: Undefined variable: words
la variable $words es el contenido del archivo raíz/language/es/search_ignore_words.php que es un array con muchas palabras comunes, empieza así :

Código: Seleccionar todo

$words = array(
	'un',
	'acerca',
	'después',
	'hace',
	'todo',
	'casi',
	'largo',
	'montón',
	'también',
	'soy',
	'un',
	'y',

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 15:59
por zoby
Y entonces, cual es el problema ?¿
Por que sale ese bug ?¿ :?
Yo el raíz/language/es/search_ignore_words.php lo tengo así

Código: Seleccionar todo

<?php
/**
    *
    * This program is the full and free Spanish (of Spain) phpBB 3.0 Translation.
    * Copyright (c) 2007 Huan Manwe for phpbb-es.com
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.
    *
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License along
    * with this program; if not, write to the Free Software Foundation, Inc.,
    * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    *
    */
	
// ’ » " " …

/**
*
* This program is the full and free Spanish (of Spain) phpBB 3.0 Translation.
* Copyright (c) 2007 Huan Manwe for phpbb-es.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
**/

/** 
*
* search_ignore_words [Spanish [Es]]
*
* @package language
* @version $Id: groups.php,v 1.0 2007/03/18 16:22:56 merlin Exp $
* @copyright (c) 2007 phpBB Group. Modified by Huan Manwe for phpbb-es.com in 2007 
* @author 2007-11-26 - Traducido por Huan Manwe junto con phpbb-es.com (http://www.phpbb-es.com) basado en la version argentina hecha por larveando.com.ar ).
* @author - ImagePack made by Xoom (webmaster of http://www.muchografico.com and colaborator of http://www.phpbb-es.com) 
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License 
*
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

$words = array(
	'un',
	'acerca',
	'después',
	'hace',
	'todo',
	'casi',
	'largo',
	'montón',
	'también',
	'soy',
	'un',
	'y',
	'respuesta',
	'cualquier',
	'cualquiera',
	'cualesquiera',
	'lugar',
	'son',
	'no son',
	'alrededor',
	'como',
	'preguntar',
	'preguntado',
	'en',
	'mal',
	'ser',
	'porque',
	'sido',
	'antes',
	'siendo',
	'mejor',
	'mejores',
	'entre',
	'grande',
	'por las dudas',
	'pero',
	'por',
	'puede',
	'no puede',
	'venir',
	'podría',
	'no podría',
	'día',
	'dias',
	'hizo',
	'no hizo',
	'hacer',
	'hace',
	'no hace',
	'no',
	'bajo',
	'cada',
	'etc',
	'alterno',
	'sino',
	'aun',
	'nunca',
	'cada',
	'cada uno',
	'cada cual',
	'todos',
	'lejos',
	'encontrar',
	'para',
	'encontrado',
	'de',
	'obtener',
	'ir',
	'yendo',
	'ido',
	'bueno',
	'tener',
	'tenido',
	'tuve',
	'he tenido',
	'tengo',
	'no tengo',
	'teniendo',
	'su',
	'aqui',
	'sus',
	'hogar',
	'cómo',
	'cuándo',
	'href',
	'yo',
	'si',
	'ini',
	'dentro',
	'es',
	'no es',
	'esto',
	'sólo',
	'saber',
	'gran',
	'menos',
	'como',
	'parecido',
	'pequeño',
	'mirando',
	'mirar',
	'mirado',
	'mirando',
	'mucho',
	'talvez',
	'muchos',
	'mi',
	'más',
	'mayor',
	'demasiado',
	'debe',
	'no debe',
	'mío',
	'cerca',
	'necesito',
	'nunca',
	'nuevo',
	'noticias',
	'no',
	'ninguno',
	'nada',
	'ahora',
	'fuera',
	'a menudo',
	'viejo',
	'sobre',
	'una vez',
	'solamente',
	'oops',
	'o',
	'otro',
	'nuestro',
	'nuestros',
	'afuera',
	'sobre',
	'página',
	'por favor',
	'poner',
	'pregunta',
	'preguntas',
	'preguntado',
	'cita',
	'preferir',
	'realmente',
	'reciente',
	'dijo',
	'vió',
	'dicho',
	'ella',
	'ver',
	'debería',
	'sitios',
	'chico',
	'así',
	'algún',
	'algo',
	'a veces',
	'acullá',
	'pronto',
	'tomar',
	'que',
	'verdad',
	'gracias',
	'el',
	'alli',
	'ellos',
	'luego',
	'entonces',
	'esos',
	'estos',
	'aquellos',
	'pienso',
	'travéz',
	'fecha',
	'fechas',
	'para',
	'demasía',
	'bajo',
	'hasta',
	'incierto',
	'arriba',
	'hasta',
	'use',
	'usuarios',
	'versión',
	'muy',
	'vía',
	'querer',
	'fué',
	'camino',
	'nosotros',
	'bien',
	'fueron',
	'fuimos',
	'no fuimos',
	'cuando',
	'dónde',
	'cual',
	'quién',
	'quienes',
	'porque',
	'ancho',
	'con',
	'sin',
	'palabra',
	'malo',
	'peor',
	'podría',
	'escrito',
	'www',
	'yes',
	'ya',
	'tu',
	'tú',
	'tus',
	'AFAIK',
	'IIRC',
	'LOL',
	'ROTF',
	'ROTFLMAO',
	'YMMV',
);

?>

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 17:08
por leviatan21
Cabe la posibilidad de un BUG, para comprobarlo necesito que realices este cambio :
Abrir :

Código: Seleccionar todo

raíz/similar_topics.php
Buscar :

Código: Seleccionar todo

			// include the file containing ignore words
Debajo, agregar :

Código: Seleccionar todo

print_r("IN_PHPBB=(" . ((!defined('IN_PHPBB')) ? 'IN_PHPBB' : 'NOT_IN_PHPBB') . ")<br />");
print_r("words=({$user->lang_path}{$user->lang_name}/search_ignore_words.$phpEx)<br />");


Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 17:12
por zoby
leviatan21 escribió:Cabe la posibilidad de un BUG, para comprobarlo necesito que realices este cambio :
Abrir :

Código: Seleccionar todo

raíz/similar_topics.php
Buscar :

Código: Seleccionar todo

			// include the file containing ignore words
Debajo, agregar :

Código: Seleccionar todo

print_r("IN_PHPBB=(" . ((!defined('IN_PHPBB')) ? 'IN_PHPBB' : 'NOT_IN_PHPBB') . ")<br />");
print_r("words=({$user->lang_path}{$user->lang_name}/search_ignore_words.$phpEx)<br />");

Ahora me sale esto
IN_PHPBB=(NOT_IN_PHPBB)
words=(./language/es/search_ignore_words.php)
[phpBB Debug] PHP Notice: in file /similar_topics.php on line 271: Undefined variable: words

Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 17:23
por leviatan21
zoby escribió:Ahora me sale esto
IN_PHPBB=(NOT_IN_PHPBB)
words=(./language/es/search_ignore_words.php)
[phpBB Debug] PHP Notice: in file /similar_topics.php on line 271: Undefined variable: words
reemplaza las lineas que agregamos por estas :

Código: Seleccionar todo

			if (!defined('IN_PHPBB'))
			{
				define('IN_PHPBB', true);
			}
y debería solucionarse :ok:

Re: Ayuda a solucionar Bugs

Publicado: 09 Feb 2011, 17:44
por zoby
Hay un pequeño problema, eso que me pides reemplazar no existe, esta así

Código: Seleccionar todo

if (!defined('IN_PHPBB'))
{
	// This was an AJAX request
	define('IN_PHPBB', true);
	define('PHPBB_USE_BOARD_URL_PATH', true);
	$phpbb_root_path = './';
	$phpEx = substr(strrchr(__FILE__, '.'), 1);
Como lo reemplazo ?¿ :?