Fehlermeldungen bei Registrierung

Fragen zur Bedienung von phpBB 3.0.x, Probleme bei der Benutzung und alle weiteren Fragen inkl. Update auf die neuste phpBB 3.0.14 Version
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
Swat
Mitglied
Beiträge: 498
Registriert: 27.04.2005 15:21
Wohnort: Mainz

Fehlermeldungen bei Registrierung

Beitrag von Swat »

Moin

wenn bei der Registrierung ein Pflichtfeld freiläst erscheinen folgende Fehlermeldungen:
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1202: array_shift() [function.array-shift]: The argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1203: array_unshift() [function.array-unshift]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1205: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'validate_' was given
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3407: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3409: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3410: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3411: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
200
MODs die eingebaut sind:
Prime Birthdate Require
Gender
Upcoming_Birthdays
Swat

Diabetes is more than an illness - it's a way of life.
Benutzeravatar
Swat
Mitglied
Beiträge: 498
Registriert: 27.04.2005 15:21
Wohnort: Mainz

Beitrag von Swat »

HAb jetzt nochmal geschaut der erste Bereich in der functions_user.php soll hier sein:

Code: Alles auswählen

/**
* Data validation ... used primarily but not exclusively by ucp modules
*
* "Master" function for validating a range of data types
*/
function validate_data($data, $val_ary)
{
	$error = array();

	foreach ($val_ary as $var => $val_seq)
	{
		if (!is_array($val_seq[0]))
		{
			$val_seq = array($val_seq);
		}

		foreach ($val_seq as $validate)
		{
			$function = array_shift($validate);
			array_unshift($validate, $data[$var]);

			if ($result = call_user_func_array('validate_' . $function, $validate))
			{
				$error[] = $result . '_' . strtoupper($var);
			}
		}
	}

	return $error;
}
das zweite foreach ist Zeile 1200

und der zweite Fehler soll hier sein

Code: Alles auswählen

	header('Content-type: text/html; charset=UTF-8');

	header('Cache-Control: private, no-cache="set-cookie"');
	header('Expires: 0');
	header('Pragma: no-cache');

	return;
}

erste Zeile ist 3407


hab keine Ahnung wo das Problem dort liegen könnte

für Hilfe sehr dankbar
Swat

Diabetes is more than an illness - it's a way of life.
Benutzeravatar
bantu
Server-Team
Beiträge: 7311
Registriert: 25.04.2006 16:12
Wohnort: Karlsruhe

Beitrag von bantu »

Link zum Forum?
Powered by Coffee
Benutzeravatar
Swat
Mitglied
Beiträge: 498
Registriert: 27.04.2005 15:21
Wohnort: Mainz

Beitrag von Swat »

in meiner Signatur :wink:
Swat

Diabetes is more than an illness - it's a way of life.
Benutzeravatar
bantu
Server-Team
Beiträge: 7311
Registriert: 25.04.2006 16:12
Wohnort: Karlsruhe

Beitrag von bantu »

Ich würde mal blind versuchen die genannten Dateien mit denen aus dem Full Package zu ersetzen. Vorher sichern!

Sollte das nicht funktionieren, poste mal die Links zu den einzelnen Mods.
Powered by Coffee
Benutzeravatar
Swat
Mitglied
Beiträge: 498
Registriert: 27.04.2005 15:21
Wohnort: Mainz

Beitrag von Swat »

Habe jetzt eine original Datei genommen, es kommen die selben Meldungen

Die MOD:
1.
2.
3.
Swat

Diabetes is more than an illness - it's a way of life.
Benutzeravatar
Swat
Mitglied
Beiträge: 498
Registriert: 27.04.2005 15:21
Wohnort: Mainz

Beitrag von Swat »

das Problem besteht leider immer noch hier nochmal die meldungen:
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1202: array_shift() [function.array-shift]: The argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1203: array_unshift() [function.array-unshift]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1205: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'validate_' was given

Warning: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922) in /includes/functions.php on line 3407

Warning: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922) in /includes/functions.php on line 3409

Warning: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922) in /includes/functions.php on line 3410

Warning: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922) in /includes/functions.php on line 3411
ist denke ich garantiert nur eine winzig Kleinigkeit ... nur ich finde sie nicht :(
Swat

Diabetes is more than an illness - it's a way of life.
Antworten

Zurück zu „[3.0.x] Administration, Benutzung und Betrieb“