- Wat is het probleem? Bij het aanmaken van een account krijg ik een foutmelding te zien (staat hieronder)
Wanneer ontstond het probleem? kwam het net tegen bij het testen
Adres van je forum: http://www.ownageworld.com
Modifications op je forum: teveel, het gaat hier om de custom profile mod en de birtdaymod denk ik... maar ik heb ook de "registreer zonder e-mailadres mod"
Huidige stijl: subsilver
phpBB versie: nieuwste
Waar is je forum gehost: welas
Heb je onlangs iets verandert aan je forum? niks bijzonders, wel veel mods op mn website. Ergens gelezen dat de "header is already sent" komt door lege spaties, maar daar was ook geen sprake van in die bestanden...
Code: Selecteer alles
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/aa1010/domains/ownageworld.com/public_html/neds/includes/usercp_register.php on line 376
Warning: Cannot modify header information - headers already sent by (output started at /home/aa1010/domains/ownageworld.com/public_html/neds/includes/usercp_register.php:376) in /home/aa1010/domains/ownageworld.com/public_html/neds/includes/page_header.php on line 1316
Warning: Cannot modify header information - headers already sent by (output started at /home/aa1010/domains/ownageworld.com/public_html/neds/includes/usercp_register.php:376) in /home/aa1010/domains/ownageworld.com/public_html/neds/includes/page_header.php on line 1318
Warning: Cannot modify header information - headers already sent by (output started at /home/aa1010/domains/ownageworld.com/public_html/neds/includes/usercp_register.php:376) in /home/aa1010/domains/ownageworld.com/public_html/neds/includes/page_header.php on line 1319
Code: Selecteer alles
//
// Custom Profile Fields MOD
//
$profile_data = get_fields('WHERE users_can_view = '.ALLOW_VIEW);
$profile_names = array();
foreach($profile_data as $fields)
{
$name = text_to_column($fields['field_name']);
$type = $fields['field_type'];
$required = $fields['is_required'] == REQUIRED ? true : false;
$temp = (isset($HTTP_POST_VARS[$name])) ? $HTTP_POST_VARS[$name] : array();
if($type == CHECKBOX)
{
$temp2 = '';
foreach($temp as $temp3)
$temp2 .= htmlspecialchars($temp3) . ',';
$temp2 = substr($temp2,0,strlen($temp2)-1);
$temp = $temp2;
}
else
$temp = htmlspecialchars($temp);
$profile_names[$name] = $temp;
if($required && empty($profile_names[$name]))
{
$error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
}
//
// END Custom Profile Fields MOD
//
Code: Selecteer alles
// Add no-cache control for cookies if they are set
//$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_data'])) ? 'no-cache="set-cookie", ' : '';
// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');