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

Symfony - new project

Installation and environment issues, mainly on 1.x but there's some 2.x here too.

Symfony - new project

by Alan » Thu Apr 10, 2014 12:11 pm

Hi,

I installed Symfony project with Composer but there were some problems so I've decided to start over. I've deleted the directory 'symdem' in 'htdocs' and executed a composer command:
Code: Select all
composer create-project symfony/framework-standard-edition myproject/ ~2.4


Then I did everything according to the manual up to:
Code: Select all
php app/console server:run


I received a message: Server running on http://localhost:8000

So I went to this address and received this error:
Code: Select all
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/symdem/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0


It seems that it is still looking for some files in the old 'symdem' directory that no longer exist. How do I delete all references to it in the new project and make it work?
Alan
Junior Member
 
Posts: 2
Joined: Wed Apr 09, 2014 4:56 pm