прием заказов

с 10:00 до 21:30

Whoops! There was an error.
20. Whoops\Exception\ErrorException
…/­phproad/­modules/­phpr/­classes/­phpr_response.php216
19. Whoops\Run handleError
<#unknown>0
18. setcookie
…/­phproad/­modules/­phpr/­classes/­phpr_response.php216
17. Phpr_Response setCookie
…/­modules/­uminaki/­classes/­uminaki_cart.php91
16. Uminaki_Cart getCart
…/­views/­shop/­_mini_cart.htm5
15. include
…/­phproad/­modules/­phpr/­classes/­phpr_controller.php163
14. Phpr_Controller renderPartial
…/­phproad/­modules/­core/­classes/­core_frontendcontroller.php217
13. Core_FrontendController renderPartial
…/­views/­layouts/­_header.htm31
12. include
…/­phproad/­modules/­phpr/­classes/­phpr_controller.php587
11. Phpr_Controller renderLayout
…/­views/­layouts/­default.htm10
10. include
…/­phproad/­modules/­phpr/­classes/­phpr_controller.php587
9. Phpr_Controller renderLayout
…/­phproad/­modules/­phpr/­classes/­phpr_controller.php389
8. Phpr_Controller loadView
…/­phproad/­modules/­core/­classes/­core_frontendcontroller.php139
7. Core_FrontendController on404
<#unknown>0
6. call_user_func_array
…/­phproad/­modules/­phpr/­classes/­phpr_controller.php437
5. Phpr_Controller executeAction
…/­phproad/­modules/­core/­classes/­core_frontendcontroller.php271
4. Core_FrontendController executeAction
…/­phproad/­modules/­phpr/­classes/­phpr_controller.php362
3. Phpr_Controller _run
…/­phproad/­modules/­phpr/­classes/­phpr_response.php145
2. Phpr_Response open404
…/­phproad/­modules/­phpr/­classes/­phpr_response.php115
1. Phpr_Response open
…/­phproad/­system/­phproad.php189
0. include
…/­index.php45

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/uminaki/www/views/layouts/_header.htm:18)" Stacktrace: #20 Whoops\Exception\ErrorException in /home/uminaki/www/phproad/modules/phpr/classes/phpr_response.php:216 #19 Whoops\Run:handleError in <#unknown>:0 #18 setcookie in /home/uminaki/www/phproad/modules/phpr/classes/phpr_response.php:216 #17 Phpr_Response:setCookie in /home/uminaki/www/modules/uminaki/classes/uminaki_cart.php:91 #16 Uminaki_Cart:getCart in /home/uminaki/www/views/shop/_mini_cart.htm:5 #15 include in /home/uminaki/www/phproad/modules/phpr/classes/phpr_controller.php:163 #14 Phpr_Controller:renderPartial in /home/uminaki/www/phproad/modules/core/classes/core_frontendcontroller.php:217 #13 Core_FrontendController:renderPartial in /home/uminaki/www/views/layouts/_header.htm:31 #12 include in /home/uminaki/www/phproad/modules/phpr/classes/phpr_controller.php:587 #11 Phpr_Controller:renderLayout in /home/uminaki/www/views/layouts/default.htm:10 #10 include in /home/uminaki/www/phproad/modules/phpr/classes/phpr_controller.php:587 #9 Phpr_Controller:renderLayout in /home/uminaki/www/phproad/modules/phpr/classes/phpr_controller.php:389 #8 Phpr_Controller:loadView in /home/uminaki/www/phproad/modules/core/classes/core_frontendcontroller.php:139 #7 Core_FrontendController:on404 in <#unknown>:0 #6 call_user_func_array in /home/uminaki/www/phproad/modules/phpr/classes/phpr_controller.php:437 #5 Phpr_Controller:executeAction in /home/uminaki/www/phproad/modules/core/classes/core_frontendcontroller.php:271 #4 Core_FrontendController:executeAction in /home/uminaki/www/phproad/modules/phpr/classes/phpr_controller.php:362 #3 Phpr_Controller:_run in /home/uminaki/www/phproad/modules/phpr/classes/phpr_response.php:145 #2 Phpr_Response:open404 in /home/uminaki/www/phproad/modules/phpr/classes/phpr_response.php:115 #1 Phpr_Response:open in /home/uminaki/www/phproad/system/phproad.php:189 #0 include in /home/uminaki/www/index.php:45

Cannot modify header information - headers already sent by (output started at /home/uminaki/www/views/layouts/_header.htm:18)

			printf(__METHOD__ . " invokation not available in cli mode\n");
			return;
		}
		$_COOKIE[$name] = $value;
		if ($expire > 0) {
			$expire = time() + $expire * 24 * 3600;
		}
		setcookie($name, $value, $expire, $path, $domain, $secure);
	}

<#unknown>
			printf(__METHOD__ . " invokation not available in cli mode\n");
			return;
		}
		$_COOKIE[$name] = $value;
		if ($expire > 0) {
			$expire = time() + $expire * 24 * 3600;
		}
		setcookie($name, $value, $expire, $path, $domain, $secure);
	}

			if (self::checkIdAccessibility($cartId)) {
				try {
					$cart = self::create();
					$cart->cart_id = $cartId;
				} catch (Exception $e) {
					continue;
				}
				Phpr::$response->setCookie(self::cookieName, $cartId, 90);
				return $cart;
			}
<? /** @var Uminaki_Cart $cart */ ?>
<div id="mini-cart-form">
    <?
    if (!isset($cart) || !$cart) {
        $cart = Uminaki_Cart::getCart();
    }
    $items = $cart->getItemsCount();
    $price = $cart->getTotalPrice();
    ?>
    <script>
			$viewFile = $this->getViewsDirPath() . "/" . strtolower($view) . ".htm";
		} else {
			$viewFile = $view;
		}

		if (file_exists($viewFile)) {
			/** @noinspection PhpIncludeInspection */
			include $viewFile;
		} elseif ($partialMode) {
			throw new Phpr_SystemException('Partial file not found: ' . $viewFile);
	 * @param boolean $partialMode
	 * @param boolean $forcePath
	 */
	public function renderPartial($view, $params = null, $partialMode = true, $forcePath = false) {
		if (substr($view, 0, 1) == '/' && substr($view, 0, strlen(PATH_APP)) != PATH_APP)
			$view = PATH_APP . $view;
 
		parent::renderPartial($view, $params, $partialMode, $forcePath);
	}
 
                        });
 
                        return false;
                    }
                </script>
 
                <?= Phpr_Form::OpenTag(array('id' => 'mini_cart_form', 'action' => '/'.Phpr::$config->get('BACKEND_PUBLIC_ROOT').'/shop/')) ?>
                    <? $this->renderPartial(PATH_APP . '/views/shop/_mini_cart.htm', array(), true, true) ?>
                <? Phpr_Form::closeTag();?>
                <!-- CART TABLE [END] -->
		}

		if (!file_exists($layoutPath)) {
			throw new Phpr_SystemException("The layout file \"{$layoutPath}\" does not exist");
		}

		/** @noinspection PhpIncludeInspection */
		include $layoutPath;
	}

	<head>
		<? $this->renderLayout('_head') ?>
	</head>
	<body>
		<? $this->renderLayout('_for_old_browsers') ?>
        <div class="welcome-to-project-html">
		<div id="layout">
            <? $this->renderLayout("_header")?>
			<div id="header">
				<?/*<div id="logo">
		}

		if (!file_exists($layoutPath)) {
			throw new Phpr_SystemException("The layout file \"{$layoutPath}\" does not exist");
		}

		/** @noinspection PhpIncludeInspection */
		include $layoutPath;
	}

		Phpr_View::beginBlock("OutsideBlock");
		$this->renderPartial($view, null, false);
		Phpr_View::endBlock();

		Phpr_View::appendBlock('view', Phpr_View::getBlock('OutsideBlock'));

		// Render the layout
		$this->renderLayout();

		if ($suppressDefault) {
			$this->viewData['title'] = $block->title_no_typo; //Phpr::$config->get('ENABLE_TYPOGRAPHIC') ? $block->title : h($block->title);
			$this->viewData['block'] = $block;
			$this->viewData['body_class'] = Phpr::$config->get('STATICPAGE_CLASS', 'inner');
			$this->layout = Phpr::$config->get('STATICPAGE_LAYOUT', 'default');
			if ($block->template && is_file($this->getViewsDir() . "/application/" . $block->template . ".htm")) {
				$this->staticView = $block->template;
			}
			$this->loadView($this->staticView, false, true);
		} else {
			if (PHP_SAPI != "cli") {
<#unknown>
	 * Invokes the controller action or event handler and loads corresponding view.
	 *
	 * @param string $methodName Specifies a method name to execute.
	 * @param array $parameters A list of the action parameters.
	 */
	public function executeAction($methodName, $parameters) {
		// Execute the action
		call_user_func_array([&$this, $methodName], $parameters);

		// Load the view
	public function executeAction($methodName, $parameters) {
		$this->action_parameters = $parameters;
 
		$post = Phpr::$request->getRequestType() == Phpr_Request::POST; // (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'POST');
		$cacheable = isset($this->cacheableActions[$methodName]) || in_array($methodName, $this->cacheableActions);
 
		if (!Phpr::$cache || !$cacheable) {
			parent::executeAction($methodName, $parameters);
			return;
		}
	public function _run($actionName, $parameters) {
		if (Phpr::$request->isAjaxRequest()) {
			$this->suppressView();
		}

		// If no event was handled, execute the action requested in URI
		if (!$this->dispatchEvents($actionName, $parameters)) {
			$this->executeAction($actionName, $parameters);
		}
	}
	 * By default this method opens a page provided by the PHP Road.
	 * You may supply the application 404 page by creating the On404() action in the Application Controller.
	 */
	public function open404() {
		// Try to execute the application controller On404 action.
		$controller = Phpr::$classLoader->loadController(self::controllerApplication);
		if ($controller != null && $controller->_actionExists(self::actionOn404Action)) {
			$controller->_run(self::actionOn404Action, array());
			//exit;
		} else {
		}

		if ($action == $controller)
			$action = 'index';

		if ($obj) {
			if ($obj->canCheckAnAction() && !$obj->_actionExists($action)) {
				$this->open404();
				return;
			}
		throw new Phpr_SystemException('Класс плагина ' . $className . ' должен реализовывать интерфейс Admin_ICmsPlugin.');
	}

	new $className($config);
}

if (!isset($Phpr_InitOnly) || !$Phpr_InitOnly) {
    Phpr::$response->open(Phpr::$request->getCurrentUri(true));
}
/*
 * Include the PHP Road library
 *
 * You may need to specify a full path to the phproad.php script,
 * in case if the PHP Road root directory is not specified in the PHP includes path.
 *
 */
include(dirname(__FILE__) . "/phproad/system/phproad.php");

if (Phpr::$request->isDebugRequest()) {
Key Value
USER uminaki
HOME /home/uminaki
FCGI_ROLE RESPONDER
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /sakh/payment/index.php
REQUEST_URI /sakh/payment/
DOCUMENT_URI /sakh/payment/
DOCUMENT_ROOT /etc/nginx/html
SERVER_PROTOCOL HTTP/1.0
REQUEST_SCHEME https
HTTPS on
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.11.8
REMOTE_ADDR 54.90.92.204
REMOTE_PORT 52924
SERVER_ADDR 109.120.170.87
SERVER_PORT 443
SERVER_NAME uminaki.ru
REDIRECT_STATUS 200
SCRIPT_FILENAME /home/uminaki/www/index.php
HTTP_HOST uminaki.ru
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_IF_MODIFIED_SINCE Tue, 17 Oct 2017 13:22:25 GMT
PHP_SELF /sakh/payment/index.php
REQUEST_TIME_FLOAT 1513366234.161
REQUEST_TIME 1513366234
empty
empty
empty
Key Value
cart-id 4c9ce4b3f5d5aa72d1568a9b4cc56867bd31981d5ba7f0e2c82a726d1ee82b18cec55a8fc771f5b33cc9cd3cbb2ce1ed603807f4680306584eeeb7380bef66ee
empty
empty
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler
2. Whoops\Handler\CallbackHandler