Resolvido: Strict Standards: Non-static method utf_normalize

Use este forum para coisas que não tem nada a ver com Oracle.
Responder
Avatar do usuário
dr_gori
Moderador
Moderador
Mensagens: 5024
Registrado em: Seg, 03 Mai 2004 3:08 pm
Localização: Portland, OR USA
Contato:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Apenas para ficar documentado:
Após a mudança de servidores, o forum passou a dar a seguinte mensagem:

Selecionar tudo

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /includes/utf/utf_tools.php on line 1663
[phpBB Debug] PHP Warning: in file /includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1663)
[phpBB Debug] PHP Warning: in file /includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1663)
[phpBB Debug] PHP Warning: in file /includes/session.php on line 1035: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1663)

Warning: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1663) in /includes/functions.php on line 4608

Warning: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1663) in /includes/functions.php on line 4610

Warning: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1663) in /includes/functions.php on line 4611

Warning: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1663) in /includes/functions.php on line 4612
Após várias tentativas, achei o seguinte LINK em francês com a solução:
http://forums.phpbb-fr.com/annonces-a-l ... 92035.html

Neste link tem os seguintes passos a serem seguidos:

Selecionar tudo

#
#-----[ OPEN ]------------------------------------------------
#
includes/startup.php
#
#-----[ FIND ]------------------------------------------------
#
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : php 5.4 fix ---------------------------------------------------------
//-- delete
/*-MOD
#
#-----[ AFTER, ADD ]------------------------------------------
#
MOD-*/
//-- add
$level = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
if (version_compare(PHP_VERSION, '5.4.0-dev', '>='))
{
	// PHP 5.4 adds E_STRICT to E_ALL.
	// Our utf8 normalizer triggers E_STRICT output on PHP 5.4.
	// Unfortunately it cannot be made E_STRICT-clean while
	// continuing to work on PHP 4.
	// Therefore, in phpBB 3.0.x we disable E_STRICT on PHP 5.4+,
	// while phpBB 3.1 will fix utf8 normalizer.
	// E_STRICT is defined starting with PHP 5
	if (!defined('E_STRICT'))
	{
		define('E_STRICT', 2048);
	}
	$level &= ~E_STRICT;
}
error_reporting($level);
//-- fin mod : php 5.4 fix -----------------------------------------------------
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
Após aplicar essa modificação, consegui fazer login novamente!
Responder
  • Informação
  • Quem está online

    Usuários navegando neste fórum: Nenhum usuário registrado e 10 visitantes