0

I have a huge problem with Symfony. I installed Symfony 2.7.5 from command line:

$ symfony new my_project

But the main problem is that all project was generated correctly with the exception of directory: /web/bundle

So I have in this folder two empty files (not catalogues!) with 0 KB size: framework and sensiodistribution. That means all Symfony error pages haven't any css style and look ugly.

Screens:

My local folder: enter image description here

and

Error page:

enter image description here

What should I do?

3
  • Might be the version. Try with 2.7.4. Or try that and a composer update. Maybe you got an error while you've installed it that you miss. Commented Sep 25, 2015 at 22:20
  • 1
    There is no web/bundle directory. Did you mean web/bundles? It get's populated when you run app/console assets:install or app/console assetic:dump Commented Sep 26, 2015 at 0:04
  • @Cerad Yes, I mean web/bundles. run app/console assets:install was helpfull, everything works fine! Thank You. Commented Sep 26, 2015 at 1:15

1 Answer 1

3

Command:

$ app/console assets:install

populated this catalogue and it was the solution of the problem.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.