Registrieren nicht möglich

Eine Neuinstallation von phpBB 2.0 wird auf phpBB.de nicht mehr unterstützt.
Siehe auch Entwicklungs-Ende von phpBB 2.0 - Auswirkungen auf phpBB.de
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.

Eine Neuinstallation von phpBB 2.0 wird auf phpBB.de nicht mehr unterstützt.
Siehe auch Entwicklungs-Ende von phpBB 2.0 - Auswirkungen auf phpBB.de
Gesperrt
TheMadMike
Mitglied
Beiträge: 219
Registriert: 11.11.2005 20:07
Wohnort: Feldkirchen
Kontaktdaten:

Registrieren nicht möglich

Beitrag von TheMadMike »

Moin Moin,

Gerade haben mich User aufmerksam gemacht, dass das registireren nicht mehr funktioniert.

Leider weiß ich nicht, warum und was der Fehler ist.

http://hcclub.de/Forum/profile.php?mode ... greed=true

Code: Alles auswählen

Fatal error: Call to undefined function: dss_rand() in /home/htdocs/web56/html/Forum/includes/usercp_register.php on line 1067
Mhhh... ?

LG Mike
--------------> http://hcclub.de <---------------
------------> Php Hilfe <-------------
------->Top<--------
TheMadMike
Mitglied
Beiträge: 219
Registriert: 11.11.2005 20:07
Wohnort: Feldkirchen
Kontaktdaten:

Beitrag von TheMadMike »

Nun auf Zeile 955
Fatal error: Call to undefined function: dss_rand() in /home/htdocs/web56/html/Forum/includes/usercp_register.php on line 993
--------------> http://hcclub.de <---------------
------------> Php Hilfe <-------------
------->Top<--------
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

die Funktion wurde neu in der 2.0.20 hinzugefügt ....

Prüfe mal bitte deine functions.php ob das alles so drin ist.

Code: Alles auswählen

includes/functions.php

#
#-----[ FIND ]---------------------------------------------
# Line 137
	}

	return $str;
}


#
#-----[ AFTER, ADD ]---------------------------------------------
#
/**
* Our own generator of random values
* This uses a constantly changing value as the base for generating the values
* The board wide setting is updated once per page if this code is called
* With thanks to Anthrax101 for the inspiration on this one
* Added in phpBB 2.0.20
*/
function dss_rand()
{
	global $db, $board_config, $dss_seeded;

	$val = $board_config['rand_seed'] . microtime();
	$val = md5($val);
	$board_config['rand_seed'] = md5($board_config['rand_seed'] . $val . 'a');
   
	if($dss_seeded !== true)
	{
		$sql = "UPDATE " . CONFIG_TABLE . " SET
			config_value = '" . $board_config['rand_seed'] . "'
			WHERE config_name = 'rand_seed'";
		
		if( !$db->sql_query($sql) )
		{
			message_die(GENERAL_ERROR, "Unable to reseed PRNG", "", __LINE__, __FILE__, $sql);
		}

		$dss_seeded = true;
	}

	return substr($val, 16);
}

#
#-----[ FIND ]---------------------------------------------
# Line 401
		message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]");

#
#-----[ REPLACE WITH ]---------------------------------------------
#
		// We are trying to setup a style which does not exist in the database
		// Try to fallback to the board default (if the user had a custom style)
		// and then any users using this style to the default if it succeeds
		if ( $style != $board_config['default_style'])
		{
			$sql = 'SELECT *
				FROM ' . THEMES_TABLE . '
				WHERE themes_id = ' . $board_config['default_style'];
			if ( !($result = $db->sql_query($sql)) )
			{
				message_die(CRITICAL_ERROR, 'Could not query database for theme info');
			}

			if ( $row = $db->sql_fetchrow($result) )
			{
				$db->sql_freeresult($result);

				$sql = 'UPDATE ' . USERS_TABLE . '
					SET user_style = ' . $board_config['default_style'] . "
					WHERE user_style = $style";
				if ( !($result = $db->sql_query($sql)) )
				{
					message_die(CRITICAL_ERROR, 'Could not update user theme info');
				}
			}
			else
			{
				message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]");
			}
		}
		else
		{
			message_die(CRITICAL_ERROR, "Could not get theme data for themes_id [$style]");
		}

#
#-----[ FIND ]---------------------------------------------
# Line 696
			$debug_text .= '</br /><br />Line : ' . $err_line . '<br />File : ' . basename($err_file);

#
#-----[ REPLACE WITH ]---------------------------------------------
#
			$debug_text .= '<br /><br />Line : ' . $err_line . '<br />File : ' . basename($err_file);

#
#-----[ FIND ]---------------------------------------------
# Line 723
		if ( empty($template) )
		{
			$template = new Template($phpbb_root_path . 'templates/' . $board_config['board_template']);
		}
		if ( empty($theme) )

#
#-----[ REPLACE WITH ]---------------------------------------------
#
		if ( empty($template) || empty($theme) )
Markus
TheMadMike
Mitglied
Beiträge: 219
Registriert: 11.11.2005 20:07
Wohnort: Feldkirchen
Kontaktdaten:

Beitrag von TheMadMike »

Vielen Dank, läuft wieder alles Problemlos. :)

Mike
--------------> http://hcclub.de <---------------
------------> Php Hilfe <-------------
------->Top<--------
TheMadMike
Mitglied
Beiträge: 219
Registriert: 11.11.2005 20:07
Wohnort: Feldkirchen
Kontaktdaten:

Beitrag von TheMadMike »

Da ich nicht weiß, ob die Posts bei ner Edit als "aktuell" angezeigt
werden, ein neuer Post.

>>> Bei Löschen eines "Forums" Names xyz wird es durch eine Fehlermeldung nicht gelöscht <<<

Code: Alles auswählen

Parse error: parse error in /home/htdocs/web56/html/Forum/includes/prune.php on line 222

Fatal error: Call to undefined function: prune() in /home/htdocs/web56/html/Forum/admin/admin_forums.php on line 719
Mike
--------------> http://hcclub.de <---------------
------------> Php Hilfe <-------------
------->Top<--------
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

verlinke mal bitte die admin_forums.php als txt-Datei.
KB:datei

Welche phpBB Version hast du denn im Einsatz?

Markus
TheMadMike
Mitglied
Beiträge: 219
Registriert: 11.11.2005 20:07
Wohnort: Feldkirchen
Kontaktdaten:

Beitrag von TheMadMike »

Ich benutzte phpBB2.0.20 Deutsch. Hab es vor 3 oder 4 Wochen darauf geupdatet.

http://hcclub.de/admin_forums.txt

Mike
--------------> http://hcclub.de <---------------
------------> Php Hilfe <-------------
------->Top<--------
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

welchen MOD hast du denn da reingebastelt?

Markus
Gesperrt

Zurück zu „phpBB 2.0: Installation und Update“