Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..
Gracias.
La Administración de phpBB España.
Error con Country Flags
Antes de participar en los foros, leer esto por favor.
Normas generales de phpBB-Es y las de Soporte
Error con Country Flags
Pero hace poco lo quice instala nuevamente por que ya no lo tenia en el foro por que cree otro nuevo y me ha producido muchos errores .
asi que lo quice quitar y sustitui los archivos que modifique por los originales que respalde pero el error persiste.
dice esto el error :
[color=tomato]Couldn't obtain flags information.
DEBUG MODE
SQL Error : 1146 Table 'larc_phpb1.FLAG_TABLE' doesn't exist
SELECT * FROM FLAG_TABLE ORDER BY flag_id
Line : 905
File : usercp_register.php[/color]
ya cheke el archivo usercp_register.php muchas muchas veves y nada :cry: el error sigue apareciendo .
alguno tiene una idea de que es lo que ocurre?.
S@lu2
Raul [ThE KuKa] en phpBB
Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación
phpBB España - En línea desde 2003
Parse error: parse error, unexpected '}' in /home/larc/public_html/Foro/includes/template.php(127) : eval()'d code on line 302
que pasara?
en el mod nunca se mensiona ese archivo de template.php .
Raul [ThE KuKa] en phpBB
Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación
phpBB España - En línea desde 2003
pego el codigo de la linea 270 a la 310 de el archivo includes/template.php ? pero cual codigo =(
si te refieres al codigo que se encuentra desde la linea 270 a la 310 de ese mismo archivo, í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¿como lo pego? o sea que quite cualquier espacio o salto de linea .
por fa disculpame.. pero no entendi
Raul [ThE KuKa] en phpBB
Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación
phpBB España - En línea desde 2003
Re: Error con Country Flags
/**
* Root-level variable assignment. Adds to current assignments, overriding
* any existing variable assignment with the same name.
*/
function assign_var($varname, $varval)
{
$this->_tpldata['.'][0][$varname] = $varval;
return true;
}
/**
* Generates a full path+filename for the given filename, which can either
* be an absolute name, or a name relative to the rootdir for this Template
* object.
*/
function make_filename($filename)
{
// Check if it's an absolute or relative path.
if (substr($filename, 0, 1) != '/')
{
$filename = ($rp_filename = phpbb_realpath($this->root . '/' . $filename)) ? $rp_filename : $filename;
}
if (!file_exists($filename))
{
die("Template->make_filename(): Error - file $filename does not exist");
}
return $filename;
}
/**
* If not already done, load the file for the given handle and populate
* the uncompiled_code[] hash with its code. Do not compile.
*/
function loadfile($handle)
{
// If the file for this handle is already loaded and compiled, do nothing.
if (isset($this->uncompiled_code[$handle]) && !empty($this->uncompiled_code[$handle]))
{
return true;
}
// If we don't have a file assigned to this handle, die.
if (!isset($this->files[$handle]))
{
die("Template->loadfile(): No file specified for handle $handle");
}
$filename = $this->files[$handle];
$str = implode("", @file($filename));
if (empty($str))
{
die("Template->loadfile(): File $filename for handle $handle is empty");
}
$this->uncompiled_code[$handle] = $str;
return true;
}
/**
* Compiles the given string of code, and returns
* the result in a string.
* If "do_not_echo" is true, the returned code will not be directly
* executable, but can be used as part of a variable assignment
* for use in assign_code_from_handle().
*/
function compile($code, $do_not_echo = false, $retvar = '')
{
// replace \ with \\ and then ' with \'.
$code = str_replace('\\', '\\\\', $code);
$code = str_replace('\'', '\\\'', $code);
// change template varrefs into PHP varrefs
// This one will handle varrefs WITH namespaces
$varrefs = array();
preg_match_all('#\{(([a-z0-9\-_]+?\.)+?)([a-z0-9\-_]+?)\}#is', $code, $varrefs);
$varcount = sizeof($varrefs[1]);
for ($i = 0; $i < $varcount; $i++)
{
$namespace = $varrefs[1][$i];
$varname = $varrefs[3][$i];
$new = $this->generate_block_varref($namespace, $varname);
$code = str_replace($varrefs[0][$i], $new, $code);
}[/code]
ok ya entendi aqui lo coloco :?
Y hasta ahora nadie se ha podido registrar en mi foro =(.. Segui cehkando y no solo presenta error al ingresar al perfil, marca el mismo error a quien se quiera registrar.
haaa y ademas hasta abajito de el foro aparece codigo Ayudammeee =( .
mi foro es : www.el-subterraneo.com/Foro por faa si es necesario entra con mi cuenta .. lo que sea necesario .
Re: Error con Country Flags
[code]Parse error: parse error, unexpected '}' in /home/larc/public_html/Foro/includes/template.php(127) : eval()'d code on line 314[/code]
esto es lo que hay en la linea 314 :
[code]// Added: dougk_ff7-Keeps templates from bombing if begin is on the same line as end.. I think. :)[/code]
S@lu2
Raul [ThE KuKa] en phpBB
Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación
phpBB España - En línea desde 2003