Symfony \ Component \ Routing \ Exception \ ResourceNotFoundException
No routes found for "/plastik.html". Symfony\Component\Routing\Exception\ResourceNotFoundException thrown with message "No routes found for "/plastik.html"." Stacktrace: #4 Symfony\Component\Routing\Exception\ResourceNotFoundException in /var/www/vhosts/gmkmakina.com/httpdocs/vendor/symfony/routing/Matcher/UrlMatcher.php:96 #3 Symfony\Component\Routing\Matcher\UrlMatcher:match in /var/www/vhosts/gmkmakina.com/httpdocs/app/Core/RouteResolver.php:27 #2 App\Core\RouteResolver:resolve in /var/www/vhosts/gmkmakina.com/httpdocs/app/Core/Application.php:196 #1 App\Core\Application:dispatch in /var/www/vhosts/gmkmakina.com/httpdocs/app/Core/Application.php:220 #0 App\Core\Application:send in /var/www/vhosts/gmkmakina.com/httpdocs/public/index.php:26
Stack frames (5)
4
Symfony\Component\Routing\Exception\ResourceNotFoundException
/vendor/symfony/routing/Matcher/UrlMatcher.php96
3
Symfony\Component\Routing\Matcher\UrlMatcher match
/app/Core/RouteResolver.php27
2
App\Core\RouteResolver resolve
/app/Core/Application.php196
1
App\Core\Application dispatch
/app/Core/Application.php220
0
App\Core\Application send
/public/index.php26
/var/www/vhosts/gmkmakina.com/httpdocs/vendor/symfony/routing/Matcher/UrlMatcher.php
    {
        return $this->context;
    }
 
    /**
     * {@inheritdoc}
     */
    public function match(string $pathinfo)
    {
        $this->allow = $this->allowSchemes = [];
 
        if ($ret = $this->matchCollection(rawurldecode($pathinfo) ?: '/', $this->routes)) {
            return $ret;
        }
 
        if ('/' === $pathinfo && !$this->allow && !$this->allowSchemes) {
            throw new NoConfigurationException();
        }
 
        throw 0 < \count($this->allow) ? new MethodNotAllowedException(array_unique($this->allow)) : new ResourceNotFoundException(sprintf('No routes found for "%s".', $pathinfo));
    }
 
    /**
     * {@inheritdoc}
     */
    public function matchRequest(Request $request)
    {
        $this->request = $request;
 
        $ret = $this->match($request->getPathInfo());
 
        $this->request = null;
 
        return $ret;
    }
 
    public function addExpressionLanguageProvider(ExpressionFunctionProviderInterface $provider)
    {
        $this->expressionLanguageProviders[] = $provider;
    }
Arguments
  1. "No routes found for "/plastik.html"."
    
/var/www/vhosts/gmkmakina.com/httpdocs/app/Core/RouteResolver.php
use Symfony\Component\Routing\RequestContext;
 
class RouteResolver
{
    /**
     * Verilen request ile uyuşan bir route olup olmadığını tespit eder.
     *
     * Eğer eşleşen bir route olması durumunda bu routeyi geri döndürür.
     *
     * @param $request
     * @return array
     */
    public static function resolve($request)
    {
        $routes = Application::getInstance()->getRoutes();
        $context = new RequestContext("/");
        $context->fromRequest($request);
        $matcher = new UrlMatcher($routes, $context);
 
        return $matcher->match($request->getPathInfo());
    }
}
Arguments
  1. "/plastik.html"
    
/var/www/vhosts/gmkmakina.com/httpdocs/app/Core/Application.php
    public function loadProviders()
    {
        $app_config_path = ROOT_PATH . '/config/app.yml';
        $app_config = Yaml::parseFile($app_config_path);
 
        foreach ($app_config["providers"] as $provider) {
            $provider::register();
        }
    }
 
    /**
     * Gelen request parçala, route ve aksiyon ve parametre
     * bilgilerini al
     *
     * @param $request
     * @return array
     */
    public function dispatch($request)
    {
        $match = RouteResolver::resolve($request);
        // use double brackets to get controller array from result
        [$action, $route] = pullOut($match, "_controller", "_route");
        $request->setRoute($route);
        [$controller, $method] = explode('::', $action);
 
        return [
            'action' => [
                new $controller,
                $method
            ],
            'parameters' => $match
        ];
    }
 
    /**
     * Gelen requestin gereken şartları taşıması halinde
     * ilgili aksiyona gönder
     *
     * @param $request
     * @return mixed|Response
Arguments
  1. App\Core\Request {#18
      -route: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#9}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#13}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#19}
      +server: Symfony\Component\HttpFoundation\ServerBag {#70}
      +files: Symfony\Component\HttpFoundation\FileBag {#69}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#68}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#71}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/plastik.html"
      #requestUri: "/plastik.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/vhosts/gmkmakina.com/httpdocs/app/Core/Application.php
 
        return [
            'action' => [
                new $controller,
                $method
            ],
            'parameters' => $match
        ];
    }
 
    /**
     * Gelen requestin gereken şartları taşıması halinde
     * ilgili aksiyona gönder
     *
     * @param $request
     * @return mixed|Response
     */
    public function send($request)
    {
        $action = $this->dispatch($request);
 
        $this->justifyRequest($request);
 
        $response = call_user_func($action['action'], ...array_values($action['parameters']));
 
        if (!($response instanceof Response)) {
            $response = response($response);
        }
 
        return $response;
    }
 
    /**
     * Requesting gereken şartları taşıdığını kontrol eder
     * ve request üzerinde bir takım düzenlemeler yapar.
     *
     * @param $request
     */
    public function justifyRequest($request)
    {
Arguments
  1. App\Core\Request {#18
      -route: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#9}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#13}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#19}
      +server: Symfony\Component\HttpFoundation\ServerBag {#70}
      +files: Symfony\Component\HttpFoundation\FileBag {#69}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#68}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#71}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/plastik.html"
      #requestUri: "/plastik.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/vhosts/gmkmakina.com/httpdocs/public/index.php
 
# gerekli ön hazırlıkları tamamla ve app instancesini al
$app = require __DIR__ . '/../bootstrap/app.php';
 
# global php değişkenlerini kullanarak http isteğini oluştur
$request = \App\Core\Request::createFromGlobals();
# Eğer uygulama kurulumu gerçekleşmemişse ve uygulamanın kurulumu dışında
# bir istek varsa öncelikle kurulum sayfasını getir
# Eğer kurulum sırasında kurulumun tamamnlanması için istek gönderilmiş ise
# bu isteklerin devam etmesine izin ver.
if ($app->applicationNeedsSetup() && !$request->isSetupProcess()){
    $app->setupApplication();
};
 
if (! $app->applicationNeedsSetup()) {
    $app->loadProviders();
}
 
# uygulamayı başlat.
$response = $app->send($request);
 
$response->send();
Arguments
  1. App\Core\Request {#18
      -route: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#9}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#13}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#19}
      +server: Symfony\Component\HttpFoundation\ServerBag {#70}
      +files: Symfony\Component\HttpFoundation\FileBag {#69}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#68}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#71}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: null
      #pathInfo: "/plastik.html"
      #requestUri: "/plastik.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
Key Value
csrf_token
"YTE1NTVkNDM5MjIyMzAyOTlmZDJlMzIxNjAwNmE0ZjYwYjEwZDZhNDAwNzcxZGUwYjFkZjhmZDBlOGNjZmEzYQ=="
Key Value
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"www.gmkmakina.com"
HTTP_REFERER
"http://www.gmkmakina.com/plastik.html"
HTTP_USER_AGENT
"claudebot"
DOCUMENT_ROOT
"/var/www/vhosts/gmkmakina.com/httpdocs"
REMOTE_ADDR
"18.234.139.149"
REMOTE_PORT
"38130"
SERVER_ADDR
"185.244.144.122"
SERVER_NAME
"www.gmkmakina.com"
SERVER_ADMIN
""
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REQUEST_URI
"/plastik.html"
REDIRECT_URL
"/public/plastik.html"
HTTPS
"on"
REDIRECT_STATUS
"200"
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
X_SPDY
"HTTP2"
SSL_PROTOCOL
"TLSv1.2"
SSL_CIPHER
"ECDHE-RSA-AES128-GCM-SHA256"
SSL_CIPHER_USEKEYSIZE
"128"
SSL_CIPHER_ALGKEYSIZE
"128"
SCRIPT_FILENAME
"/var/www/vhosts/gmkmakina.com/httpdocs/public/index.php"
QUERY_STRING
""
SCRIPT_URI
"https://www.gmkmakina.com/plastik.html"
SCRIPT_URL
"/plastik.html"
SCRIPT_NAME
"/public/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/public/index.php"
REQUEST_TIME_FLOAT
1711645701.2178
REQUEST_TIME
1711645701
APP_NAME
"GMK MAKINA"
APP_KEY
"m09NLSF9HUDQKBXJMVKOAaXItjnPw6TZ"
APP_ENV
"local"
APP_URL
"gmkmakina.com"
APP_SECURE
"false"
APP_TIMEZONE
"Europa\Istanbul"
DATABASE_DRIVER
"pdo_mysql"
DATABASE_HOST
"185.244.144.122:3306"
DATABASE_PORT
"3306"
DATABASE_NAME
"admin_gmk1"
DATABASE_USER
"gmkmakina1"
DATABASE_PASSWORD
"123456qx"
SMTP_HOST
"smtp.mailtrap.io"
SMTP_PORT
"2525"
SMTP_USERNAME
"a4e2b138bb4e90"
SMTP_PASSWORD
"dfb74d618e44c7"
Key Value
APP_NAME
"GMK MAKINA"
APP_KEY
"m09NLSF9HUDQKBXJMVKOAaXItjnPw6TZ"
APP_ENV
"local"
APP_URL
"gmkmakina.com"
APP_SECURE
"false"
APP_TIMEZONE
"Europa\Istanbul"
DATABASE_DRIVER
"pdo_mysql"
DATABASE_HOST
"185.244.144.122:3306"
DATABASE_PORT
"3306"
DATABASE_NAME
"admin_gmk1"
DATABASE_USER
"gmkmakina1"
DATABASE_PASSWORD
"123456qx"
SMTP_HOST
"smtp.mailtrap.io"
SMTP_PORT
"2525"
SMTP_USERNAME
"a4e2b138bb4e90"
SMTP_PASSWORD
"dfb74d618e44c7"
0. Whoops\Handler\PrettyPageHandler