Verfasst: 07.11.2003 20:25


phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Die entsprechenden Zeilen im page_header.php sind:Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/webXX/html/phpBB2/lmo/start.php:24) in /usr/local/httpd/htdocs/kunden/webXX/html/phpBB2/includes/page_header.php on line 535
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/webXX/html/phpBB2/lmo/start.php:24) in /usr/local/httpd/htdocs/kunden/webXX/html/phpBB2/includes/page_header.php on line 536
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/kunden/webXX/html/phpBB2/lmo/start.php:24) in /usr/local/httpd/htdocs/kunden/webXX/html/phpBB2/includes/page_header.php on line 537
Und hier noch mal die modifizierte Wila Methode:page_header.php
535 header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
536 header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
537 header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
Code: Alles auswählen
<?php
/***************************************************************************
* start.php - phpBB Integration of the Liga Manager Online
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = '/usr/local/httpd/htdocs/kunden/webXX/html/phpBB2/';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
?>
<HTML>
<head>
<meta name="description" content="'.$board_config['sitename'].$board_config['site_desc'].'" />
<SCRIPT Language="JavaScript">
NS4 = (document.layers);
if (NS4) { document.write('<link rel="stylesheet" href="nc.css" type="text/css">'); }
else { document.write('<link rel="stylesheet" href="http://www.XXX.de/phpBB2/templates/Cobalt/Cobalt.css" type="text/css">'); }
</script>
<noscript>
<link rel="stylesheet" href="http://www.XXX.de/phpBB2/lmo/lmo-style.css" type="text/css">
</noscript></head>
<?
//
// page build
//
$page_title = "Fussball";
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
?>
<br>
<body>
<table class=txt1 width="100%" cellspacing=0 cellpadding=3>
<tr>
<td class=txt1 align="center" width="100%" valign="middle"> <?PHP require("/usr/local/httpd/htdocs/kunden/webXX/html/phpBB2/lmo/lmo-start.php"); ?>
</td></tr></table>
<?
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Code: Alles auswählen
<HTML>
<head>
<meta name="description" content="'.$board_config['sitename'].$board_config['site_desc'].'" />
<SCRIPT Language="JavaScript">
NS4 = (document.layers);
if (NS4) { document.write('<link rel="stylesheet" href="nc.css" type="text/css">'); }
else { document.write('<link rel="stylesheet" href="../templates/subSilver/subSilver.css" type="text/css">'); }
</script>
<noscript>
<link rel="stylesheet" href="lmo-style.css" type="text/css">
</noscript></head>
<?PHP
if(!isset($action)){$action="";}
if($action=="tipp"){session_start();}
?>
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './../'; // <--
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
?>
<br>
<body>
<table class=txt1 width="100%" cellspacing=0 cellpadding=3>
<tr>
<td class=txt1 align="center" width="100%" valign="middle"><?PHP require("lmo-start.php"); ?>
</td></tr></table>
<?
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Code: Alles auswählen
<?PHP
if(!isset($action)){$action="";}
if($action=="tipp"){session_start();}
?>
Code: Alles auswählen
<link rel="stylesheet" href="http://www.XXX.de/phpBB2/templates/Cobalt/Cobalt.css" type="text/css">