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

How to set up a working symfony project in local machine?

Discuss installing Symfony 2 here

How to set up a working symfony project in local machine?

by sandeepsymfony » Mon Aug 25, 2014 3:30 am

i got a symfony project,which is working fine in host.
i downloaded the code and put it in my local machine(c:/wamp/htdocs)
when i type the URL(http://localhost/symfony_test/web/app_dev.php/)

Error came like this

/1FatalErrorException: Error: Class 'Domain\CoreBundle\CoreBundle' not found in C:\xampp\htdocs\Advisible_latest\app\AppKernel.php line 20

How to run a symfony project which is already working in web?
sandeepsymfony
Junior Member
 
Posts: 1
Joined: Mon Aug 25, 2014 3:23 am

Re: How to set up a working symfony project in local machin

by apulmca2k4 » Sat Sep 13, 2014 2:41 pm

Possible reasons:

As error says,

Code: Select all
/1FatalErrorException: Error: Class 'Domain\CoreBundle\CoreBundle' not found in C:\xampp\htdocs\Advisible_latest\app\AppKernel.php line 20


it is looking for Advisible_latest directory, either something configured inside AppKernel.php or, it is a cache issue.

1. You may not have cleared cache. Remove everything inside apps/cache/ & then try again Or,

2. Check AppKernel.php file if any wrong path written there
User avatar
apulmca2k4
Senior Member
 
Posts: 152
Joined: Mon Aug 04, 2008 6:57 am
Location: New Delhi, India