Página 1 de 1

Errores en "registro de moderadores" en MCP y ACP

Publicado: 25 Nov 2008, 15:31
por Krosher
Versión de phpBB: 3.0.3
Tipo de phpBB: phpBB estandar, (tambien llamado Vanilla) phpBB2 o phpBB3
MODs Instalados: Si
Tu conocimiento: Conocimiento básico
Enlace del Foro: http://www.golfmkll.com/v3

Versión PHP: 4.4.7-pl0-gentoo
Versión MySQL: MySQL 4.0.27

¿Qué recuerdas haber hecho en el foro antes de aparecer este error?
Actualizar de la versión 3.0.2 a 3.0.3

¿Qué has realizado para intentar resolver el problema?
Pasar los archivos y subdirectorios de /includes del foro clon que tengo instalado en local (sin resultado positivo)
Volver a restaurar los archivos y directorios de includes
Comprobar permisis de directorios, estan todos a 755, exepto los 4 que deben estar con permiso 777


Descripción y Mensaje
Hola amigos.

Desde que actualizé el foro de la versión 3.0.2 a la 3.0.3. Cuando entro en ACP/Mantenimiento/Registro de moderadores, me salen los siguientes errores:

[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill() [function.array-fill]: Number of elements must be positive
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill() [function.array-fill]: Number of elements must be positive
[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:3153)
[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:3153)
[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:3153)
[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:3153)


Os pongo una captura de pantalla:

Imagen

Decir, que no pasa con "regstro de usuarios" ni "registro de administradores", solo en el de Moderadores

Por otro lado, suando entro en el MCP/Registros del moderador sucede lo mismo con estos errores:

[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill() [function.array-fill]: Number of elements must be positive
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill() [function.array-fill]: Number of elements must be positive
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3729: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3731: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3732: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)


Otra captura:

Imagen

Por último comentaros, de que tengo un foro igual que este instalado en local, y es un clon a éste y no me salen estos errores.

Gracias de antemano por la ayuda.

Saludos.

Re: Errores en "registro de moderadores" en MCP y ACP  Tema Solucionado

Publicado: 25 Nov 2008, 15:46
por HuanManwe
Creo que esta es la quinta vez que respondo esta duda en menos de una semana. Es que no buscais ni leeis casos similares... :lee

A ver. La solución es siempre la misma y siempre funciona:

Vuelve a subir el archivo fuctions_admin.php o bien haz esto:

Abre: includes/functions_admin.php

Busca:

Código: Seleccionar todo

 if (substr_count($log[$i]['action'], '%') - sizeof($log_data_ary))    



Reemplázalo por:

Código: Seleccionar todo

 if ((substr_count($log[$i]['action'], '%') - sizeof($log_data_ary)) > 0)      
Saludos.

Re: Errores en "registro de moderadores" en MCP y ACP

Publicado: 25 Nov 2008, 16:46
por Krosher
Muchas gracias compañero.

Funciona perfectamente.

Mil disculpas por no haberlo buscado.

Saludos.

Re: Errores en "registro de moderadores" en MCP y ACP

Publicado: 25 Nov 2008, 18:41
por ThE KuKa
Off Topic:
Copio enlace a FAQS :wink: