// Check and initialize some variables if needed
if ($submit)
{
$error = validate_data($data, array(
'username' => array(
array('string', false, $config['min_name_chars'], $config['max_name_chars']),
array('username', '')),
'new_password' => array(
array('string', false, $config['min_pass_chars'], $config['max_pass_chars']),
array('password')),
'password_confirm' => array('string', false, $config['min_pass_chars'], $config['max_pass_chars']),
'email' => array(
array('string', false, 6, 60),
array('email')),
'email_confirm' => array('string', false, 6, 60),
'tz' => array('num', false, -14, 14),
'lang' => array('match', false, '#^[a-z_\-]{2,}$#i'),
));
if (!check_form_key('ucp_register'))
{
$error[] = $user->lang['FORM_INVALID'];
}
wenn ich //'lang' => array('match', false, '#^[a-z_\-]{2,}$#i'), mache in der ucp_register.php dann kommt die Meldung nicht mehr aber dafür
Forbidden
You don't have permission to access /ucp.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Hmm hilft das euch weiter? De Ordner habe ich verglichen ist identisch.
--------------------------------------------------------------------------
Zusammengeführt von BlackHawk87:
Hier mal die Daten die beim abschicken des Formulars übergeben werden.
Code: Alles auswählen
INSERT INTO phpbb_users (username, username_clean, user_password, user_pass_convert, user_email, user_email_hash, group_id, user_type, user_permissions, user_timezone, user_dateformat, user_lang, user_style, user_actkey, user_ip, user_regdate, user_passchg, user_options, user_new, user_inactive_reason, user_inactive_time, user_lastmark, user_lastvisit, user_lastpost_time, user_lastpage, user_posts, user_dst, user_colour, user_occ, user_interests, user_avatar, user_avatar_type, user_avatar_width, user_avatar_height, user_new_privmsg, user_unread_privmsg, user_last_privmsg, user_message_rules, user_full_folder, user_emailtime, user_notify, user_notify_pm, user_notify_type, user_allow_pm, user_allow_viewonline, user_allow_viewemail, user_allow_massemail, user_sig, user_sig_bbcode_uid, user_sig_bbcode_bitfield, user_form_salt) VALUES ('test', 'test', '$H$9ZBET.FZlPGkKKnzmzaVPiVX4yGPMu0', 0, 'test1@test.de', '150725311913', 2, 0, '', 0, 'j. M Y, H:i', match, 1, '', '91.64.200.236', 1366560639, 1366560639, 230271, 0, 0, 0, 1366560639, 0, 0, '', 0, '1', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 1, 0, 1, 1, 1, 1, '', '', '', '5247fecfa614e809')
Wenn ich richtig sehen wird user_lang = match übergeben müsste das nicht "de" seien?