Unable to create bootstrap file in Symfony 2.1.1

I have an application written for Symfony 2.0, and I started porting it to Symfony 2.1. I have successfully installed all the dependencies with the composer, but the script crashes ...

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post-update-cmd event terminated with an exception [RuntimeException] An error occurred when generating the bootstrap file. 

Any clue? I am completely lost and I was looking for it, but I just found a forum post with people having the same problem as me ...

+6
source share
1 answer

The problem is that the manual is not clear . It tells you to run composer.phar install before reporting that symfony standard character files need to be replaced.

So now you have to replace

  • AppKernel.php ,
  • AppCache.php and
  • autoload.php (and delete odd files)

and update the config.yml file using the tips given.

+5
source

Source: https://habr.com/ru/post/925402/


All Articles