Deploying Symfony2 app getting fosuserbundle errors

estrar picture estrar · Jan 25, 2015 · Viewed 14.9k times · Source

I have installed my Symfony project on another computer with the same specifications, and I receive the following error when I login with fosuserbundle:

Authentication request could not be processed due to a system problem.

I can't find anything of interest in the app/logs files. I run the app in dev mode. Cleared cache both manually and from the console. I setup the db with doctrine:database:create. It works to create a new user with fos:user:create and it's successfully saved to the database.

I have no idea where to go from here.

Answer

J-who picture J-who · Feb 21, 2015

Check to make sure your database is up to date. This fixed my issue when I received this error.

php app/console doctrine:schema:update --dump-sql

edit: spelling