Página 1 de 1

Problema con portal

Publicado: 03 Dic 2010, 02:20
por Intencity
Bueno pues tengo un problema al instalar mi portal todo se veia en blanco el portal, asi que pense que era porque habia editado mal algun archivo o algo por el estilo. Busque la solucion aqui y entontre que tenia que remplazar este codigo:

Código: Seleccionar todo

// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
Reemplazar, por :

Código: Seleccionar todo

@define('DEBUG', true);
@define('DEBUG_EXTRA', true);
Y si ahora se ve el portal pero descuadrado y hasta arriba me sale esto:
[phpBB Debug] PHP Notice: in file /portal.php on line 152: Undefined index: portal_ads_small
[phpBB Debug] PHP Notice: in file /portal.php on line 160: Undefined index: portal_ads_center
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4296: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3478)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4298: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3478)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4299: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3478)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4300: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3478)
Help me plz... no se que hacer !
Gracias !

Problema con portal  Tema Solucionado

Publicado: 03 Dic 2010, 03:52
por leviatan21
Intencity escribió:Help me plz... no se que hacer !
No es un error tuyo, sino un error del MOD, al parecer el autor quiso implementar mostrar anuncios en el portal, pero nunca lo ha terminado, y hay código que sobra, para solucionarlo, sigue estas instrucciones :
Abrir :
raíz/portal.php
Buscar y eliminar :

Código: Seleccionar todo

if ($config['portal_ads_small'])
{
    $template->assign_vars(array(
        'S_ADS_SMALL'     => ($config['portal_ads_small_box']) ? true : false,
        'ADS_SMALL_BOX'    => $config['portal_ads_small_box'],
    ));
}

if ($config['portal_ads_center'])
{
    $template->assign_vars(array(
        'S_ADS_CENTER'         => ($config['portal_ads_center_box']) ? true : false,
        'ADS_CENTER_BOX'    => $config['portal_ads_center_box'],
    ));
} 

Re: Problema con portal

Publicado: 03 Dic 2010, 04:54
por Intencity
Wow ! de maravilla, si me sirvio amigo... muchas gracias !

Re: Problema con portal

Publicado: 03 Dic 2010, 05:07
por leviatan21
Intencity escribió:Wow ! de maravilla, si me sirvio amigo... muchas gracias !
De nada...

Marco el tema como solucionado :cachas: