Fout in posting.php?

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
XP-Rene
Berichten: 2168
Lid geworden op: 01 dec 2004, 19:33
Locatie: Vlissingen
Contacteer:

Fout in posting.php?

Bericht door XP-Rene » 16 dec 2005, 09:42

Bij het antwoorden op een topic krijg ik deze foutmelding:

Code: Selecteer alles

SQL requests not achieved

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' t.topic_poster FROM phpbb_forums f, phpbb_topics t WHER

SELECT t.forum_id, t.topic_sub_type, t.topic_icon, t.topic_duration, t.topic_time, t.topic_sub_title, t.topic_last_post_id, t.topic_status, t.topic_title, t.topic_type, , t.topic_poster FROM phpbb_forums f, phpbb_topics t WHERE t.topic_id = 11 

Line : 378
File : posting.php
Dit is regel 371 t/m 382 van posting.php

Code: Selecteer alles

	// let's do some cleaning in this request as we already have the forum informations
	// this way prevents to edit at too many place the script :)
	$sql = eregi_replace('AND f\.forum_id = (p|t)\.forum_id', '', $sql);
	$sql = str_replace(', ' . FORUMS_TABLE . ' f', '', $sql);
	$sql = str_replace('f.*', $added_sql, $sql);

	// read
	$result = $db->sql_query($sql, false, __LINE__, __FILE__);
	if ( !($post_info = $db->sql_fetchrow($result)) )
	{
		message_die(GENERAL_MESSAGE, $lang['No_such_post']);
	}
Wie kan mij vertellen waar de fout zit?

//EDIT*
Opgelost, er zat een foutje in functions_FTP.php er stond een comma teveel.
KNAVIVO DIERENHULP
Stimuleer verdraagzaamheid. Wees eens wat vaker irritant.

Gesloten