nutze die aktuelle Version.
Habe mir heute eine Seite angelegt. Jedoch gibt es im Header eine Fehlermeldung:
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4285: Cannot modify header information - headers already sent by (output started at /partner.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /partner.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /partner.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4289: Cannot modify header information - headers already sent by (output started at /partner.php:1)
Hier mal beide Datein:
Die PHP Datei:
Code: Alles auswählen
<?php
// Benötigte Dateien und Variablen von phpBB
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Session auslesen und Benutzer-Informationen laden
$user->session_begin();
$user->setup();
//$auth->acl($user->data);
/*
* Inhaltsbereich
*/
// Header und Titel der Seite
page_header('Partner');
if ($user->data['user_id'] == ANONYMOUS)
{
login_box();
}
else
{
// Angabe eurer Content-Seite
$template->set_filenames(array(
'body' => 'partner.html')
);
}
// Footer
page_footer();
?>
Code: Alles auswählen
<!-- INCLUDE overall_header.html -->
<div id="pagecontent">
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>Partner</th>
</tr>
<tr>
<td class="row1">
<div align="center">
<a href="http://www.vpro-forum.de"><img
src="http://vpro.square7.ch/forum/images/v2/toplinks/vPro-Banner.jpg" alt="vPro-Forum.de"></img></a>
</div>
<
</td>
</tr>
</table>
</div>
<br clear="all" />
<!-- INCLUDE overall_footer.html -->
Lg
Dennis