Git Product home page Git Product logo

microrest.php's Introduction

archived Archived Repository
This code is no longer maintained. Feel free to fork it, but use it at your own risks.

Marmelab Microrest

Microrest is a Silex provider to setting up a REST API on top of a relational database, based on a YAML (RAML) configuration file.

Check out the launch post.

What is RAML ?

RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables discovery and pattern-sharing, and aims for merit-based emergence of best practices.

You can easily set up a RAML file from API Designer.

Installation

To install microrest.php library, run the command below and you will get the latest version:

composer require marmelab/microrest "~1.0@dev"

Enable ServiceController, Doctrine and Microrest service providers in your application:

$app->register(new Silex\Provider\ServiceControllerServiceProvider());
$app->register(new Silex\Provider\DoctrineServiceProvider(), array(
    'db.options' => array(
        'driver'   => 'pdo_sqlite',
        'path'     => __DIR__.'/app.db',
    ),
));
$app->register(new Marmelab\Microrest\MicrorestServiceProvider(), array(
    'microrest.config_file' => __DIR__ . '/api.raml',
));

You need to give the path to the RAML file describing your API. You can find an example into the tests/fixtures directory.

Then, browse your new API REST on the url defined in the baseUrl configuration of your RAML api file.

Tests

Run the tests suite with the following commands:

make install
make test

Demo

You can find a complete demo application in examples/ng-admin. You just need 2 commands to install and run it:

make install-demo
make run-demo

Play with the Silex demo API at the url: http://localhost:8888/api

Explore the API using ng-admin backend administration at the url: http://localhost:8888/admin

License

microrest.php is licensed under the MIT License, courtesy of marmelab.

microrest.php's People

Contributors

alexisjanvier avatar brikou avatar fzaninotto avatar jeromemacias avatar mhor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microrest.php's Issues

make install-demo : error "ln: failed to create symbolic link ‘web/css/microrest’"

Hi,

I'm trying to deploy microrest (and try ng-admin after that) on an empty VM, running Debian Jessie RC1, on fresh Amazon EC2 install.

Problem is at post-install-cmd inside composer.json :

admin@ip-...:/var/www/html/microrest.php/examples/ng-admin$ cat composer.json 
{
    "name": "marmelab/microrest-example",
    "description": "An example application using `marmelab/microrest`",
    "license": "MIT",
    "type": "project",
    "authors": [
        {
            "name": "Jérôme Macias",
            "email": "[email protected]"
        }
    ],
    "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"
    },
    "autoload": {
        "psr-0": { "": "src/" }
    },
    "config": {
        "bin-dir": "bin",
        "process-timeout": 0
    },
    "scripts": {
        "post-install-cmd": [
            "ln -s ../../vendor/marmelab/microrest/web/css web/css/microrest",
            "ln -s ../../vendor/marmelab/microrest/web/js web/js/microrest"
        ],
        "run": [
            "echo 'Started web server on http://localhost:8888'",
            "php -S localhost:8888 -t web/ web/index_dev.php"
        ]
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

Any hint ?

composer require marmelab/microrest "~1.0@dev"

Hello,
I'm trying to install microrest with composer and I get an error.
command:
composer require marmelab/microrest "~1.0@dev"

the error:
Problem 1
- Installation request for marmelab/microrest ~1.0@dev -> satisfiable by marmelab/microrest[1.0.x-dev].
- marmelab/microrest 1.0.x-dev requires alecsammon/php-raml-parser 1.0.0.x-dev -> no matching package found.

Do you know how can I fix it ? I'm not familiar with composer so any help will be very much appreciated.

Cheers,

Cant start application on web-server

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": "[email protected]"
    }
  ],
  "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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.