[English]Found bug in Quiz Mod 0.2.1

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
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.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
podium4
Mitglied
Beiträge: 2
Registriert: 14.10.2003 23:43

[English]Found bug in Quiz Mod 0.2.1

Beitrag von podium4 »

Sorry that i'm speaking english, it's because i'm Dutch and i can't speak German....

I've installed the Quiz Moz 0.2.1 on my forum... everything is working fine but when i try to suggest a question i get the following error:

Code: Alles auswählen

Fatal error: Call to undefined function: from() in .../htdocs/forum/includes/quiz.php on line 1074
I'm not sure that it is a bug, but i think i did nothing wrong at installing the quiz mod and i have tested most of the functions of the mod and everything seems to work....

I ask you friendly to speak English in this topic... PLEASE
Acid
Ehrenadmin
Beiträge: 12195
Registriert: 26.04.2001 02:00
Wohnort: Berlin

Beitrag von Acid »

what´s your phpbb version ? 2.0.6 ?
podium4
Mitglied
Beiträge: 2
Registriert: 14.10.2003 23:43

Beitrag von podium4 »

phpBB 2.0.4
Acid
Ehrenadmin
Beiträge: 12195
Registriert: 26.04.2001 02:00
Wohnort: Berlin

Beitrag von Acid »

includes/quiz.php ...find:

Code: Alles auswählen

			// For phpBB Versions >= 205
			$emailer->from($board_config['board_email']);
			$emailer->replyto($board_config['board_email']);

			// For phpBB Versions <= 204
			/*
			$email_headers = 'From: ' . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
			$emailer->extra_headers($email_headers);
			*/
replace with:

Code: Alles auswählen

			// For phpBB Versions >= 205
			/*
			$emailer->from($board_config['board_email']);
			$emailer->replyto($board_config['board_email']);
			*/

			// For phpBB Versions <= 204
			$email_headers = 'From: ' . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
			$emailer->extra_headers($email_headers);
Antworten

Zurück zu „phpBB 2.0: Mod Support“