Página 1 de 1

Problema con lenguaje en [topic text hover]

Publicado: 25 Oct 2009, 19:04
por engendro666
instale el mod topic_tex_hover 1.0.4a de la seccion descargas y al ingresar al acp board para activarlo me da este error:

Código: Seleccionar todo

[phpBB Debug] PHP Notice: in file /adm/index.php on line 357: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'acp_board::select_topic_text_hover_check' was given
[phpBB Debug] PHP Notice: in file /adm/index.php on line 156: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3280)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 158: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3280)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 159: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3280)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 160: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3280)
Probe copiando nuevamente el archivo de lenguaje y sigue dando el mismo error, luego probe poner el archivo de lenguiaje en ingles dentro de la carpeta es y lo mismo.

Luego descargue la nueva version (1.0.6) de este link:

http://www.phpbb.com/community/viewtopi ... 35&start=0

Desinstale el anterior e instale la nueva version y me sigue dando el mismo error, creo que falta algo al archivo de lenguaje pero no se que, en el post de phpbb.com donde lo descargue alguien tuvo el mismo error y lo soluciono pero no explica como.

Alguna idea?

este es el archivo de lenguaje en ingles:

Código: Seleccionar todo

<?php
/**
*
* topic_title_hover [English]
*
* @package language
* @version $Id: topic_text_hover.php,v 1.1 2008/12/09 22:26:52 rmcgirr83 Exp $
* @copyright (c) 2008 Richard McGirr 
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
    'ALLOW_TOPIC_TITLE_HOVER'			=> 'Allow Post Text In Mouse Hover',
    'ALLOW_TOPIC_TITLE_HOVER_EXPLAIN'	=> 'Will allow the post text in a topic to populate the tooltip on mouseover of a topic title and of a last post within the topic (hover mouse over the last post icon of a topic) or both',
    'ALLOW_TOPIC_TITLE_HOVER_CHAR'		=> 'Number of Characters for Mouse Hover',
    'CHARS'   							=> 'Characters',
	'DISABLE_TEXT_HOVER' 				=> 'Disable text hover',	
    'TEXT_HOVER_OPTIONS' 				=> 'Display for the Hover',
    'TEXT_HOVER_OPTIONS_EXPLAIN' 		=> 'What should be allowed',
    'TOPIC_TEXT_HOVER_FIRST'			=> 'First Post',
    'TOPIC_TEXT_HOVER_LAST'				=> 'Last Post',
    'TOPIC_TEXT_HOVER_BOTH'				=> 'Both Posts',
));

?>

Re: Problema con lenguaje en [topic text hover]

Publicado: 27 Oct 2009, 22:01
por Alorse
Podria ser la codificacion del BOM... aunque intenta primero esto...


Abre el archivo en ingles... y pega todo el contenido que tienes en el archivo en español... guardalo y subelo a la carpera /es/

Creo que con eso se debera arreglar...

Re: Problema con lenguaje en [topic text hover]

Publicado: 01 Nov 2009, 14:32
por engendro666
Alorse escribió:Podria ser la codificacion del BOM... aunque intenta primero esto...


Abre el archivo en ingles... y pega todo el contenido que tienes en el archivo en español... guardalo y subelo a la carpera /es/

Creo que con eso se debera arreglar...

Ya habia probado las dos cosas antes d epostear y no funciono. El error habia sido mio, siguiendo el install habia pegado el codigo antes de una { cuando era despues. Me maree en las varias veces que lo reinstale por que el editor me vusca de a una linea y olvide revisar cuantas lineas llevaba la busqueda :lol:

Disculpen que no conteste antes hace dias que no pasaba por estos foros

gracias por responder de todos modos