Página 1 de 1

FAQ de AutoMOD  Tema Solucionado

Publicado: 25 Dic 2008, 11:26
por ThE KuKa
AutoMOD no se instala al tener DEBUG_EXTRA desactivado

La solución es activar DEBUG_EXTRA durante la instalación de AutoMOD, y tras finalizar esta, volver a desactivarlo.

Para activar DEBUG_EXTRA abre el archivo config.php

BUSCAR:

Código: Seleccionar todo

@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
REEMPLAZAR POR:

Código: Seleccionar todo

@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
@define('DEBUG_EXTRA', true);
Para desactivarlo, simplemente, vuelve a dejar el archivo como estaba antes.

Cuando uso FTP como método de escritura, al desinstalar un MOD falla

Si es posible, utiliza método de escritura "directo". Si esto no es posible, tendrás que esperar a la próxima versión de AutoMOD.

Re: FAQ de AutoMOD

Publicado: 11 Feb 2009, 19:15
por ThE KuKa
¿Como actualizo AutoMOD Beta 1 a Beta 2?
Descarga la Beta 2 y sube el contenido de la carpeta /uploads/ a la raíz de tu foro (exactamente igual que la Beta 1)

Después ejecuta el script de instalación desde tu navegador:
http://www.ejemplo.com/phpBB3/install/" onclick="window.open(this.href);return false;

AutoMOD detectara cualquier otra versión existente y actualizara la DB el solo.

Re: FAQ de AutoMOD

Publicado: 11 Feb 2009, 19:21
por ThE KuKa
Salen algunos mensajes de error tipo PHP al navegar por la pestaña de AutoMOD en el ACP
Tipo de error escribió:[phpBB Debug] PHP Notice: in file /includes/mod_parser.php on line 368: Undefined index: children
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
Solución:

Abrir el archivo includes/mod_parser.php

BUSCAR:

Código: Seleccionar todo

             for ($j = 0; $j < $changelog_size; $j++)
             {
                // Ignore changelogs in foreign languages except in the case that there is no
                // match for the current user's language
                // TODO: Look at modifying localise_tags() for use here.
                if (match_language($user->data['user_lang'], $changelog[$j]['attrs']['LANG']))
                {
                   $changelog_id = $j;
                }
             }

             $change_count = sizeof($changelog[$changelog_id]['children']['CHANGE']); 
REEMPLAZAR POR:

Código: Seleccionar todo

             $changelog_id = 0;

             for ($j = 0; $j < $changelog_size; $j++)
             {
                // Ignore changelogs in foreign languages except in the case that there is no
                // match for the current user's language
                // TODO: Look at modifying localise_tags() for use here.
                if (match_language($user->data['user_lang'], $changelog[$j]['attrs']['LANG']))
                {
                   $changelog_id = $j;
                }
             }

             $change_count = isset($changelog[$changelog_id]['children']['CHANGE']) ? sizeof($changelog[$changelog_id]['children']['CHANGE']) : 0; 
Esto sera "fijado" en la próxima versión.