Nando
Nando

Reputation: 398

Transfer Symfony2 website to localhost not working

I followed three steps in transferring this site to localhost.

  1. I downloaded the Symfony2 folder to my localhost.
  2. I exported the live database and imported it into my local database.
  3. I changed the database settings in parameters file

On the live server I use the URL: http://myserver.com/web. When I go to http://localhost/web I get an empty page (even the source is completely empty).

Does anyone know what goes wrong?

Upvotes: 0

Views: 591

Answers (1)

Nicolai Fröhlich
Nicolai Fröhlich

Reputation: 52473

This issue is most likely related to symfony's cache if you just downloaded the folder from upstream.

Remove everything in the app/cache folder using

rm -rf app/cache/*

Further monitor your webserver, php and symfony's logfiles for errors if the problem is not being resolved by clearing the cache.

Upvotes: 2

Related Questions