This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Problem with 2.3 update

Discuss installing Symfony 2 here

Problem with 2.3 update

by julienferment » Wed Jun 05, 2013 3:56 pm

Hello Symfony community.
I tried to update from 2.2.2 to 2.3 without success.
During the composer update, I have got a crash :

PHP Fatal error: Class 'JMS\AopBundle\JMSAopBundle' not found in /Applications/MAMP/htdocs/mysite/myproject/Symfony/app/AppKernel.php on line 19
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception


I think it's logic as 2.3 doesnt include the JMS packages anymore BUT I dont understand why the script doesnt update the appkernel.php file...

Any idea ?

Thx in advance.

Julien
Julien Ferment
User avatar
julienferment
Junior Member
 
Posts: 7
Joined: Wed Jun 05, 2013 3:52 pm
Location: Paris, France

Re: Problem with 2.3 update

by tiagojsag » Wed Jun 05, 2013 4:06 pm

Hi,

Composer doesn't update AppKernel.php because composer is not specific to Symfony, but AppKernel.php.
You have to update your AppKernel.php manually.

cheers
Tiago Garcia
@tiagojsag

Core Web Developer @ Shopware
http://www.shopware.de
User avatar
tiagojsag
Faithful Member
 
Posts: 885
Joined: Wed Aug 10, 2011 4:58 pm

Re: Problem with 2.3 update

by julienferment » Wed Jun 05, 2013 4:18 pm

Thx Tiago,
I tried this solution before posting this topic, but I made the appkernel modification after the script crash. I think I have to mod it before launching the update.
I will try and let you know ;)

Julien
Julien Ferment
User avatar
julienferment
Junior Member
 
Posts: 7
Joined: Wed Jun 05, 2013 3:52 pm
Location: Paris, France

Re: Problem with 2.3 update

by julienferment » Wed Jul 17, 2013 3:19 pm

Tiago,
you were right, I modified the file before launching composer update and it worked fine :)
Thxxxxx

Julien
Julien Ferment
User avatar
julienferment
Junior Member
 
Posts: 7
Joined: Wed Jun 05, 2013 3:52 pm
Location: Paris, France