roman 0 Report post Posted March 8, 2004 Hallo zusammen Ich habe im IB ein paar Variable verändert, dass ich es in meine Page include kann. Wenn ich es nun aufrufen will, kommt die Fehlermeldung: Parse error: parse error in /home/www/webxxx/html/forum/index.php on line 221 Die Zeile 221 in der index.php sieht bei mir so aus: $ibforums->base_url = $ibforums->vars['board_url']'&'; Share this post Link to post
Helge 192 Report post Posted March 8, 2004 Willkommen auf IPBSupport.de Kannst du Bitte mal die Zeile +/- 5 Zeilen posten? Share this post Link to post
roman 0 Report post Posted March 8, 2004 (edited) Hallo Hier: //-------------------------------- // The rest :D //-------------------------------- $ibforums->member = $sess->authorise(); $ibforums->skin = $std->load_skin(); $ibforums->lastclick = $sess->last_click; $ibforums->location = $sess->location; $ibforums->session_id = $sess->session_id; list($ppu,$tpu) = explode( "&", $ibforums->member['view_prefs'] ); $ibforums->vars['display_max_topics'] = ($tpu > 0) ? $tpu : $ibforums->vars['display_max_topics']; $ibforums->vars['display_max_posts'] = ($ppu > 0) ? $ppu : $ibforums->vars['display_max_posts']; //-------------------------------- // Set up the session ID stuff //-------------------------------- if ( $ibforums->session_type == 'cookie' ) { $ibforums->session_id = ""; $ibforums->base_url = $ibforums->vars['board_url']'&'; } else { $ibforums->base_url = $ibforums->vars['board_url']'&s='.$ibforums->session_id.'&'; } $ibforums->js_base_url = $ibforums->vars['board_url']'&s='.$ibforums->session_id.'&'; //-------------------------------- // Set up the forum_read cookie //-------------------------------- $std->hdl_forum_read_cookie(); Edited March 8, 2004 by roman Share this post Link to post
Helge 192 Report post Posted March 8, 2004 So sieht das ganze im Original aus Da hast du wohl was falsch "angepasst" //-------------------------------- // The rest :D //-------------------------------- $ibforums->member = $sess->authorise(); $ibforums->skin = $std->load_skin(); $ibforums->lastclick = $sess->last_click; $ibforums->location = $sess->location; $ibforums->session_id = $sess->session_id; list($ppu,$tpu) = explode( "&", $ibforums->member['view_prefs'] ); $ibforums->vars['display_max_topics'] = ($tpu > 0) ? $tpu : $ibforums->vars['display_max_topics']; $ibforums->vars['display_max_posts'] = ($ppu > 0) ? $ppu : $ibforums->vars['display_max_posts']; //-------------------------------- // Set up the session ID stuff //-------------------------------- if ( $ibforums->session_type == 'cookie' ) { $ibforums->session_id = ""; $ibforums->base_url = $ibforums->vars['board_url'].'/index.'.$ibforums->vars['php_ext'].'?'; } else { $ibforums->base_url = $ibforums->vars['board_url'].'/index.'.$ibforums->vars['php_ext'].'?s='.$ibforums->session_id.'&'; } $ibforums->js_base_url = $ibforums->vars['board_url'].'/index.'.$ibforums->vars['php_ext'].'?s='.$ibforums->session_id.'&'; //-------------------------------- // Set up the forum_read cookie //-------------------------------- $std->hdl_forum_read_cookie(); Share this post Link to post
roman 0 Report post Posted March 8, 2004 (edited) Wie muss ich es dann anpassen? Ich muss ja das index.php wegmachen und das ? durch ein & ersetzen. EDIT: Kann mir mal jemand helfen? Edited March 9, 2004 by roman Share this post Link to post