From 99b04e2ae9ae16b18dac195f9694c442d222a093 Mon Sep 17 00:00:00 2001 From: Romain Norberg Date: Sat, 8 Apr 2017 16:59:54 +0200 Subject: [PATCH] Failed opening '/home/bas/app_38a5484e-81c3-4973-af23-291dce11841b/web/../app/bootstrap.php.cache --- .gitignore | 1 - app/AppKernel.php | 1 - composer.lock | 511 +--------------------------------------------- web/app.php | 5 +- 4 files changed, 5 insertions(+), 513 deletions(-) diff --git a/.gitignore b/.gitignore index 1bda997..9ef6964 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ /logs/ /web/bundles/ -/app/bootstrap.php.cache /app/cache/* /app/config/parameters.yml /app/logs/* diff --git a/app/AppKernel.php b/app/AppKernel.php index 26dc2e7..c3fd155 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -31,7 +31,6 @@ public function registerBundles() // medias new Vich\UploaderBundle\VichUploaderBundle(), - new Knp\Bundle\GaufretteBundle\KnpGaufretteBundle(), new Liip\ImagineBundle\LiipImagineBundle(), new Stfalcon\Bundle\TinymceBundle\StfalconTinymceBundle(), diff --git a/composer.lock b/composer.lock index d3725eb..10809cf 100644 --- a/composer.lock +++ b/composer.lock @@ -4,88 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "0b44cff6405600184eb1ce04cae53b83", + "content-hash": "660ec21a242b4be4b45b819c62910a9b", "packages": [ - { - "name": "aws/aws-sdk-php", - "version": "3.25.6", - "source": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "fe98140a4811abbe9104477b167dc3c7f9a8391b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/fe98140a4811abbe9104477b167dc3c7f9a8391b", - "reference": "fe98140a4811abbe9104477b167dc3c7f9a8391b", - "shasum": "" - }, - "require": { - "guzzlehttp/guzzle": "^5.3.1|^6.2.1", - "guzzlehttp/promises": "~1.0", - "guzzlehttp/psr7": "^1.4.1", - "mtdowling/jmespath.php": "~2.2", - "php": ">=5.5" - }, - "require-dev": { - "andrewsville/php-token-reflection": "^1.4", - "aws/aws-php-sns-message-validator": "~1.0", - "behat/behat": "~3.0", - "doctrine/cache": "~1.4", - "ext-dom": "*", - "ext-json": "*", - "ext-openssl": "*", - "ext-pcre": "*", - "ext-simplexml": "*", - "ext-spl": "*", - "nette/neon": "^2.3", - "phpunit/phpunit": "~4.0|~5.0", - "psr/cache": "^1.0" - }, - "suggest": { - "aws/aws-php-sns-message-validator": "To validate incoming SNS notifications", - "doctrine/cache": "To use the DoctrineCacheAdapter", - "ext-curl": "To send requests using cURL", - "ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "Aws\\": "src/" - }, - "files": [ - "src/functions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Amazon Web Services", - "homepage": "http://aws.amazon.com" - } - ], - "description": "AWS SDK for PHP - Use Amazon Web Services in your PHP project", - "homepage": "http://aws.amazon.com/sdkforphp", - "keywords": [ - "amazon", - "aws", - "cloud", - "dynamodb", - "ec2", - "glacier", - "s3", - "sdk" - ], - "time": "2017-04-07T20:21:45+00:00" - }, { "name": "behat/transliterator", "version": "v1.2.0", @@ -1218,184 +1138,6 @@ ], "time": "2017-03-22T09:48:22+00:00" }, - { - "name": "guzzlehttp/guzzle", - "version": "6.2.3", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8d6c6cc55186db87b7dc5009827429ba4e9dc006", - "reference": "8d6c6cc55186db87b7dc5009827429ba4e9dc006", - "shasum": "" - }, - "require": { - "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.4", - "php": ">=5.5" - }, - "require-dev": { - "ext-curl": "*", - "phpunit/phpunit": "^4.0", - "psr/log": "^1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.2-dev" - } - }, - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "GuzzleHttp\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" - ], - "time": "2017-02-28T22:50:30+00:00" - }, - { - "name": "guzzlehttp/promises", - "version": "v1.3.1", - "source": { - "type": "git", - "url": "https://github.com/guzzle/promises.git", - "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", - "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", - "shasum": "" - }, - "require": { - "php": ">=5.5.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle promises library", - "keywords": [ - "promise" - ], - "time": "2016-12-20T10:07:11+00:00" - }, - { - "name": "guzzlehttp/psr7", - "version": "1.4.2", - "source": { - "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c", - "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c", - "shasum": "" - }, - "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0" - }, - "provide": { - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Schultze", - "homepage": "https://github.com/Tobion" - } - ], - "description": "PSR-7 message implementation that also provides common utility methods", - "keywords": [ - "http", - "message", - "request", - "response", - "stream", - "uri", - "url" - ], - "time": "2017-03-20T17:10:46+00:00" - }, { "name": "imagine/imagine", "version": "v0.6.3", @@ -1719,152 +1461,6 @@ ], "time": "2017-03-24T13:11:23+00:00" }, - { - "name": "knplabs/gaufrette", - "version": "v0.3.1", - "source": { - "type": "git", - "url": "https://github.com/KnpLabs/Gaufrette.git", - "reference": "771ad16f4b2e7f9d35f44b201956e83c6fbf5dde" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/Gaufrette/zipball/771ad16f4b2e7f9d35f44b201956e83c6fbf5dde", - "reference": "771ad16f4b2e7f9d35f44b201956e83c6fbf5dde", - "shasum": "" - }, - "require": { - "php": ">=5.4" - }, - "conflict": { - "microsoft/windowsazure": "<0.4.3" - }, - "require-dev": { - "amazonwebservices/aws-sdk-for-php": "1.5.*", - "aws/aws-sdk-php": "^2.4.12", - "doctrine/dbal": ">=2.3", - "dropbox-php/dropbox-php": "*", - "google/apiclient": "~1.1.3", - "herzult/php-ssh": "*", - "league/flysystem": "~1.0", - "mikey179/vfsstream": "~1.2.0", - "phpseclib/phpseclib": "^2.0", - "phpspec/phpspec": "~2.4", - "phpunit/phpunit": "3.7.*", - "rackspace/php-opencloud": "^1.9.2" - }, - "suggest": { - "amazonwebservices/aws-sdk-for-php": "to use the legacy Amazon S3 adapters", - "aws/aws-sdk-php": "to use the Amazon S3 adapter", - "doctrine/dbal": "to use the Doctrine DBAL adapter", - "dropbox-php/dropbox-php": "to use the Dropbox adapter", - "ext-apc": "to use the APC adapter", - "ext-curl": "*", - "ext-fileinfo": "This extension is used to automatically detect the content-type of a file in the AwsS3, OpenCloud, AzureBlogStorage and GoogleCloudStorage adapters", - "ext-mbstring": "*", - "ext-mongo": "*", - "ext-zip": "to use the Zip adapter", - "google/apiclient": "to use GoogleCloudStorage adapter", - "herzult/php-ssh": "to use SFtp adapter", - "knplabs/knp-gaufrette-bundle": "to use with Symfony2", - "league/flysystem": "to use Flysystem adapters", - "microsoft/windowsazure": "to use Microsoft Azure Blob Storage adapter", - "phpseclib/phpseclib": "to use PhpseclibSftp adapter", - "rackspace/php-opencloud": "to use Opencloud adapter" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.4.x-dev" - } - }, - "autoload": { - "psr-0": { - "Gaufrette": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "The contributors", - "homepage": "http://github.com/knplabs/Gaufrette/contributors" - }, - { - "name": "KnpLabs Team", - "homepage": "http://knplabs.com" - } - ], - "description": "PHP5 library that provides a filesystem abstraction layer", - "homepage": "http://knplabs.com", - "keywords": [ - "abstraction", - "file", - "filesystem", - "media" - ], - "time": "2017-03-20T01:23:34+00:00" - }, - { - "name": "knplabs/knp-gaufrette-bundle", - "version": "0.3.0", - "source": { - "type": "git", - "url": "https://github.com/KnpLabs/KnpGaufretteBundle.git", - "reference": "44cf552e14031517516458b0e394f16dd36a131b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/zipball/44cf552e14031517516458b0e394f16dd36a131b", - "reference": "44cf552e14031517516458b0e394f16dd36a131b", - "shasum": "" - }, - "require": { - "knplabs/gaufrette": "~0.1.7|~0.2", - "symfony/framework-bundle": "~2.0|~3.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.2", - "symfony/console": "~2.0|~3.0", - "symfony/yaml": "~2.0|~3.0" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "0.4.x-dev" - } - }, - "autoload": { - "psr-4": { - "Knp\\Bundle\\GaufretteBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "The contributors", - "homepage": "https://github.com/knplabs/KnpGaufretteBundle/contributors" - }, - { - "name": "Antoine Hérault", - "email": "antoine.herault@gmail.com" - } - ], - "description": "Allows to easily use the Gaufrette library in a Symfony project", - "homepage": "http://knplabs.com", - "keywords": [ - "abstraction", - "file", - "filesystem", - "media" - ], - "time": "2016-01-16T00:12:11+00:00" - }, { "name": "knplabs/knp-menu", "version": "2.2.0", @@ -2140,61 +1736,6 @@ ], "time": "2017-03-13T07:08:03+00:00" }, - { - "name": "mtdowling/jmespath.php", - "version": "2.4.0", - "source": { - "type": "git", - "url": "https://github.com/jmespath/jmespath.php.git", - "reference": "adcc9531682cf87dfda21e1fd5d0e7a41d292fac" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/adcc9531682cf87dfda21e1fd5d0e7a41d292fac", - "reference": "adcc9531682cf87dfda21e1fd5d0e7a41d292fac", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "bin": [ - "bin/jp.php" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "psr-4": { - "JmesPath\\": "src/" - }, - "files": [ - "src/JmesPath.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Declaratively specify how to extract elements from a JSON document", - "keywords": [ - "json", - "jsonpath" - ], - "time": "2016-12-03T22:08:25+00:00" - }, { "name": "ocramius/package-versions", "version": "1.1.2", @@ -2500,56 +2041,6 @@ ], "time": "2016-08-06T20:24:11+00:00" }, - { - "name": "psr/http-message", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "time": "2016-08-06T14:39:51+00:00" - }, { "name": "psr/log", "version": "1.0.2", diff --git a/web/app.php b/web/app.php index ea088dd..4c2c465 100644 --- a/web/app.php +++ b/web/app.php @@ -6,11 +6,14 @@ * @var Composer\Autoload\ClassLoader */ $loader = require __DIR__.'/../app/autoload.php'; -include_once __DIR__.'/../app/bootstrap.php.cache'; +include_once __DIR__.'/../var/bootstrap.php.cache'; $kernel = new AppKernel('prod', false); $kernel->loadClassCache(); +//$kernel = new AppCache($kernel); +// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter +//Request::enableHttpMethodParameterOverride(); $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send();