try { if (!PIMCORE_DEBUG && !$throwExceptions && !PIMCORE_DEVMODE) { @ini_set("display_errors", "Off"); @ini_set("display_startup_errors", "Off"); return $front->dispatch($request, $response); } else { @ini_set("display_errors", "On"); @ini_set("display_startup_errors", "On"); $front->throwExceptions(true); return $front->dispatch($request, $response); } } catch (\Zend_Controller_Router_Exception $e) { if (!headers_sent()) { header("HTTP/1.0 404 Not Found"); } Logger::err($e); throw new \Zend_Controller_Router_Exception("No route, document, custom route or redirect is matching the request: " . $_SERVER["REQUEST_URI"] . " | \n" . "Specific ERROR: " . $e->getMessage()); } catch (\Exception $e) { if (!headers_sent()) { header("HTTP/1.0 500 Internal Server Error"); } throw $e; } } /** * Register Whoops error handler * * @param Zend_Config $conf * @param bool $frontend */ protected static function registerWhoopsErrorHandler(Zend_Config $conf, $frontend) { if (self::inDebugMode() && $frontend && !$conf->general->disable_whoops && !defined("HHVM_VERSION")) { $whoops = new \Whoops\Run; $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler); if (\Whoops\Util\Misc::isAjaxRequest()) {
""" No route, document, custom route or redirect is matching the request: /images/content/license.jpg | \n Specific ERROR: No route matched the request """
// only do this if not frontend => performance issue if (!$frontend) { self::initBackendRouter($router, $conf); self::checkPluginRoutes(); if ($conf) { self::handleAdminMainDomainRedirect($conf); } } self::getEventManager()->trigger("system.startup", $front); // throw exceptions also when in preview or in editmode (documents) to see it immediately when there's a problem with this page if (Tool::isFrontentRequestByAdmin()) { $user = \Pimcore\Tool\Authentication::authenticateSession(); if ($user instanceof User) { $throwExceptions = true; } } return self::runDispatcher($front, $throwExceptions, $request, $response); } /** * Run dispatcher * * This is also standard for /admin/ requests -> error handling is done in Pimcore_Controller_Action_Admin * * @param Zend_Controller_Front $front * @param bool $throwExceptions * @param Zend_Controller_Request_Abstract|null $request * @param Zend_Controller_Response_Abstract|null $response * @return void|Zend_Controller_Response_Abstract * @throws Exception * @throws Zend_Controller_Router_Exception */ protected static function runDispatcher( Zend_Controller_Front $front, $throwExceptions, Zend_Controller_Request_Abstract $request = null, Zend_Controller_Response_Abstract $response = null
Zend_Controller_Front {}
false
null
null
<?php /** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) 2009-2016 pimcore GmbH (http://www.pimcore.org) * @license http://www.pimcore.org/license GPLv3 and PEL */ include_once("pimcore/config/startup.php"); try { \Pimcore::run(); } catch (Exception $e) { // handle exceptions, log to file if(class_exists("Pimcore\\Logger")) { \Pimcore\Logger::emerg($e); } throw $e; }
Key | Value |
PHPRC | "/home/elevat02/.system/php/www.porzelack.com.ua.ini"
|
PWD | "/home/elevat02/porzelack.com.ua/www/"
|
SERVING_HOST_INFO | "apache:php56:920097:232886:www.porzelack.com.ua;"
|
TMP | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
TMPDIR | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
SHLVL | "0"
|
TEMP | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
PATH | "/usr/local/bin:/usr/bin:/bin"
|
HTTP_ACCEPT | "*/*"
|
HTTP_CONNECTION | "close"
|
CONTENT_LENGTH | "0"
|
HTTP_HOST | "porzelack.com.ua"
|
HTTP_USER_AGENT | "claudebot"
|
HTTP_X_FORWARDED_PROTO | "http"
|
HTTP_X_INTERNAL_REAL_IP | "35.169.107.177"
|
REDIRECT_UNIQUE_ID | "ZgW0eLYoFpmr8vQo3JPdiAAAAnU"
|
REDIRECT_SCRIPT_URL | "/images/content/license.jpg"
|
REDIRECT_SCRIPT_URI | "http://porzelack.com.ua/images/content/license.jpg"
|
REDIRECT_vhost_id | "920097"
|
REDIRECT_account_id | "232886"
|
REDIRECT_PWD | "/home/elevat02/porzelack.com.ua/www/"
|
REDIRECT_TMP | "/home/elevat02/.system/tmp"
|
REDIRECT_TEMP | "/home/elevat02/.system/tmp"
|
REDIRECT_STATUS | "200"
|
UNIQUE_ID | "ZgW0eLYoFpmr8vQo3JPdiAAAAnU"
|
SCRIPT_URL | "/images/content/license.jpg"
|
SCRIPT_URI | "http://porzelack.com.ua/images/content/license.jpg"
|
vhost_id | "920097"
|
account_id | "232886"
|
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache"
|
SERVER_NAME | "porzelack.com.ua"
|
SERVER_ADDR | "127.0.0.1"
|
SERVER_PORT | "80"
|
REMOTE_ADDR | "35.169.107.177"
|
DOCUMENT_ROOT | "/home/elevat02/porzelack.com.ua/www/"
|
REQUEST_SCHEME | "http"
|
CONTEXT_PREFIX | "" |
CONTEXT_DOCUMENT_ROOT | "/home/elevat02/porzelack.com.ua/www/"
|
SERVER_ADMIN | "server@admin.com"
|
SCRIPT_FILENAME | "/home/elevat02/porzelack.com.ua/www/index.php"
|
REMOTE_PORT | "12328"
|
REDIRECT_URL | "/images/content/license.jpg"
|
SERVER_PROTOCOL | "HTTP/1.0"
|
REQUEST_METHOD | "GET"
|
QUERY_STRING | "" |
REQUEST_URI | "/images/content/license.jpg"
|
SCRIPT_NAME | "/index.php"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1711649912.7252
|
REQUEST_TIME | 1711649912
|
windir | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
SystemRoot | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
Key | Value |
TMPDIR | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
TEMP | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
TMP | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
windir | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|
SystemRoot | "/home/elevat02/porzelack.com.ua/www/website/var/cache"
|