marmelab/microrest.php

Cant start application on web-server

Closed this issue · 1 comments

Hi
I have a trouble with installing microrest.php application on server

My code and configuration:

index.php

<?php

ini_set('display_errors', 0);

require_once __DIR__ . '/vendor/autoload.php';

use JDesrosiers\Silex\Provider\CorsServiceProvider;
use Marmelab\Microrest\MicrorestServiceProvider;
use Silex\Application;
use Silex\Provider\ServiceControllerServiceProvider;
use Silex\Provider\UrlGeneratorServiceProvider;
use Silex\Provider\ValidatorServiceProvider;

$app = new Application();
$app->register(new UrlGeneratorServiceProvider());
$app->register(new ValidatorServiceProvider());
$app->register(new ServiceControllerServiceProvider());

$app->register(new MicrorestServiceProvider(), array(
    'microrest.config_file' => __DIR__ . '/api.raml',
));

$app->register(new CorsServiceProvider(), array(
    'cors.allowOrigin' => 'http://foo.domain/api',
    'cors.exposeHeaders' => 'X-Total-Count',
));

$app->after($app['cors']);

$app->register(new Silex\Provider\DoctrineServiceProvider(), array(
    'db.options' => array(
        'driver' => 'pdo_mysql',
        'host' => 'db',
        'dbname' => 'dbname',
        'user' => 'user',
        'password' => 'password',
    ),
));

$app->run();

conposer.json

{
  "name": "dvapelnik/web",
  "authors": [
    {
      "name": "Dmitry Vapelnik",
      "email": "dvapelnik@gmail.com"
    }
  ],
  "minimum-stability": "dev",
  "require": {
    "php": ">=5.3.3",
    "ext-pdo_sqlite": "*",
    "doctrine/dbal": "~2.5",
    "jdesrosiers/silex-cors-provider": "~0.1",
    "jeromemacias/silex-debug": "~1.0@dev",
    "marmelab/microrest": "~1.0@dev",
    "silex/silex": "~1.0@dev",
    "silex/web-profiler": "~1.0",
    "symfony/config": "~2.6",
    "symfony/debug": "~2.6",
    "symfony/monolog-bridge": "~2.6",
    "symfony/twig-bridge": "~2.6"
  }
}

my directory list

$ tree -L 1
.
├── api.raml
├── app.db
├── composer.json
├── composer.lock
├── index.php
└── vendor

api.raml

#%RAML 0.8
title: microrest.php Example API
version: v1
baseUrl: http://foo.domain/api
mediaType: application/json
/items:
  displayName: Items
  get:
    description: Retrieve one or more items.
    responses:
      200:
  post:
    description: Creates one or more items
    response:
      201:
  /{id}:
    get:
      description: Retrieve one or more items.
      responses:
        200:

httpd.conf

<VirtualHost *:80>
    DocumentRoot /var/www/web/
    DirectoryIndex index.php

    <Directory /var/www/web/>
        AllowOverride All
        php_admin_value open_basedir /var/www:/tmp:/usr/share:/var/lib
    </Directory>

    CustomLog   /var/www/.logs/access.log combined
    ErrorLog    /var/www/.logs/error.log
</VirtualHost>

on http://foo.domain/api I have error: HttpErrpr#404
on http://foo.domain/ I have text "Sorry, the page you are looking for could not be found." and error.log with

[Fri Jan 23 15:11:05.406372 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Deprecated:  The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition. in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php on line 662
[Fri Jan 23 15:11:05.406436 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
[Fri Jan 23 15:11:05.406455 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
[Fri Jan 23 15:11:05.406466 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
[Fri Jan 23 15:11:05.406585 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive')); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = NULL; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
[Fri Jan 23 15:11:05.406603 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Silex\\Application->boot() /var/www/web/vendor/silex/silex/src/Silex/Application.php:534
[Fri Jan 23 15:11:05.406724 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. JDesrosiers\\Silex\\Provider\\CorsServiceProvider->boot($app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider {  }, 1 => class Silex\\Provider\\ValidatorServiceProvider {  }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider {  }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider {  }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider {  }, 5 => class Silex\\Provider\\DoctrineServiceProvider {  }); protected $booted = FALSE; protected $values = array ('logger' => NULL, 'routes' => class Closure {  }, 'controllers' => class Closure {  }, 'controllers_factory' => class Closure {  }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure {  }, 'exception_handler' => class Closure {  }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure {  }, 'callback_resolver' => class Closure {  }, 'resolver' => class Closure {  }, 'kernel' => class Closure {  }, 'request_stack' => class Closure {  }, 'request_context' => class Closure {  }, 'url_matcher' => class Closure {  }, 'request_error' => class Closure {  }, 'request' => class Closure {  }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure {  }, 'validator' => class Closure {  }, 'validator.builder' => class Closure {  }, 'validator.mapping.class_metadata_factory' => class Closure {  }, 'validator.validator_factory' => class Closure {  }, 'validator.object_initializers' => class Closure {  }, 'microrest.initializer' => class Closure {  }, 'microrest.builder' => class Closure {  }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure {  }, 'db.default_options' => array ('driver' => 'pdo_mysql', 'dbname' => NULL, 'host' => 'localhost', 'user' => 'root', 'password' => NULL), 'dbs.options.initializer' => class Closure {  }, 'dbs' => class Closure {  }, 'dbs.config' => class Closure {  }, 'dbs.event_manager' => class Closure {  }, 'db' => class Closure {  }, 'db.config' => class Closure {  }, 'db.event_manager' => class Closure {  }, 'db.options' => array ('driver' => 'pdo_mysql', 'host' => 'db', 'dbname' => 'phcrawler', 'user' => 'phcrawler', 'password' => 'phcrawler'), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array ('GET /items' => array ('path' => '/items', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'POST /items' => array ('path' => '/items', 'type' => 'POST', 'method' => class Raml\\Method { private $type = 'POST'; private $description = 'Creates one or more items'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'GET /items/{id}' => array ('path' => '/items/{id}', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) })), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure {  }, 'microrest.routeBuilder' => class Closure {  }) }) /var/www/web/vendor/silex/silex/src/Silex/Application.php:188
[Fri Jan 23 15:11:05.406747 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Silex\\Controller->setRequirements(array ('_method' => 'POST')) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
[Fri Jan 23 15:11:05.406764 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Silex\\Controller->__call($method = 'setRequirements', $arguments = array (0 => array ('_method' => 'POST'))) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
[Fri Jan 23 15:11:05.406793 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func_array(array (0 => class Silex\\Route { private ${Symfony\\Component\\Routing\\Route}:path = '/api/items'; private ${Symfony\\Component\\Routing\\Route}:host = ''; private ${Symfony\\Component\\Routing\\Route}:schemes = array (); private ${Symfony\\Component\\Routing\\Route}:methods = array (); private ${Symfony\\Component\\Routing\\Route}:defaults = array ('_controller' => class Closure {  }); private ${Symfony\\Component\\Routing\\Route}:requirements = array (); private ${Symfony\\Component\\Routing\\Route}:options = array ('compiler_class' => 'Symfony\\\\Component\\\\Routing\\\\RouteCompiler'); private ${Symfony\\Component\\Routing\\Route}:compiled = NULL; private ${Symfony\\Component\\Routing\\Route}:condition = '' }, 1 => 'setRequirements'), array (0 => array ('_method' => 'POST'))) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
[Fri Jan 23 15:11:05.406805 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\Routing\\Route->setRequirements($requirements = array ('_method' => 'POST')) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
[Fri Jan 23 15:11:05.406815 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Symfony\\Component\\Routing\\Route->addRequirements($requirements = array ('_method' => 'POST')) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:520
[Fri Jan 23 15:11:05.406826 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Route->sanitizeRequirement($key = '_method', $regex = 'POST') /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:535
[Fri Jan 23 15:11:05.406836 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  12. trigger_error('The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition.', 16384) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:662
[Fri Jan 23 15:11:05.406991 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Deprecated:  The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition. in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php on line 662
[Fri Jan 23 15:11:05.407003 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
[Fri Jan 23 15:11:05.407010 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
[Fri Jan 23 15:11:05.407018 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
[Fri Jan 23 15:11:05.407093 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive')); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = NULL; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
[Fri Jan 23 15:11:05.407116 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Silex\\Application->boot() /var/www/web/vendor/silex/silex/src/Silex/Application.php:534
[Fri Jan 23 15:11:05.407201 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. JDesrosiers\\Silex\\Provider\\CorsServiceProvider->boot($app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider {  }, 1 => class Silex\\Provider\\ValidatorServiceProvider {  }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider {  }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider {  }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider {  }, 5 => class Silex\\Provider\\DoctrineServiceProvider {  }); protected $booted = FALSE; protected $values = array ('logger' => NULL, 'routes' => class Closure {  }, 'controllers' => class Closure {  }, 'controllers_factory' => class Closure {  }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure {  }, 'exception_handler' => class Closure {  }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure {  }, 'callback_resolver' => class Closure {  }, 'resolver' => class Closure {  }, 'kernel' => class Closure {  }, 'request_stack' => class Closure {  }, 'request_context' => class Closure {  }, 'url_matcher' => class Closure {  }, 'request_error' => class Closure {  }, 'request' => class Closure {  }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure {  }, 'validator' => class Closure {  }, 'validator.builder' => class Closure {  }, 'validator.mapping.class_metadata_factory' => class Closure {  }, 'validator.validator_factory' => class Closure {  }, 'validator.object_initializers' => class Closure {  }, 'microrest.initializer' => class Closure {  }, 'microrest.builder' => class Closure {  }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure {  }, 'db.default_options' => array ('driver' => 'pdo_mysql', 'dbname' => NULL, 'host' => 'localhost', 'user' => 'root', 'password' => NULL), 'dbs.options.initializer' => class Closure {  }, 'dbs' => class Closure {  }, 'dbs.config' => class Closure {  }, 'dbs.event_manager' => class Closure {  }, 'db' => class Closure {  }, 'db.config' => class Closure {  }, 'db.event_manager' => class Closure {  }, 'db.options' => array ('driver' => 'pdo_mysql', 'host' => 'db', 'dbname' => 'phcrawler', 'user' => 'phcrawler', 'password' => 'phcrawler'), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array ('GET /items' => array ('path' => '/items', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'POST /items' => array ('path' => '/items', 'type' => 'POST', 'method' => class Raml\\Method { private $type = 'POST'; private $description = 'Creates one or more items'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'GET /items/{id}' => array ('path' => '/items/{id}', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) })), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure {  }, 'microrest.routeBuilder' => class Closure {  }) }) /var/www/web/vendor/silex/silex/src/Silex/Application.php:188
[Fri Jan 23 15:11:05.407226 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Silex\\Controller->setRequirements(array ('_method' => 'GET')) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
[Fri Jan 23 15:11:05.407238 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Silex\\Controller->__call($method = 'setRequirements', $arguments = array (0 => array ('_method' => 'GET'))) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
[Fri Jan 23 15:11:05.407264 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func_array(array (0 => class Silex\\Route { private ${Symfony\\Component\\Routing\\Route}:path = '/api/items/{objectId}'; private ${Symfony\\Component\\Routing\\Route}:host = ''; private ${Symfony\\Component\\Routing\\Route}:schemes = array (); private ${Symfony\\Component\\Routing\\Route}:methods = array (); private ${Symfony\\Component\\Routing\\Route}:defaults = array ('_controller' => class Closure {  }); private ${Symfony\\Component\\Routing\\Route}:requirements = array (); private ${Symfony\\Component\\Routing\\Route}:options = array ('compiler_class' => 'Symfony\\\\Component\\\\Routing\\\\RouteCompiler'); private ${Symfony\\Component\\Routing\\Route}:compiled = NULL; private ${Symfony\\Component\\Routing\\Route}:condition = '' }, 1 => 'setRequirements'), array (0 => array ('_method' => 'GET'))) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
[Fri Jan 23 15:11:05.407281 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\Routing\\Route->setRequirements($requirements = array ('_method' => 'GET')) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
[Fri Jan 23 15:11:05.407290 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Symfony\\Component\\Routing\\Route->addRequirements($requirements = array ('_method' => 'GET')) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:520
[Fri Jan 23 15:11:05.407301 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Route->sanitizeRequirement($key = '_method', $regex = 'GET') /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:535
[Fri Jan 23 15:11:05.407312 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  12. trigger_error('The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition.', 16384) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:662
[Fri Jan 23 15:11:05.407422 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Deprecated:  The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition. in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php on line 662
[Fri Jan 23 15:11:05.407430 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
[Fri Jan 23 15:11:05.407437 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
[Fri Jan 23 15:11:05.407445 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
[Fri Jan 23 15:11:05.407518 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive')); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = NULL; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
[Fri Jan 23 15:11:05.407539 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Silex\\Application->boot() /var/www/web/vendor/silex/silex/src/Silex/Application.php:534
[Fri Jan 23 15:11:05.407624 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. JDesrosiers\\Silex\\Provider\\CorsServiceProvider->boot($app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider {  }, 1 => class Silex\\Provider\\ValidatorServiceProvider {  }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider {  }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider {  }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider {  }, 5 => class Silex\\Provider\\DoctrineServiceProvider {  }); protected $booted = FALSE; protected $values = array ('logger' => NULL, 'routes' => class Closure {  }, 'controllers' => class Closure {  }, 'controllers_factory' => class Closure {  }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure {  }, 'exception_handler' => class Closure {  }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure {  }, 'callback_resolver' => class Closure {  }, 'resolver' => class Closure {  }, 'kernel' => class Closure {  }, 'request_stack' => class Closure {  }, 'request_context' => class Closure {  }, 'url_matcher' => class Closure {  }, 'request_error' => class Closure {  }, 'request' => class Closure {  }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure {  }, 'validator' => class Closure {  }, 'validator.builder' => class Closure {  }, 'validator.mapping.class_metadata_factory' => class Closure {  }, 'validator.validator_factory' => class Closure {  }, 'validator.object_initializers' => class Closure {  }, 'microrest.initializer' => class Closure {  }, 'microrest.builder' => class Closure {  }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure {  }, 'db.default_options' => array ('driver' => 'pdo_mysql', 'dbname' => NULL, 'host' => 'localhost', 'user' => 'root', 'password' => NULL), 'dbs.options.initializer' => class Closure {  }, 'dbs' => class Closure {  }, 'dbs.config' => class Closure {  }, 'dbs.event_manager' => class Closure {  }, 'db' => class Closure {  }, 'db.config' => class Closure {  }, 'db.event_manager' => class Closure {  }, 'db.options' => array ('driver' => 'pdo_mysql', 'host' => 'db', 'dbname' => 'phcrawler', 'user' => 'phcrawler', 'password' => 'phcrawler'), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array ('GET /items' => array ('path' => '/items', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'POST /items' => array ('path' => '/items', 'type' => 'POST', 'method' => class Raml\\Method { private $type = 'POST'; private $description = 'Creates one or more items'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'GET /items/{id}' => array ('path' => '/items/{id}', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) })), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure {  }, 'microrest.routeBuilder' => class Closure {  }) }) /var/www/web/vendor/silex/silex/src/Silex/Application.php:188
[Fri Jan 23 15:11:05.407649 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Silex\\Controller->setRequirements(array ('_method' => 'GET')) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
[Fri Jan 23 15:11:05.407661 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Silex\\Controller->__call($method = 'setRequirements', $arguments = array (0 => array ('_method' => 'GET'))) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
[Fri Jan 23 15:11:05.407687 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func_array(array (0 => class Silex\\Route { private ${Symfony\\Component\\Routing\\Route}:path = '/api/'; private ${Symfony\\Component\\Routing\\Route}:host = ''; private ${Symfony\\Component\\Routing\\Route}:schemes = array (); private ${Symfony\\Component\\Routing\\Route}:methods = array (); private ${Symfony\\Component\\Routing\\Route}:defaults = array ('_controller' => class Closure {  }); private ${Symfony\\Component\\Routing\\Route}:requirements = array (); private ${Symfony\\Component\\Routing\\Route}:options = array ('compiler_class' => 'Symfony\\\\Component\\\\Routing\\\\RouteCompiler'); private ${Symfony\\Component\\Routing\\Route}:compiled = NULL; private ${Symfony\\Component\\Routing\\Route}:condition = '' }, 1 => 'setRequirements'), array (0 => array ('_method' => 'GET'))) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
[Fri Jan 23 15:11:05.407699 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\Routing\\Route->setRequirements($requirements = array ('_method' => 'GET')) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
[Fri Jan 23 15:11:05.407708 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Symfony\\Component\\Routing\\Route->addRequirements($requirements = array ('_method' => 'GET')) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:520
[Fri Jan 23 15:11:05.407718 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Route->sanitizeRequirement($key = '_method', $regex = 'GET') /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:535
[Fri Jan 23 15:11:05.407729 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  12. trigger_error('The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition.', 16384) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:662
[Fri Jan 23 15:11:05.432657 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException:  No routes found for "/". in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Matcher/UrlMatcher.php on line 102
[Fri Jan 23 15:11:05.432692 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
[Fri Jan 23 15:11:05.432714 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
[Fri Jan 23 15:11:05.432722 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
[Fri Jan 23 15:11:05.432813 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
[Fri Jan 23 15:11:05.432903 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Symfony\\Component\\HttpKernel\\HttpKernel->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1, $catch = TRUE) /var/www/web/vendor/silex/silex/src/Silex/Application.php:543
[Fri Jan 23 15:11:05.432991 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:68
[Fri Jan 23 15:11:05.433188 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch($eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:128
[Fri Jan 23 15:11:05.433614 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch($listeners = array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array (...) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array (...) }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array (...); protected $cacheControl = array (...) }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:router = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:defaultLocale = 'en'; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) } }, 1 => 'onKernelRequest')), $eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEve
[Fri Jan 23 15:11:05.434005 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func(array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (...), 'user-agent' => array (...), 'accept' => array (...), 'accept-language' => array (...), 'accept-encoding' => array (...), 'cookie' => array (...), 'connection' => array (...), 'x-php-ob-level' => array (...)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }, 1 => 'onKernelRequest'), class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE
[Fri Jan 23 15:11:05.434266 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\HttpKernel\\EventListener\\RouterListener->onKernelRequest($event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }, 'kernel.request', class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest')), 16 => array (0 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest')), -1024 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))), 'kernel.finish_request' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelFinishRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelFinishRequest'))), 'kernel.exception' => array (-255 => array (0 => array (0 => class Silex\\ExceptionHandler { ... }, 1 => 'onSilexError'))), 'kernel.response' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener { ... }, 1 => 'onKernelResponse'), 1 => class Closure {  }), 128 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener 
[Fri Jan 23 15:11:05.434311 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Silex\\LazyUrlMatcher->match($pathinfo = '/') /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php:139
[Fri Jan 23 15:11:05.434322 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Matcher\\RedirectableUrlMatcher->match($pathinfo = '/') /var/www/web/vendor/silex/silex/src/Silex/LazyUrlMatcher.php:51
[Fri Jan 23 15:11:05.434332 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  12. Symfony\\Component\\Routing\\Matcher\\UrlMatcher->match($pathinfo = '/') /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Matcher/RedirectableUrlMatcher.php:30
[Fri Jan 23 15:11:05.444923 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException:  No routes found for "/". in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Matcher/UrlMatcher.php on line 102
[Fri Jan 23 15:11:05.444956 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
[Fri Jan 23 15:11:05.444965 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
[Fri Jan 23 15:11:05.444973 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
[Fri Jan 23 15:11:05.445074 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
[Fri Jan 23 15:11:05.445173 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Symfony\\Component\\HttpKernel\\HttpKernel->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1, $catch = TRUE) /var/www/web/vendor/silex/silex/src/Silex/Application.php:543
[Fri Jan 23 15:11:05.445259 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:68
[Fri Jan 23 15:11:05.445434 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch($eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:128
[Fri Jan 23 15:11:05.445783 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch($listeners = array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array (...) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array (...) }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array (...); protected $cacheControl = array (...) }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:router = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:defaultLocale = 'en'; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) } }, 1 => 'onKernelRequest')), $eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEve
[Fri Jan 23 15:11:05.446158 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func(array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (...), 'user-agent' => array (...), 'accept' => array (...), 'accept-language' => array (...), 'accept-encoding' => array (...), 'cookie' => array (...), 'connection' => array (...), 'x-php-ob-level' => array (...)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }, 1 => 'onKernelRequest'), class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE
[Fri Jan 23 15:11:05.446407 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\HttpKernel\\EventListener\\RouterListener->onKernelRequest($event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }, 'kernel.request', class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest')), 16 => array (0 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest')), -1024 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))), 'kernel.finish_request' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelFinishRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelFinishRequest'))), 'kernel.exception' => array (-255 => array (0 => array (0 => class Silex\\ExceptionHandler { ... }, 1 => 'onSilexError'))), 'kernel.response' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener { ... }, 1 => 'onKernelResponse'), 1 => class Closure {  }), 128 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener 
[Fri Jan 23 15:11:05.446449 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Silex\\LazyUrlMatcher->match($pathinfo = '/') /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php:139
[Fri Jan 23 15:11:05.446460 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Matcher\\RedirectableUrlMatcher->match($pathinfo = '/') /var/www/web/vendor/silex/silex/src/Silex/LazyUrlMatcher.php:51
[Fri Jan 23 15:11:05.468006 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException:  No route found for "GET /" in /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php on line 160
[Fri Jan 23 15:11:05.468045 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
[Fri Jan 23 15:11:05.468055 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
[Fri Jan 23 15:11:05.468064 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
[Fri Jan 23 15:11:05.468173 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
[Fri Jan 23 15:11:05.468272 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Symfony\\Component\\HttpKernel\\HttpKernel->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1, $catch = TRUE) /var/www/web/vendor/silex/silex/src/Silex/Application.php:543
[Fri Jan 23 15:11:05.468359 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:68
[Fri Jan 23 15:11:05.468543 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch($eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:128
[Fri Jan 23 15:11:05.468899 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch($listeners = array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array (...) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array (...) }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array (...); protected $cacheControl = array (...) }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:router = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:defaultLocale = 'en'; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) } }, 1 => 'onKernelRequest')), $eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEve
[Fri Jan 23 15:11:05.469255 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func(array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (...), 'user-agent' => array (...), 'accept' => array (...), 'accept-language' => array (...), 'accept-encoding' => array (...), 'cookie' => array (...), 'connection' => array (...), 'x-php-ob-level' => array (...)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }, 1 => 'onKernelRequest'), class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE
[Fri Jan 23 15:11:05.469505 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\HttpKernel\\EventListener\\RouterListener->onKernelRequest($event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }, 'kernel.request', class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest')), 16 => array (0 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest')), -1024 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))), 'kernel.finish_request' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelFinishRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelFinishRequest'))), 'kernel.exception' => array (-255 => array (0 => array (0 => class Silex\\ExceptionHandler { ... }, 1 => 'onSilexError'))), 'kernel.response' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener { ... }, 1 => 'onKernelResponse'), 1 => class Closure {  }), 128 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener 

What am I doing wrong?

I should use a rewrites:

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^(/api)(.*)
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>