Guten Abend,
ich versuche gerade 2 Hacks einzubauen einmal den Forumvote & den Forumpraefix Hack nur habe muss ich an einer Stelle der forum/newpost.php beide Hacks vereinen. Bekomme dies leider nicht so hin wie es soll. Bekomme nun immer den Fehler "
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in
/var/www/web70/html/==DKR-HOMEPAGE==/testphpkit/forum/newpost.php on line
57"
Weiss vielleicht einer von Euch Profis wo da der Fehler liegt ?
Ich habe mal die Datei angehangen und es betrifft die Zeile 57:
|
PHP-Quelltext
|
1
|
$DB->query("INSERT INTO ".$db_tab['forumthread']." (forumthread_autor,forumthread_autorid,forumthread_catid,forumthread_icon,forumthread_title,forumthread_lastreply_time,forumthread_lastreply_autor,forumthread_lastreply_autorid,forumthread_votetitle,forumthread_praefix,forumthread_votestatus,forumthread_voterights,forumthread_votemultiple,forumthread_votehideresult,forumthread_voteshowtoall) VALUES ('".$_POST['post_autor']."','".$USER['id']."','".$catid."','".$_POST['post_icon']."','".addslashes($_POST['post_title'])."','".time()."','".$_POST['post_autor']."','".$USER['id']."','".addslashes($_POST['post_vote_title'])."','".$thread_praefix."`.$votestatus."','".$_POST['vote_rights']."','".$_POST['post_vote_multiple']."','".$_POST['post_vote_hideresult']."','".$_POST['post_vote_showtoall'].")");
|
[attach]125[/attach]
Gruß
Christian
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »harryhirsch« (12. Januar 2008, 22:11)