На локалхост никакъв проблем не дава а на платения хостинг дава ерор .. ето вижте
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/kill1ng-z0ne.info/kill1ng-z0ne.info/index2.php:56)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/kill1ng-z0ne.info/kill1ng-z0ne.info/index2.php:56)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/kill1ng-z0ne.info/kill1ng-z0ne.info/index2.php:56)
ето и проблемният файл
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/kill1ng-z0ne.info/kill1ng-z0ne.info/index2.php:56)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/kill1ng-z0ne.info/kill1ng-z0ne.info/index2.php:56)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /home/kill1ng-z0ne.info/kill1ng-z0ne.info/index2.php:56)
ето и проблемният файл
Код:
<?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();
?>