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.
8. Whoops\Exception\ErrorException
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include.php247
7. Whoops\Run handleError
<#unknown>0
6. header
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include.php247
5. require_once
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include/­prolog_before.php14
4. require_once
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include/­prolog.php10
3. require_once
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­header.php1
2. require
/­home/­v/­vostok6715/­cn/­public_html/­hotels/­index.php2
1. include_once
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­modules/­main/­include/­urlrewrite.php159
0. include_once
/­home/­v/­vostok6715/­cn/­public_html/­bitrix/­urlrewrite.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: #8 Whoops\Exception\ErrorException in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include.php:247 #7 Whoops\Run:handleError in <#unknown>:0 #6 header in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include.php:247 #5 require_once in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include/prolog_before.php:14 #4 require_once in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include/prolog.php:10 #3 require_once in /home/v/vostok6715/cn/public_html/bitrix/header.php:1 #2 require in /home/v/vostok6715/cn/public_html/hotels/index.php:2 #1 include_once in /home/v/vostok6715/cn/public_html/bitrix/modules/main/include/urlrewrite.php:159 #0 include_once in /home/v/vostok6715/cn/public_html/bitrix/urlrewrite.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",
/home/v/vostok6715/cn/public_html/bitrix/modules/main/include/urlrewrite.php
			$ext = strtolower(GetFileExtension($url));
			if ($ext != "php")
				continue;
 
			CHTTP::SetStatus("200 OK");
 
			$_SERVER["REAL_FILE_PATH"] = $url;
			include_once($io->GetPhysicalName($_SERVER['DOCUMENT_ROOT'].$url));
			die();
		}
/home/v/vostok6715/cn/public_html/bitrix/urlrewrite.php
<?
include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php');
if(file_exists($_SERVER['DOCUMENT_ROOT'].'/404.php'))
	include_once($_SERVER['DOCUMENT_ROOT'].'/404.php');
?>
empty
empty
empty
empty
empty
Key Value
REDIRECT_HTTPS On
REDIRECT_STATUS 200
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_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 44.220.251.236
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/bitrix/urlrewrite.php
REMOTE_PORT 44720
REDIRECT_URL /hotels/avanta/
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /hotels/avanta/
SCRIPT_NAME /bitrix/urlrewrite.php
PHP_SELF /bitrix/urlrewrite.php
REQUEST_TIME_FLOAT 1728397342.055
REQUEST_TIME 1728397342
argv Array ( )
argc 0
REAL_FILE_PATH /hotels/index.php
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:3867373300
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
INVOCATION_ID 0c508ba928094b47bbff4b47648507c7
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