- Adres van je forum: http://www.smartforum.nl
Event. modificaties op je forum: PhpbbGallery; upload imageshack
Wanneer ontstond het probleem? Bij het willen updaten
phpBB versie: 3.0.8
Heb je onlangs iets veranderd aan je forum? Niets
Wat is het probleem?
PHP Notice: in file /includes/acp/acp_main.php on line 405: Undefined index: PHP_VERSION_OLD
In het bestand staat dit:
Code: Selecteer alles
// Version check
$user->add_lang('install');
if ($auth->acl_get('a_server') && version_compare(PHP_VERSION, '5.2.0', '<'))
{
$template->assign_vars(array(
'S_PHP_VERSION_OLD' => true,
'L_PHP_VERSION_OLD' => sprintf($user->lang['PHP_VERSION_OLD'], '<a href="http://www.phpbb.com/community/viewtopic.php?f=14&t=1958605">', '</a>'),
));
}
$latest_version_info = false;
if (($latest_version_info = obtain_latest_version_info(request_var('versioncheck_force', false))) === false)
{
$template->assign_var('S_VERSIONCHECK_FAIL', true);
}
else
{
$latest_version_info = explode("\n", $latest_version_info);
$latest_version = str_replace('rc', 'RC', strtolower(trim($latest_version_info[0])));
$current_version = str_replace('rc', 'RC', strtolower($config['version']));
$template->assign_vars(array(
'S_VERSION_UP_TO_DATE' => version_compare($current_version, $latest_version, '<') ? false : true,
));
}
PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3715)
[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:3715)
[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:3715)
[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:3715)
In het betreffende bestand vind ik dit:
Code: Selecteer alles
147 ));
148
149 // application/xhtml+xml not used because of IE
150 header('Content-type: text/html; charset=UTF-8');
151
152 header('Cache-Control: private, no-cache="set-cookie"');
153 header('Expires: 0');
154 header('Pragma: no-cache');
155
156 return;
157 }