Resolved: Strict Standards: Non-Static Method UTF_Normalize

Use este forum para coisas que não tem nada a ver com Oracle.
Post Reply
User avatar
dr_gori
Moderador
Moderador
Posts: 5024
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

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

Only to get documented:
After the change of servers, the forum started to give the following message:

Select all

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
After several attempts, I found The following link in French with the solution: http://forums.phpbb-fr.com/annonces-a-l ... 92035.html
In this link has the following steps to follow:

Select all

# 
#-----[ 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
After applying this modification, I Sign in again!
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests