Dann werden wirs doch per Hand machen müssen

Code: Alles auswählen
Parse error: parse error, expecting `']'' in /srv/www/htdocs/web1/html/pcforum/database/database_install.php on line 203
Code: Alles auswählen
{
$insert_topic_id++;
$moved_id = ( $topic['topic_moved_id'] == 0 ) ? 0 : $forum_ids[$topic['topic_moved_id'];
$vote_id = 0;//$topic['topic_vote'];
$first_post = $insert_post_id + 1;
$last_post = $insert_post_id + $topic['topic_replies'] + 1;
Code: Alles auswählen
$moved_id = ( $topic['topic_moved_id'] == 0 ) ? 0 :
Ich weiß nicht genau, wo hier die Unterschiede zum hier diskutierten Script liegen, aber dieses hier müsste auch funktionieren:charlymcfly hat geschrieben:Gibt es vielleicht noch eine andere Möglichkeit zwei Foren zusammen zulegen?
beicharlymcfly hat geschrieben:Ich bekomme bei dem Script ständig einen Fehler in Zeile 203
Code: Alles auswählen
Parse error: parse error, expecting `']'' in /srv/www/htdocs/web1/html/pcforum/database/database_install.php on line 203
Hier ein ausschnitt mit der Zeile und ein bisschen mehr drunter und drüber
Code: Alles auswählen
{ $insert_topic_id++; $moved_id = ( $topic['topic_moved_id'] == 0 ) ? 0 : $forum_ids[$topic['topic_moved_id']; $vote_id = 0;//$topic['topic_vote']; $first_post = $insert_post_id + 1; $last_post = $insert_post_id + $topic['topic_replies'] + 1;
Zeile 203 istCode: Alles auswählen
$moved_id = ( $topic['topic_moved_id'] == 0 ) ? 0 :
Vielleicht hilft es ja jemanden.
Gibt es vielleicht noch eine andere Möglichkeit zwei Foren zusammen zulegen?
Code: Alles auswählen
{
$insert_topic_id++;
$moved_id = ( $topic['topic_moved_id'] == 0 ) ? 0 : $forum_ids[$topic['topic_moved_id'];
$vote_id = 0;//$topic['topic_vote'];
$first_post = $insert_post_id + 1;
$last_post = $insert_post_id + $topic['topic_replies'] + 1;
Code: Alles auswählen
$moved_id = ( $topic['topic_moved_id'] == 0 ) ? 0 : $forum_ids[$topic['topic_moved_id'];
richtig:
$moved_id = ( $topic['topic_moved_id'] == 0 ) ? 0 : $forum_ids[$topic['topic_moved_id']];
Code: Alles auswählen
$usercount = $from_db->sql_countrows($result);