32. PDOException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­Connector.php47
31. PDO __construct
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­Connector.php0
30. Illuminate\Database\Connectors\Connector createConnection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­MySqlConnector.php20
29. Illuminate\Database\Connectors\MySqlConnector connect
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­ConnectionFactory.php59
28. Illuminate\Database\Connectors\ConnectionFactory createSingleConnection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Connectors/­ConnectionFactory.php47
27. Illuminate\Database\Connectors\ConnectionFactory make
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­DatabaseManager.php127
26. Illuminate\Database\DatabaseManager makeConnection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­DatabaseManager.php63
25. Illuminate\Database\DatabaseManager connection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php2810
24. Illuminate\Database\Eloquent\Model resolveConnection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php2776
23. Illuminate\Database\Eloquent\Model getConnection
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php1791
22. Illuminate\Database\Eloquent\Model newBaseQueryBuilder
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php1714
21. Illuminate\Database\Eloquent\Model newQuery
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Model.php559
20. Illuminate\Database\Eloquent\Model all
…/­app/­config/­options.php9
19. require
…/­vendor/­laravel/­framework/­src/­Illuminate/­Filesystem/­Filesystem.php46
18. Illuminate\Filesystem\Filesystem getRequire
…/­vendor/­laravel/­framework/­src/­Illuminate/­Config/­FileLoader.php77
17. Illuminate\Config\FileLoader load
…/­vendor/­laravel/­framework/­src/­Illuminate/­Config/­Repository.php152
16. Illuminate\Config\Repository load
…/­vendor/­laravel/­framework/­src/­Illuminate/­Config/­Repository.php99
15. Illuminate\Config\Repository get
…/­vendor/­laravel/­framework/­src/­Illuminate/­Support/­Facades/­Facade.php208
14. Illuminate\Support\Facades\Facade __callStatic
…/­app/­routes.php5
13. Illuminate\Support\Facades\Config get
…/­app/­routes.php5
12. require
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­start.php269
11. {closure}
<#unknown>0
10. call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php792
9. Illuminate\Foundation\Application fireAppCallbacks
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php569
8. Illuminate\Foundation\Application bootApplication
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php552
7. Illuminate\Foundation\Application boot
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php706
6. Illuminate\Foundation\Application handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Http/­FrameGuard.php38
5. Illuminate\Http\FrameGuard 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.php606
0. Illuminate\Foundation\Application run
/­home/­nekadar/­public_html/­index.php49

PDOException

SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

	 */
	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);
	}
 
<?php namespace Illuminate\Database\Connectors;
 
use PDO;
 
class Connector {
 
	/**
	 * The default PDO connection options.
	 *
	 * @var array
		$dsn = $this->getDsn($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.
		$options = $this->getOptions($config);
 
		$connection = $this->createConnection($dsn, $config, $options);
 
		$collation = $config['collation'];
	 * 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);
 
		if (isset($config['read']))
		{
			return $this->createReadWriteConnection($config);
		}
		else
		{
			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);
	}
 
		$name = $name ?: $this->getDefaultConnection();
 
		// 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->connections[$name] = $this->prepare($connection);
	 * Resolve a connection instance.
	 *
	 * @param  string  $connection
	 * @return \Illuminate\Database\Connection
	 */
	public static function resolveConnection($connection = null)
	{
		return static::$resolver->connection($connection);
	}
 
	/**
	 * Get the database connection for the model.
	 *
	 * @return \Illuminate\Database\Connection
	 */
	public function getConnection()
	{
		return static::resolveConnection($this->connection);
	}
 
	/**
	 * Get a new query builder instance for the connection.
	 *
	 * @return \Illuminate\Database\Query\Builder
	 */
	protected function newBaseQueryBuilder()
	{
		$conn = $this->getConnection();
 
		$grammar = $conn->getQueryGrammar();
	 * Get a new query builder for the model's table.
	 *
	 * @param  bool  $excludeDeleted
	 * @return \Illuminate\Database\Eloquent\Builder|static
	 */
	public function newQuery($excludeDeleted = true)
	{
		$builder = $this->newEloquentBuilder($this->newBaseQueryBuilder());
 
		// Once we have the query builders, we will set the model instances so the
	 * @param  array  $columns
	 * @return \Illuminate\Database\Eloquent\Collection|static[]
	 */
	public static function all($columns = array('*'))
	{
		$instance = new static;
 
		return $instance->newQuery()->get($columns);
	}
 
 
$list = array();
 
$format = function(&$list, $keys, $val) use (&$format) {
	$keys ? $format($list[array_shift($keys)], $keys, $val) : $list = $val;
};
 
foreach (Option::all() as $option)
{
	$format($list, explode('.', $option->name), stripslashes($option->value));
	 * @param  string  $path
	 * @return mixed
	 *
	 * @throws FileNotFoundException
	 */
	public function getRequire($path)
	{
		if ($this->isFile($path)) return require $path;
 
		throw new FileNotFoundException("File does not exist at path {$path}");
		// First we'll get the main configuration file for the groups. Once we have
		// that we can check for any environment specific files, which will get
		// merged on top of the main arrays to make the environments cascade.
		$file = "{$path}/{$group}.php";
 
		if ($this->files->exists($file))
		{
			$items = $this->files->getRequire($file);
		}
 
		// not want to load it again. Once items are loaded a first time they will
		// stay kept in memory within this class and not loaded from disk again.
		if (isset($this->items[$collection]))
		{
			return;
		}
 
		$items = $this->loader->load($env, $group, $namespace);
 
		// If we've already loaded this collection, we will just bail out since we do
		list($namespace, $group, $item) = $this->parseKey($key);
 
		// Configuration items are actually keyed by "collection", which is simply a
		// combination of each namespace and groups, which allows a unique way to
		// identify the arrays of configuration items for the particular files.
		$collection = $this->getCollection($group, $namespace);
 
		$this->load($group, $namespace, $collection);
 
		return array_get($this->items[$collection], $item, $default);
 
		switch (count($args))
		{
			case 0:
				return $instance->$method();
 
			case 1:
				return $instance->$method($args[0]);
 
			case 2:
<?php
 
if ( ! App::runningInConsole())
{
	Route::group(array('domain' => 'login.' . Config::get('options.site.domain')), function()
	{
		Route::get('/', array('as' => 'admin.login', 'uses' => 'LoginController@index'));
 
		Route::post('/', function()
		{
<?php
 
if ( ! App::runningInConsole())
{
	Route::group(array('domain' => 'login.' . Config::get('options.site.domain')), function()
	{
		Route::get('/', array('as' => 'admin.login', 'uses' => 'LoginController@index'));
 
		Route::post('/', function()
		{
| 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>
	 *
	 * @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);
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		$response->headers->set('X-Frame-Options', 'SAMEORIGIN', false);
		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
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_ACCEPT_LANGUAGE en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_HOST www.maaslarinekadar.com
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
DOCUMENT_ROOT /home/nekadar/public_html
REMOTE_ADDR 54.167.78.17
REMOTE_PORT 55395
SERVER_ADDR 185.4.227.194
SERVER_NAME www.maaslarinekadar.com
SERVER_ADMIN webmaster@maaslarinekadar.com
SERVER_PORT 80
REQUEST_URI /banka-maaslari/finansbank-maaslari-ne-kadar.html
REDIRECT_URL /banka-maaslari/finansbank-maaslari-ne-kadar.html
REDIRECT_STATUS 200
SCRIPT_FILENAME /home/nekadar/public_html/index.php
QUERY_STRING
SCRIPT_URI http://www.maaslarinekadar.com/banka-maaslari/finansbank-maaslari-ne-kadar.html
SCRIPT_URL /banka-maaslari/finansbank-maaslari-ne-kadar.html
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.0
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1455186833.19
REQUEST_TIME 1455186833
argv Array ( )
argc 0
empty
empty
empty
empty
empty
empty
0. Whoops\Handler\PrettyPageHandler