Mod Qbar Otro Error
Publicado: 25 Nov 2006, 02:05
URL: comunidadgml.iespana.es/phpbb2
Plantilla(s) usuada(s): subsilver
MODs instalados: shoutbox1.1.6em,the humanizer
Version de phpBB: 2.0.2
Servidor: gratuito
me aparece este error(tambien lo pueden ver entrando en la web):
Parse error: syntax error, unexpected T_FUNCTION in /www/sites/1/iespana.es/c/o/comunidadgml/site/phpBB2/includes/functions.php on line 25
fu aver que decia esa linea:
function get_db_stat($mode)
y esto es lo que agregue a funtions.php donde es el problema:
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
<?php
#
#-----[ AFTER, ADD ]------------------------------------------
#
# This part can already be existing : if so, just skip it
#
//-- mod : language settings -----------------------------------------------------------------------
//-- mod : qbar ------------------------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
//
// Set up style
//
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
# This part can already be existing : if so, just skip it
#
//-- mod : language settings -----------------------------------------------------------------------
//-- add
include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
if(defined('HAS_DIED'))
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : language settings -----------------------------------------------------------------------
//-- add
include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
}
if ( empty($template) )
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
# This part can already be existing : if so, just skip it
#
//-- mod : language settings -----------------------------------------------------------------------
//-- add
include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------
#
saludos.
PD: Y lei sobre este archivo overall_header.tpl debo editarlo o no donde se resplasa con este code {QMENUS}</td>.
Plantilla(s) usuada(s): subsilver
MODs instalados: shoutbox1.1.6em,the humanizer
Version de phpBB: 2.0.2
Servidor: gratuito
me aparece este error(tambien lo pueden ver entrando en la web):
Parse error: syntax error, unexpected T_FUNCTION in /www/sites/1/iespana.es/c/o/comunidadgml/site/phpBB2/includes/functions.php on line 25
fu aver que decia esa linea:
function get_db_stat($mode)
y esto es lo que agregue a funtions.php donde es el problema:
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
<?php
#
#-----[ AFTER, ADD ]------------------------------------------
#
# This part can already be existing : if so, just skip it
#
//-- mod : language settings -----------------------------------------------------------------------
//-- mod : qbar ------------------------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
//
// Set up style
//
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
# This part can already be existing : if so, just skip it
#
//-- mod : language settings -----------------------------------------------------------------------
//-- add
include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
if(defined('HAS_DIED'))
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : language settings -----------------------------------------------------------------------
//-- add
include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
}
if ( empty($template) )
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
# This part can already be existing : if so, just skip it
#
//-- mod : language settings -----------------------------------------------------------------------
//-- add
include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------
#
saludos.
PD: Y lei sobre este archivo overall_header.tpl debo editarlo o no donde se resplasa con este code {QMENUS}</td>.