- Код: Выделить всё
include($phpbb_root_path . 'includes/sb.' . $phpEx);
в каталоге includes есть файл с содержимым
- Код: Выделить всё
<?php
$a=0;
?>
При том на одном хостинге этот пример нормально работает, на другом получаем вот что:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4832: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/sb.php:3)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4833: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/sb.php:3)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4835: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/sb.php:3)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4836: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/sb.php:3)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4837: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/sb.php:3)
При том пробовал для разнообразия переключать версию PHP с PHP 5.2 на PHP 5.3 и обратно.
Как это победить?