Преблем с интегриране на сайт

winers

Registered
Здравейте използвам писан сайт и phpbb3
Имам код за интегриране и сичко си работи, но когато не си логнат горе в сайта над логото показва тази грешка

Код:
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /home/universal-gaming.us/universal-gaming.us/index.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /home/universal-gaming.us/universal-gaming.us/index.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /home/universal-gaming.us/universal-gaming.us/index.php:1)

session.php 916 ред като го махна се оправя грешката но неможе да се логна

Код:
		header('Set-Cookie: ' . $name_data . (($cookietime) ? '; expires=' . $expire : '') . '; path=' . $config['cookie_path'] . $domain . ((!$config['cookie_secure']) ? '' : '; secure') . '; HttpOnly', false);

А ето и index.php 1 ред

Код:
<?php include("top.php"); ?>

top.php

Код:
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
?>
 
Мисля, че го оправих
Сложих кода над <html>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php include("top.php"); ?>
<html>
 

Back
Горе