Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load resource when using routing type be_simple_i18n #110

Open
SimpleSimplicity opened this issue Feb 15, 2018 · 1 comment
Open

Comments

@SimpleSimplicity
Copy link

Steps to reproduce:

Create a new project with the welcome page.

Install and configure the bundle per instructions.

Change the welcome page type to be_simple_i18n.

Outcome:

  Cannot load resource "@AppBundle/Controller/IndexController.php". Make sure the "AppBundle" 
  bundle is correctly registered and loaded in the application kernel class. If the bundle is registered, 
  make sure the bundle path "@AppBundle/Controller/IndexController.php" is not empty. 

Any ideas or what could be causing that?
I've tried on both Symfony 3.0.2 and 2.6

@samuelvi
Copy link

try inserting in AppKernel, the following instruction

new BeSimple\I18nRoutingBundle\BeSimpleI18nRoutingBundle(),

before

new Tac\AppBundle\TacAppBundle(),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants