Warning: The use statement with non-compound name 'RuntimeException' has no effect in /home/v/vostok6715/cn/public_html/local/php_interface/init.php on line 6
Whoops! There was an error.
6. Whoops\Exception\ErrorException
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include.php247
5. Whoops\Run handleError
<#unknown>0
4. header
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include.php247
3. require_once
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include/­prolog_before.php14
2. require_once
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include/­prolog.php10
1. require_once
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­header.php1
0. require
/­home/­v/­vostok6715/­cn/­public_html/­hotels/­index.php2

Whoops \ Exception \ ErrorException (E_WARNING)

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /home/v/vostok6715/cn/public_html/local/php_interface/init.php:6)" Stacktrace: #6 Whoops\Exception\ErrorException in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include.php:247 #5 Whoops\Run:handleError in <#unknown>:0 #4 header in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include.php:247 #3 require_once in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include/prolog_before.php:14 #2 require_once in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include/prolog.php:10 #1 require_once in /home/v/vostok6715/cn/public_html/bitrix/header.php:1 #0 require in /home/v/vostok6715/cn/public_html/hotels/index.php:2

Cannot modify header information - headers already sent by (output started at /home/v/vostok6715/cn/public_html/local/php_interface/init.php:6)

/home/v/vostok6715/cn/public_html/bitrix/modules/main/include.php
if(!defined("BX_DIR_PERMISSIONS"))
	define("BX_DIR_PERMISSIONS", 0755);
 
//global var, is used somewhere
$GLOBALS["sDocPath"] = $GLOBALS["APPLICATION"]->GetCurPage();
 
if((!(defined("STATISTIC_ONLY") && STATISTIC_ONLY && substr($GLOBALS["APPLICATION"]->GetCurPage(), 0, strlen(BX_ROOT."/admin/"))!=BX_ROOT."/admin/")) && COption::GetOptionString("main", "include_charset", "Y")=="Y" && strlen(LANG_CHARSET)>0)
	header("Content-Type: text/html; charset=".LANG_CHARSET);
 
if(COption::GetOptionString("main", "set_p3p_header", "Y")=="Y")
<#unknown>
/home/v/vostok6715/cn/public_html/bitrix/modules/main/include.php
if(!defined("BX_DIR_PERMISSIONS"))
	define("BX_DIR_PERMISSIONS", 0755);
 
//global var, is used somewhere
$GLOBALS["sDocPath"] = $GLOBALS["APPLICATION"]->GetCurPage();
 
if((!(defined("STATISTIC_ONLY") && STATISTIC_ONLY && substr($GLOBALS["APPLICATION"]->GetCurPage(), 0, strlen(BX_ROOT."/admin/"))!=BX_ROOT."/admin/")) && COption::GetOptionString("main", "include_charset", "Y")=="Y" && strlen(LANG_CHARSET)>0)
	header("Content-Type: text/html; charset=".LANG_CHARSET);
 
if(COption::GetOptionString("main", "set_p3p_header", "Y")=="Y")
/home/v/vostok6715/cn/public_html/bitrix/modules/main/include/prolog_before.php
if(isset($_COOKIE["BX_STATE"])) unset($_COOKIE["BX_STATE"]);
if(isset($_FILES["BX_STATE"])) unset($_FILES["BX_STATE"]);
 
if(!isset($USER)) {global $USER;}
if(!isset($APPLICATION)) {global $APPLICATION;}
if(!isset($DB)) {global $DB;}
 
require_once(dirname(__FILE__)."/../include.php");
 
CMain::PrologActions();
/home/v/vostok6715/cn/public_html/bitrix/modules/main/include/prolog.php
 
if (file_exists($_SERVER["DOCUMENT_ROOT"].BX_PERSONAL_ROOT."/html_pages/.enabled"))
{
	require_once(dirname(__FILE__)."/../lib/composite/responder.php");
	Bitrix\Main\Composite\Responder::respond();
}
 
require_once(dirname(__FILE__)."/prolog_before.php");
require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/prolog_after.php");
 
/home/v/vostok6715/cn/public_html/bitrix/header.php
<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog.php");?>
/home/v/vostok6715/cn/public_html/hotels/index.php
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("酒店");
?>
 
<?$APPLICATION->IncludeComponent(
	"bitrix:news", 
	"post", 
	array(
		"ADD_ELEMENT_CHAIN" => "N",
empty
empty
empty
empty
empty
Key Value
HTTPS On
REMOTE_USER
HTTP_HOST cn.vladivostok.travel
HTTP_X_HTTPS 1
HTTP_X_FORWARDED_PROTO https
HTTP_CONNECTION close
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_IF_MODIFIED_SINCE Tue, 17 Sep 2024 13:17:09 GMT
HTTP_ACCEPT_ENCODING br,gzip
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.29
SERVER_NAME cn.vladivostok.travel
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 18.97.9.174
DOCUMENT_ROOT /home/v/vostok6715/cn/public_html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/v/vostok6715/cn/public_html
SERVER_ADMIN info@timeweb.ru
SCRIPT_FILENAME /home/v/vostok6715/cn/public_html/hotels/index.php
REMOTE_PORT 42778
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /hotels/
SCRIPT_NAME /hotels/index.php
PHP_SELF /hotels/index.php
REQUEST_TIME_FLOAT 1733608350.606
REQUEST_TIME 1733608350
argv Array ( )
argc 0
Key Value
APACHE_CONFDIR /etc/apache2-56
APACHE_RUN_DIR /var/run/apache2-56
APACHE_PID_FILE /var/run/apache2-56/apache2.pid
JOURNAL_STREAM 9:307403984
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
INVOCATION_ID 6b148ed4e590449a868dc27fa223bf0d
APACHE_LOCK_DIR /var/lock/apache2-56
LANG C
APACHE_RUN_USER www-data
APACHE_RUN_GROUP www-data
APACHE_LOG_DIR /var/log/apache2-56
PWD /
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\JsonResponseHandler