par
sime » 02 août 2016, 16:35
Bonjour,
Yann18 en effet

comment faire pour rajouter
MisdGuzzleBundle ?
j'ai essayer de le rajouter dans
require comme les autres mai quand je fait un composer install il ne trouve aucune version à télécharger pour MisdGuzzleBundle.
Je viens de pensée que j'ai rajouter "$loader = require __DIR__.'/autoload.php';" dans /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/AppKernel.php, est-ce que des probleme pourais venir de la ?
Bon j'ai tout enlevé ce que j'avais mis dans le mon script précédant.
Donc maintenant je fait :
- composer update
- composer install --no-dev --optimize-autoloader
- composer dump-autoload
- php app/console doctrine:schema:update --force
build 02-Aug-2016 14:21:30 STEP 1 #######################################################
build 02-Aug-2016 14:21:30 composer update
error 02-Aug-2016 14:21:30 Do not run Composer as root/super user! See https://getcomposer.org/root for details
error 02-Aug-2016 14:21:30 Loading composer repositories with package information
error 02-Aug-2016 14:21:30 Updating dependencies (including require-dev)
error 02-Aug-2016 14:21:50 - Installing sebastian/version (1.0.6)
error 02-Aug-2016 14:21:50 Loading from cache
error 02-Aug-2016 14:21:50
error 02-Aug-2016 14:21:50 - Installing sebastian/global-state (1.1.1)
error 02-Aug-2016 14:21:50 Loading from cache
error 02-Aug-2016 14:21:50
error 02-Aug-2016 14:21:50 - Installing sebastian/recursion-context (1.0.2)
error 02-Aug-2016 14:21:50 Loading from cache
error 02-Aug-2016 14:21:50
error 02-Aug-2016 14:21:50 - Installing sebastian/exporter (1.2.2)
error 02-Aug-2016 14:21:50 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing sebastian/environment (1.3.7)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing sebastian/diff (1.4.1)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing sebastian/comparator (1.2.0)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-text-template (1.2.1)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/phpunit-mock-objects (2.3.8)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-timer (1.0.8)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-file-iterator (1.3.4)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-token-stream (1.4.8)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-code-coverage (2.2.4)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing webmozart/assert (1.0.2)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpdocumentor/reflection-common (1.0)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpdocumentor/type-resolver (0.2)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpdocumentor/reflection-docblock (3.1.0)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpspec/prophecy (v1.6.1)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/phpunit (4.5.1)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:52
error 02-Aug-2016 14:21:53 sebastian/global-state suggests installing ext-uopz (*)
error 02-Aug-2016 14:21:53 phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
error 02-Aug-2016 14:21:53 phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
error 02-Aug-2016 14:21:53 Package dflydev/markdown is abandoned, you should avoid using it. Use michelf/php-markdown instead.
error 02-Aug-2016 14:21:53 Writing lock file
error 02-Aug-2016 14:21:53 Generating autoload files
error 02-Aug-2016 14:21:53 > Incenteev\ParameterHandler\ScriptHandler::buildParameters
build 02-Aug-2016 14:21:53 Updating the "app/config/parameters.yml" file.
build 02-Aug-2016 14:21:54 STEP 2 #######################################################
build 02-Aug-2016 14:21:54 composer install --no-dev --optimize-autoloader
error 02-Aug-2016 14:21:54 Do not run Composer as root/super user! See https://getcomposer.org/root for details
error 02-Aug-2016 14:21:54 Loading composer repositories with package information
error 02-Aug-2016 14:21:54 Installing dependencies from lock file
error 02-Aug-2016 14:21:54 - Removing phpunit/phpunit (4.5.1)
error 02-Aug-2016 14:21:54 - Removing phpspec/prophecy (v1.6.1)
error 02-Aug-2016 14:21:54 - Removing phpdocumentor/reflection-docblock (3.1.0)
error 02-Aug-2016 14:21:54 - Removing phpdocumentor/type-resolver (0.2)
error 02-Aug-2016 14:21:54 - Removing phpdocumentor/reflection-common (1.0)
error 02-Aug-2016 14:21:54 - Removing webmozart/assert (1.0.2)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-code-coverage (2.2.4)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-token-stream (1.4.8)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-file-iterator (1.3.4)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-timer (1.0.8)
error 02-Aug-2016 14:21:54 - Removing phpunit/phpunit-mock-objects (2.3.8)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-text-template (1.2.1)
error 02-Aug-2016 14:21:54 - Removing sebastian/comparator (1.2.0)
error 02-Aug-2016 14:21:54 - Removing sebastian/diff (1.4.1)
error 02-Aug-2016 14:21:54 - Removing sebastian/environment (1.3.7)
error 02-Aug-2016 14:21:54 - Removing sebastian/exporter (1.2.2)
error 02-Aug-2016 14:21:54 - Removing sebastian/recursion-context (1.0.2)
error 02-Aug-2016 14:21:54 - Removing sebastian/global-state (1.1.1)
error 02-Aug-2016 14:21:54 - Removing sebastian/version (1.0.6)
error 02-Aug-2016 14:21:54 Package dflydev/markdown is abandoned, you should avoid using it. Use michelf/php-markdown instead.
error 02-Aug-2016 14:21:54 Generating optimized autoload files
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\GenericEvent" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/GenericEvent.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\Debug\WrappedListener" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/WrappedListener.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcherInterface" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcherInterface.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcherInterface.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\ImmutableEventDispatcher" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\EventSubscriberInterface" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventSubscriberInterface.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventSubscriberInterface.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\EventDispatcherInterface" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcherInterface.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\Event" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Event.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Event.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\EventDispatcher" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php", the first will be used.
error 02-Aug-2016 14:21:56 > Incenteev\ParameterHandler\ScriptHandler::buildParameters
build 02-Aug-2016 14:21:56 Updating the "app/config/parameters.yml" file.
build 02-Aug-2016 14:21:57 STEP 3 #######################################################
build 02-Aug-2016 14:21:57 composer dump-autoload
error 02-Aug-2016 14:21:57 Do not run Composer as root/super user! See https://getcomposer.org/root for details
error 02-Aug-2016 14:21:57 Generating autoload files
build 02-Aug-2016 14:21:57 STEP 5 #######################################################
build 02-Aug-2016 14:21:57 php app/console doctrine:schema:update --force
error 02-Aug-2016 14:21:57 PHP Warning: require_once(/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/bootstrap.php.cache): failed to open stream: No such file or directory in /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/console on line 10
error 02-Aug-2016 14:21:57 PHP Fatal error: require_once(): Failed opening required '/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/bootstrap.php.cache' (include_path='.:/usr/share/php:/usr/share/pear') in /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/console on line 10
build 02-Aug-2016 14:21:57 #######################################################
Donc j'ai toujours les warning avec le
install mai l'erreur change quand je fait
php app/console doctrine:schema:update --force
PHP Warning: require_once(/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/bootstrap.php.cache): failed to open stream: No such file or directory in /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/console on line 10
PHP Fatal error: require_once(): Failed opening required '/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/bootstrap.php.cache' (include_path='.:/usr/share/php:/usr/share/pear') in /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/console on line 10
Voici le fichier PHP en question :
<?php
require_once __DIR__.'/bootstrap.php.cache';
require_once __DIR__.'/AppKernel.php';
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Bundle\DoctrineBundle\Command\DropDatabaseDoctrineCommand;
use Symfony\Bundle\DoctrineBundle\Command\CreateDatabaseDoctrineCommand;
$kernel = new AppKernel('test', true); // create a "test" kernel
$kernel->boot();
$application = new Application($kernel);
// add the database:drop command to the application and run it
/*$command = new DropDatabaseDoctrineCommand();
$application->add($command);
$input = new ArrayInput(array(
'command' => 'doctrine:database:drop',
'--force' => true,
));
$command->run($input, new ConsoleOutput());
// add the database:create command to the application and run it
$command = new CreateDatabaseDoctrineCommand();
$application->add($command);
$input = new ArrayInput(array(
'command' => 'doctrine:database:create',
));
$command->run($input, new ConsoleOutput());*/
Voilà j’espère que quelqu’un de plus compétent que moi comprendra pourquoi je n'ai pas se fichier .cache.
N’hésiter pas si vous voulez plus de renseignement
Bonjour,
[b]Yann18[/b] en effet :) comment faire pour rajouter [b]MisdGuzzleBundle[/b] ?
j'ai essayer de le rajouter dans [b]require[/b] comme les autres mai quand je fait un composer install il ne trouve aucune version à télécharger pour MisdGuzzleBundle.
Je viens de pensée que j'ai rajouter "$loader = require __DIR__.'/autoload.php';" dans /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/AppKernel.php, est-ce que des probleme pourais venir de la ?
Bon j'ai tout enlevé ce que j'avais mis dans le mon script précédant.
[b]Donc maintenant je fait :
- composer update
- composer install --no-dev --optimize-autoloader
- composer dump-autoload
- php app/console doctrine:schema:update --force
[/b]
[html]build 02-Aug-2016 14:21:30 STEP 1 #######################################################
build 02-Aug-2016 14:21:30 composer update
error 02-Aug-2016 14:21:30 Do not run Composer as root/super user! See https://getcomposer.org/root for details
error 02-Aug-2016 14:21:30 Loading composer repositories with package information
error 02-Aug-2016 14:21:30 Updating dependencies (including require-dev)
error 02-Aug-2016 14:21:50 - Installing sebastian/version (1.0.6)
error 02-Aug-2016 14:21:50 Loading from cache
error 02-Aug-2016 14:21:50
error 02-Aug-2016 14:21:50 - Installing sebastian/global-state (1.1.1)
error 02-Aug-2016 14:21:50 Loading from cache
error 02-Aug-2016 14:21:50
error 02-Aug-2016 14:21:50 - Installing sebastian/recursion-context (1.0.2)
error 02-Aug-2016 14:21:50 Loading from cache
error 02-Aug-2016 14:21:50
error 02-Aug-2016 14:21:50 - Installing sebastian/exporter (1.2.2)
error 02-Aug-2016 14:21:50 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing sebastian/environment (1.3.7)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing sebastian/diff (1.4.1)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing sebastian/comparator (1.2.0)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-text-template (1.2.1)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/phpunit-mock-objects (2.3.8)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-timer (1.0.8)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-file-iterator (1.3.4)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-token-stream (1.4.8)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/php-code-coverage (2.2.4)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing webmozart/assert (1.0.2)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpdocumentor/reflection-common (1.0)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpdocumentor/type-resolver (0.2)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpdocumentor/reflection-docblock (3.1.0)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpspec/prophecy (v1.6.1)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:51
error 02-Aug-2016 14:21:51 - Installing phpunit/phpunit (4.5.1)
error 02-Aug-2016 14:21:51 Loading from cache
error 02-Aug-2016 14:21:52
error 02-Aug-2016 14:21:53 sebastian/global-state suggests installing ext-uopz (*)
error 02-Aug-2016 14:21:53 phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
error 02-Aug-2016 14:21:53 phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
error 02-Aug-2016 14:21:53 Package dflydev/markdown is abandoned, you should avoid using it. Use michelf/php-markdown instead.
error 02-Aug-2016 14:21:53 Writing lock file
error 02-Aug-2016 14:21:53 Generating autoload files
error 02-Aug-2016 14:21:53 > Incenteev\ParameterHandler\ScriptHandler::buildParameters
build 02-Aug-2016 14:21:53 Updating the "app/config/parameters.yml" file.
build 02-Aug-2016 14:21:54 STEP 2 #######################################################
build 02-Aug-2016 14:21:54 composer install --no-dev --optimize-autoloader
error 02-Aug-2016 14:21:54 Do not run Composer as root/super user! See https://getcomposer.org/root for details
error 02-Aug-2016 14:21:54 Loading composer repositories with package information
error 02-Aug-2016 14:21:54 Installing dependencies from lock file
error 02-Aug-2016 14:21:54 - Removing phpunit/phpunit (4.5.1)
error 02-Aug-2016 14:21:54 - Removing phpspec/prophecy (v1.6.1)
error 02-Aug-2016 14:21:54 - Removing phpdocumentor/reflection-docblock (3.1.0)
error 02-Aug-2016 14:21:54 - Removing phpdocumentor/type-resolver (0.2)
error 02-Aug-2016 14:21:54 - Removing phpdocumentor/reflection-common (1.0)
error 02-Aug-2016 14:21:54 - Removing webmozart/assert (1.0.2)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-code-coverage (2.2.4)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-token-stream (1.4.8)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-file-iterator (1.3.4)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-timer (1.0.8)
error 02-Aug-2016 14:21:54 - Removing phpunit/phpunit-mock-objects (2.3.8)
error 02-Aug-2016 14:21:54 - Removing phpunit/php-text-template (1.2.1)
error 02-Aug-2016 14:21:54 - Removing sebastian/comparator (1.2.0)
error 02-Aug-2016 14:21:54 - Removing sebastian/diff (1.4.1)
error 02-Aug-2016 14:21:54 - Removing sebastian/environment (1.3.7)
error 02-Aug-2016 14:21:54 - Removing sebastian/exporter (1.2.2)
error 02-Aug-2016 14:21:54 - Removing sebastian/recursion-context (1.0.2)
error 02-Aug-2016 14:21:54 - Removing sebastian/global-state (1.1.1)
error 02-Aug-2016 14:21:54 - Removing sebastian/version (1.0.6)
error 02-Aug-2016 14:21:54 Package dflydev/markdown is abandoned, you should avoid using it. Use michelf/php-markdown instead.
error 02-Aug-2016 14:21:54 Generating optimized autoload files
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\GenericEvent" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/GenericEvent.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\Debug\WrappedListener" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/WrappedListener.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcherInterface" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcherInterface.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcherInterface.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\ImmutableEventDispatcher" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\EventSubscriberInterface" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventSubscriberInterface.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventSubscriberInterface.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\EventDispatcherInterface" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcherInterface.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\Event" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Event.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Event.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\EventDispatcher" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php", the first will be used.
error 02-Aug-2016 14:21:55 Warning: Ambiguous class resolution, "Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher" was found in both "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php" and "/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php", the first will be used.
error 02-Aug-2016 14:21:56 > Incenteev\ParameterHandler\ScriptHandler::buildParameters
build 02-Aug-2016 14:21:56 Updating the "app/config/parameters.yml" file.
build 02-Aug-2016 14:21:57 STEP 3 #######################################################
build 02-Aug-2016 14:21:57 composer dump-autoload
error 02-Aug-2016 14:21:57 Do not run Composer as root/super user! See https://getcomposer.org/root for details
error 02-Aug-2016 14:21:57 Generating autoload files
build 02-Aug-2016 14:21:57 STEP 5 #######################################################
build 02-Aug-2016 14:21:57 php app/console doctrine:schema:update --force
error 02-Aug-2016 14:21:57 PHP Warning: require_once(/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/bootstrap.php.cache): failed to open stream: No such file or directory in /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/console on line 10
error 02-Aug-2016 14:21:57 PHP Fatal error: require_once(): Failed opening required '/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/bootstrap.php.cache' (include_path='.:/usr/share/php:/usr/share/pear') in /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/console on line 10
build 02-Aug-2016 14:21:57 #######################################################[/html]
Donc j'ai toujours les warning avec le [b]install[/b] mai l'erreur change quand je fait [b]php app/console doctrine:schema:update --force[/b]
[php]PHP Warning: require_once(/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/bootstrap.php.cache): failed to open stream: No such file or directory in /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/console on line 10
PHP Fatal error: require_once(): Failed opening required '/home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/bootstrap.php.cache' (include_path='.:/usr/share/php:/usr/share/pear') in /home/admin/bamboo/xml-data/build-dir/PHPAP-BEAL-JOB1/app/console on line 10[/php]
Voici le fichier PHP en question :
[php]<?php
require_once __DIR__.'/bootstrap.php.cache';
require_once __DIR__.'/AppKernel.php';
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Bundle\DoctrineBundle\Command\DropDatabaseDoctrineCommand;
use Symfony\Bundle\DoctrineBundle\Command\CreateDatabaseDoctrineCommand;
$kernel = new AppKernel('test', true); // create a "test" kernel
$kernel->boot();
$application = new Application($kernel);
// add the database:drop command to the application and run it
/*$command = new DropDatabaseDoctrineCommand();
$application->add($command);
$input = new ArrayInput(array(
'command' => 'doctrine:database:drop',
'--force' => true,
));
$command->run($input, new ConsoleOutput());
// add the database:create command to the application and run it
$command = new CreateDatabaseDoctrineCommand();
$application->add($command);
$input = new ArrayInput(array(
'command' => 'doctrine:database:create',
));
$command->run($input, new ConsoleOutput());*/[/php]
Voilà j’espère que quelqu’un de plus compétent que moi comprendra pourquoi je n'ai pas se fichier .cache.
N’hésiter pas si vous voulez plus de renseignement