Zend_Controller_Router_Exception (404)
No route matched the request Zend_Controller_Router_Exception thrown with message "No route matched the request" Stacktrace: #4 Zend_Controller_Router_Exception in /datadrive/var/www/stageparking.unipark.lt/test_deploy/releases/22/vendor/zendframework/zendframework1/library/Zend/Controller/Router/Rewrite.php:420 #3 Zend_Controller_Router_Rewrite:route in /datadrive/var/www/stageparking.unipark.lt/test_deploy/releases/22/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php:911 #2 Zend_Controller_Front:dispatch in /datadrive/var/www/stageparking.unipark.lt/test_deploy/releases/22/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php:105 #1 Zend_Application_Bootstrap_Bootstrap:run in /datadrive/var/www/stageparking.unipark.lt/test_deploy/releases/22/vendor/zendframework/zendframework1/library/Zend/Application.php:384 #0 Zend_Application:run in /datadrive/var/www/stageparking.unipark.lt/test_deploy/releases/22/index.php:18
Stack frames (5)
4
Zend_Controller_Router_Exception
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Router
/
Rewrite.php
420
3
Zend_Controller_Router_Rewrite
route
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Front.php
911
2
Zend_Controller_Front
dispatch
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Application
/
Bootstrap
/
Bootstrap.php
105
1
Zend_Application_Bootstrap_Bootstrap
run
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Application.php
384
0
Zend_Application
run
/
index.php
18
/
datadrive
/
var
/
www
/
stageparking.unipark.lt
/
test_deploy
/
releases
/
22
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Router
/
Rewrite.php
            }
 
            // TODO: Should be an interface method. Hack for 1.0 BC
            if (!method_exists($route, 'getVersion') || $route->getVersion() == 1) {
                $match = $request->getPathInfo();
            } else {
                $match = $request;
            }
 
            if ($params = $route->match($match)) {
                $this->_setRequestParams($request, $params);
                $this->_currentRoute = $name;
                $routeMatched        = true;
                break;
            }
        }
 
        if (!$routeMatched) {
            require_once 'Zend/Controller/Router/Exception.php';
            throw new Zend_Controller_Router_Exception('No route matched the request', 404);
        }
 
        if ($this->_useCurrentParamsAsGlobal) {
            $params = $request->getParams();
            foreach ($params as $param => $value) {
                $this->setGlobalParam($param, $value);
            }
        }
 
        return $request;
    }
 
    /**
     * Sets parameters for request object
     *
     * Module name, controller name and action name
     *
     * @param Zend_Controller_Request_Abstract $request
     * @param array                            $params
     */
Arguments
  1. "No route matched the request"
    
/
datadrive
/
var
/
www
/
stageparking.unipark.lt
/
test_deploy
/
releases
/
22
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Front.php
        /**
         * Initialize dispatcher
         */
        $dispatcher = $this->getDispatcher();
        $dispatcher->setParams($this->getParams())
                   ->setResponse($this->_response);
 
        // Begin dispatch
        try {
            /**
             * Route request to controller/action, if a router is provided
             */
 
            /**
            * Notify plugins of router startup
            */
            $this->_plugins->routeStartup($this->_request);
 
            try {
                $router->route($this->_request);
            }  catch (Exception $e) {
                if ($this->throwExceptions()) {
                    throw $e;
                }
 
                $this->_response->setException($e);
            }
 
            /**
            * Notify plugins of router completion
            */
            $this->_plugins->routeShutdown($this->_request);
 
            /**
             * Notify plugins of dispatch loop startup
             */
            $this->_plugins->dispatchLoopStartup($this->_request);
 
            /**
             *  Attempt to dispatch the controller/action. If the $this->_request
Arguments
  1. Zend_Controller_Request_Http {}
    
/
datadrive
/
var
/
www
/
stageparking.unipark.lt
/
test_deploy
/
releases
/
22
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Application
/
Bootstrap
/
Bootstrap.php
     * exception is thrown.
     *
     * If so, it registers the bootstrap with the 'bootstrap' parameter of
     * the front controller, and dispatches the front controller.
     *
     * @return mixed
     * @throws Zend_Application_Bootstrap_Exception
     */
    public function run()
    {
        $front   = $this->getResource('FrontController');
        $default = $front->getDefaultModule();
        if (null === $front->getControllerDirectory($default)) {
            throw new Zend_Application_Bootstrap_Exception(
                'No default controller directory registered with front controller'
            );
        }
 
        $front->setParam('bootstrap', $this);
        $response = $front->dispatch();
        if ($front->returnResponse()) {
            return $response;
        }
    }
 
    /**
     * Set module resource loader
     *
     * @param  Zend_Loader_Autoloader_Resource $loader
     * @return Zend_Application_Module_Bootstrap
     */
    public function setResourceLoader(Zend_Loader_Autoloader_Resource $loader)
    {
        $this->_resourceLoader = $loader;
        return $this;
    }
 
    /**
     * Retrieve module resource loader
     *
/
datadrive
/
var
/
www
/
stageparking.unipark.lt
/
test_deploy
/
releases
/
22
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Application.php
    /**
     * Bootstrap application
     *
     * @param  null|string|array $resource
     * @return Zend_Application
     */
    public function bootstrap($resource = null)
    {
        $this->getBootstrap()->bootstrap($resource);
        return $this;
    }
 
    /**
     * Run the application
     *
     * @return void
     */
    public function run()
    {
        $this->getBootstrap()->run();
    }
 
    /**
     * Load configuration file of options
     *
     * @param  string $file
     * @throws Zend_Application_Exception When invalid configuration file is provided
     * @return array
     */
    protected function _loadConfig($file)
    {
        $environment = $this->getEnvironment();
        $suffix      = pathinfo($file, PATHINFO_EXTENSION);
        $suffix      = ($suffix === 'dist')
                     ? pathinfo(basename($file, ".$suffix"), PATHINFO_EXTENSION)
                     : $suffix;
 
        switch (strtolower($suffix)) {
            case 'ini':
                $config = new Zend_Config_Ini($file, $environment);
/
datadrive
/
var
/
www
/
stageparking.unipark.lt
/
test_deploy
/
releases
/
22
/
index.php
<?php
//date_default_timezone_set("Europe/Vilnius");
// Define path to application directory
defined( 'APPLICATION_PATH' ) || define( 'APPLICATION_PATH', realpath( dirname( __FILE__ ) . '/application' ) );
 
// Define application environment
defined( 'APPLICATION_ENV' ) || define( 'APPLICATION_ENV', (getenv( 'APPLICATION_ENV' ) ? getenv( 'APPLICATION_ENV' ) : 'development') );
 
require 'vendor/autoload.php';
 
/**
 * Zend_Application
 */
require_once 'Zend/Application.php';
 
// Create application, bootstrap, and run
$application = new Zend_Application( APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini' );
$application->bootstrap()->run();
 
// set default time zone
$config = Zend_Controller_Front::getInstance()->getParam('bootstrap');
$keySendGrid = $config->getOption('phpSettings');
$timezone = $keySendGrid['date']['timezone'];
date_default_timezone_set($timezone);

Environment & details:

Key Value
v
"4"
empty
empty
empty
empty
Key Value
USER
"www-data"
HOME
"/var/www"
HTTP_HOST
"stage.unipark.lt"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
REDIRECT_STATUS
"200"
SERVER_NAME
"stageparking.unipark.lt"
SERVER_PORT
"80"
SERVER_ADDR
"10.0.2.4"
REMOTE_PORT
"53068"
REMOTE_ADDR
"54.221.69.42"
SERVER_SOFTWARE
"nginx/1.18.0"
GATEWAY_INTERFACE
"CGI/1.1"
REQUEST_SCHEME
"http"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/datadrive/var/www/stageparking.unipark.lt/test_deploy/current"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/lv/page/par-unipark$ligums-32?v=4"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"v=4"
SCRIPT_FILENAME
"/datadrive/var/www/stageparking.unipark.lt/test_deploy/current/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711719798.9737
REQUEST_TIME
1711719798
empty
0. Whoops\Handler\PrettyPageHandler