Seite 1 von 1

Fehlermeldungen bei Registrierung

Verfasst: 15.12.2007 17:11
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

Verfasst: 16.12.2007 15:29
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

Verfasst: 16.12.2007 16:55
von bantu
Link zum Forum?

Verfasst: 16.12.2007 17:44
von Swat
in meiner Signatur :wink:

Verfasst: 16.12.2007 17:59
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.

Verfasst: 16.12.2007 19:07
von Swat
Habe jetzt eine original Datei genommen, es kommen die selben Meldungen

Die MOD:
1.
2.
3.

Verfasst: 31.12.2007 01:52
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 :(