23. PDOException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­Connector.php47
22. PDO __construct
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­Connector.php47
21. Illuminate\Database\Connectors\Connector createConnection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­MySqlConnector.php20
20. Illuminate\Database\Connectors\MySqlConnector connect
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­ConnectionFactory.php57
19. Illuminate\Database\Connectors\ConnectionFactory createSingleConnection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­ConnectionFactory.php46
18. Illuminate\Database\Connectors\ConnectionFactory make
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­DatabaseManager.php176
17. Illuminate\Database\DatabaseManager makeConnection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­DatabaseManager.php64
16. Illuminate\Database\DatabaseManager connection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­DatabaseManager.php321
15. Illuminate\Database\DatabaseManager __call
…/­vendor/­laravel/­framework/­src/­Illuminate/­Support/­Facades/­Facade.php208
14. Illuminate\Database\DatabaseManager table
…/­vendor/­laravel/­framework/­src/­Illuminate/­Support/­Facades/­Facade.php208
13. Illuminate\Support\Facades\Facade __callStatic
…/­app/­routes.php5
12. Illuminate\Support\Facades\DB table
…/­app/­routes.php5
11. require
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­start.php269
10. {closure}
<#unknown>0
9. call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php830
8. Illuminate\Foundation\Application fireAppCallbacks
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php604
7. Illuminate\Foundation\Application bootApplication
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php587
6. Illuminate\Foundation\Application boot
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php743
5. Illuminate\Foundation\Application handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72
4. Illuminate\Session\Middleware handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47
3. Illuminate\Cookie\Queue handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51
2. Illuminate\Cookie\Guard handle
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
1. Stack\StackedHttpKernel handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php641
0. Illuminate\Foundation\Application run
/­data/­a/­1/­a1352cf9-c899-4417-9448-c3aa55ec52b3/­kvetena.sk/­web/­index.php49

PDOException (2002) PDOException thrown with message "SQLSTATE[HY000] [2002] No such file or directory" Stacktrace: #23 PDOException in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:47 #22 PDO:__construct in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:47 #21 Illuminate\Database\Connectors\Connector:createConnection in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:20 #20 Illuminate\Database\Connectors\MySqlConnector:connect in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:57 #19 Illuminate\Database\Connectors\ConnectionFactory:createSingleConnection in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:46 #18 Illuminate\Database\Connectors\ConnectionFactory:make in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:176 #17 Illuminate\Database\DatabaseManager:makeConnection in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:64 #16 Illuminate\Database\DatabaseManager:connection in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:321 #15 Illuminate\Database\DatabaseManager:__call in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:208 #14 Illuminate\Database\DatabaseManager:table in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:208 #13 Illuminate\Support\Facades\Facade:__callStatic in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/app/routes.php:5 #12 Illuminate\Support\Facades\DB:table in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/app/routes.php:5 #11 require in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Foundation/start.php:269 #10 {closure} in <#unknown>:0 #9 call_user_func in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:830 #8 Illuminate\Foundation\Application:fireAppCallbacks in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:604 #7 Illuminate\Foundation\Application:bootApplication in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:587 #6 Illuminate\Foundation\Application:boot in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:743 #5 Illuminate\Foundation\Application:handle in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72 #4 Illuminate\Session\Middleware:handle in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47 #3 Illuminate\Cookie\Queue:handle in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51 #2 Illuminate\Cookie\Guard:handle in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 #1 Stack\StackedHttpKernel:handle in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641 #0 Illuminate\Foundation\Application:run in /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/index.php:49

SQLSTATE[HY000] [2002] No such file or directory

	 */
	public function createConnection($dsn, array $config, array $options)
	{
		$username = array_get($config, 'username');
 
		$password = array_get($config, 'password');
 
		return new PDO($dsn, $username, $password, $options);
	}
 
	 */
	public function createConnection($dsn, array $config, array $options)
	{
		$username = array_get($config, 'username');
 
		$password = array_get($config, 'password');
 
		return new PDO($dsn, $username, $password, $options);
	}
 
		$dsn = $this->getDsn($config);
 
		$options = $this->getOptions($config);
 
		// We need to grab the PDO options that should be used while making the brand
		// new connection instance. The PDO options control various aspects of the
		// connection's behavior, and some might be specified by the developers.
		$connection = $this->createConnection($dsn, $config, $options);
 
		if (isset($config['unix_socket']))
	 * Create a single database connection instance.
	 *
	 * @param  array  $config
	 * @return \Illuminate\Database\Connection
	 */
	protected function createSingleConnection(array $config)
	{
		$pdo = $this->createConnector($config)->connect($config);
 
		return $this->createConnection($config['driver'], $pdo, $config['database'], $config['prefix'], $config);
		$config = $this->parseConfig($config, $name);
 
		if (isset($config['read']))
		{
			return $this->createReadWriteConnection($config);
		}
 
		return $this->createSingleConnection($config);
	}
 
		// and will call the Closure if so, which allows us to have a more generic
		// resolver for the drivers themselves which applies to all connections.
		if (isset($this->extensions[$driver]))
		{
			return call_user_func($this->extensions[$driver], $config, $name);
		}

		return $this->factory->make($config, $name);
	}

		list($name, $type) = $this->parseConnectionName($name);

		// If we haven't created this connection, we'll create it based on the config
		// provided in the application. Once we've created the connections we will
		// set the "fetch mode" for PDO which determines the query return types.
		if ( ! isset($this->connections[$name]))
		{
			$connection = $this->makeConnection($name);

			$this->setPdoForType($connection, $type);
	 *
	 * @param  string  $method
	 * @param  array   $parameters
	 * @return mixed
	 */
	public function __call($method, $parameters)
	{
		return call_user_func_array(array($this->connection(), $method), $parameters);
	}

 
		switch (count($args))
		{
			case 0:
				return $instance->$method();
 
			case 1:
				return $instance->$method($args[0]);
 
			case 2:
 
		switch (count($args))
		{
			case 0:
				return $instance->$method();
 
			case 1:
				return $instance->$method($args[0]);
 
			case 2:
<?php
 
/******************** Kvetena **********************/
 
View::share('info', DB::table('infos')->first());
// uvod
Route::get('/'                              , 'kvetenaController@index');
Route::get('/'                              , ['as' => 'home',                    'uses' => 'kvetenaController@home']);
 
// o nas
<?php
 
/******************** Kvetena **********************/
 
View::share('info', DB::table('infos')->first());
// uvod
Route::get('/'                              , 'kvetenaController@index');
Route::get('/'                              , ['as' => 'home',                    'uses' => 'kvetenaController@home']);
 
// o nas
	| just to keep the file a little cleaner. We'll go ahead and load in
	| all of the routes now and return the application to the callers.
	|
	*/
 
	$routes = $app['path'].'/routes.php';
 
	if (file_exists($routes)) require $routes;
 
});
<#unknown>
	 * @param  array  $callbacks
	 * @return void
	 */
	protected function fireAppCallbacks(array $callbacks)
	{
		foreach ($callbacks as $callback)
		{
			call_user_func($callback, $this);
		}
	}
		// Once the application has booted we will also fire some "booted" callbacks
		// for any listeners that need to do work after this initial booting gets
		// finished. This is useful when ordering the boot-up processes we run.
		$this->fireAppCallbacks($this->bootingCallbacks);
 
		$this->booted = true;
 
		$this->fireAppCallbacks($this->bootedCallbacks);
	}
 
	 */
	public function boot()
	{
		if ($this->booted) return;
 
		array_walk($this->serviceProviders, function($p) { $p->boot(); });
 
		$this->bootApplication();
	}
 
	 */
	public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		try
		{
			$this->refreshRequest($request = Request::createFromBase($request));
 
			$this->boot();
 
			return $this->dispatch($request);
		if ($this->sessionConfigured())
		{
			$session = $this->startSession($request);
 
			$request->setSession($session);
		}
 
		$response = $this->app->handle($request, $type, $catch);
 
		// Again, if the session has been configured we will need to close out the session
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		foreach ($this->cookies->getQueuedCookies() as $cookie)
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
	}
 
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
 
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
 
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @return void
	 */
	public function run(SymfonyRequest $request = null)
	{
		$request = $request ?: $this['request'];
 
		$response = with($stack = $this->getStackedClient())->handle($request);
 
		$response->send();
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
 
$app->run();
 
Key Value
REDIRECT_GEOIP_COUNTRY_CODE US
REDIRECT_UNIQUE_ID ZgVs8I9eeY5eKJ6-kf23_wAAAAU
REDIRECT_DOCROOT /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/
REDIRECT_filter-errordocs
REDIRECT_STATUS 200
GEOIP_COUNTRY_CODE US
UNIQUE_ID ZgVs8I9eeY5eKJ6-kf23_wAAAAU
DOCROOT /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/
filter-errordocs
HTTP_HOST www.kvetena.sk
HTTP_X_REAL_IP 44.200.230.43
HTTP_X_FORWARDED_FOR 44.200.230.43, 44.200.230.43
HTTP_X_FORWARDED_PROTO http
HTTP_X_PROXY_IP 10.20.6.1
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_WS_GEO_COUNTRY US
HTTP_MAX_FORWARDS 7
HTTP_X_FORWARDED_HOST www.kvetena.sk
HTTP_X_FORWARDED_SERVER www.kvetena.sk
HTTP_CONNECTION close
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.kvetena.sk
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 44.200.230.43
DOCUMENT_ROOT /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/
SERVER_ADMIN admin@websupport.sk
SCRIPT_FILENAME /data/a/1/a1352cf9-c899-4417-9448-c3aa55ec52b3/kvetena.sk/web/index.php
REMOTE_PORT 45484
REDIRECT_URL /krajina
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /krajina
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711631600.99
REQUEST_TIME 1711631600
argv Array ( )
argc 0
empty
empty
empty
empty
empty
empty
0. Whoops\Handler\PrettyPageHandler