Code: Select all
strict Standards: non_static method utf_normalizer::nfkc() should not be called statically in /chroot/home/site/html/phpBB3/includes/utf/utf_tools.php on line 1663
phpbb Debug php Notice: in file /includes/session.php on line 1007 Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1663)
Warning: Cannot modify header information -headers already snet by (output started at /chroot/home/clicksfo/clicks4you.nl/html/site/includes/utf/utf_tools.php:1663 in chroot/home/clicksfo/clicks4you.nl/html/phpBB3/includes/functions.php on line 4284
Code: Select all
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/Amsterdam
and changing startup.php.That error is because of PHP 5.4. You need to add & ~E_STRICT to the error_reporting() line (~22) in /includes/startup.php.
OPEN includes/startup.php
FIND
Code: Select all
CODE: SELECT ALL]
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
REPLACE WITH
CODE: SELECT ALL
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);
Code: Select all
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
Code: Select all
if (!defined('E_DEPRECATED'))
{
define('E_DEPRECATED', 8192);
}
$level = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
error_reporting($level);
I know this is outdated, however rather than suppressing the issue
If you want to properly fix this at the root of the problem,
Open up includes/utf/utf_tools.php
Go to ~line 1663
Replace
Code: Select all
utf_normalizer::nfkc($text);
Code: Select all
$utf_normalizer = new utf_normalizer();
$utf_normalizer->nfkc($text);
unset($utf_normalizer);
Code: Select all
Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB3/includes/utf/utf_tools.php on line 1785
Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB3/includes/utf/utf_tools.php on line 1785
Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically, assuming $this from incompatible context in /chroot/home/clicksfo/clicks4you.nl/html/phpBB3/includes/search/fulltext_native.php on line 1512
includes/startup.php
is out of date, as others have stated. If it wasn't, those errors would be suppressed.includes/utf/utf_tools.php
is out of date as those those functions were marked static in 3.1.0 and would not cause this error.Code: Select all
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
Code: Select all
CODE: SELECT ALL
if (!defined('E_DEPRECATED'))
{
define('E_DEPRECATED', 8192);
}
$level = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
error_reporting($level);
What can I do about that?Your includes/startup.php is out of date, as others have stated. If it wasn't, those errors would be suppressed.
Your includes/utf/utf_tools.php is out of date as those those functions were marked static in 3.1.0 and would not cause this error.
Code: Select all
SQL ERROR [ mysqli ]
Unknown column 'field_show_on_pm' in 'field list' [1054]
SQL
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_profile, field_hide, field_no_view, field_active, field_order) VALUES ('phpbb_interests', 'profilefields.type.text', 'phpbb_interests', '3|30', '2', '500', '', '', '.*', 0, 0, 0, 0, 0, 1, 0, 0, 1, 1)
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/migration/profilefield_base_migration.php
LINE: 98
CALL: phpbb\db\driver\factory->sql_query()
FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\migration\profilefield_base_migration->create_custom_field()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 510
CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 456
CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 294
CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 174
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/install/database_update.php
LINE: 206
CALL: phpbb\db\migrator->update()
Open up includes/utf/utf_tools.php
Go to ~line 1663
Replace
Code: Select all
utf_normalizer::nfkc($text);
With
Code: Select all
$utf_normalizer = new utf_normalizer();
$utf_normalizer->nfkc($text);
unset($utf_normalizer);
Re: php 5.3 and date.timezone ERROR
Code: Select all
CODE: SELECT ALL
// Report all errors, except notices
BEFORE, ADD:
CODE: SELECT ALL
// Set time zone
date_default_timezone_set('UTC');
Code: Select all
trict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_captcha_nogd::is_available() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 83
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_captcha_nogd::get_name() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 85
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_captcha_gd_wave::is_available() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 83
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_captcha_gd_wave::get_name() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 85
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_recaptcha::is_available() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 83
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_recaptcha::get_name() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 85
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_captcha_qa::is_available() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 83
Strict Standards: Non-static method phpbb_captcha_qa::is_installed() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/plugins/phpbb_captcha_qa_plugin.php on line 135
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_captcha_qa::get_name() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 89
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method phpbb_captcha_gd::get_name() should not be called statically in /chroot/home/clicksfo/clicks4you.nl/html/phpBB1/includes/captcha/captcha_factory.php on line 85
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/captcha/captcha_factory.php:83)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/captcha/captcha_factory.php:83)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/captcha/captcha_factory.php:83)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/captcha/captcha_factory.php:83)