{"_id":"577126fc4607a30e001ded3c","project":"560415f00c78b00d0039b118","user":"560415d590ee490d004404eb","__v":2,"category":{"_id":"577126fc4607a30e001ded36","project":"560415f00c78b00d0039b118","__v":0,"version":"577126fc4607a30e001ded34","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-30T13:30:24.151Z","from_sync":false,"order":1,"slug":"common-issues","title":"Common Issues"},"parentDoc":null,"version":{"_id":"577126fc4607a30e001ded34","__v":1,"project":"560415f00c78b00d0039b118","createdAt":"2016-06-27T13:15:40.398Z","releaseDate":"2016-06-27T13:15:40.398Z","categories":["577126fc4607a30e001ded35","577126fc4607a30e001ded36","577126fc4607a30e001ded37","577126fc4607a30e001ded38"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1.0"},"updates":["57b678f23d3e620e004ec6a7","57b67a043d3e620e004ec6ab"],"next":{"pages":[],"description":""},"createdAt":"2015-09-30T13:37:33.023Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"## Problem Description\nOnce the app is installed: \n\n1. Go to: http://localhost:8000/admin/login\n2. And enter username: webo, password: weboDemo32\n\nYou are redirected back to http://localhost:8000/admin/login\n\n## Background\nAt the time of composer install while setting the config parameters.\nthe site domain was 'local.wealthbot.io'\n\nWhen running project as per symfony, by running the following command `php app/console server:run` the app is served at 'localhost:8000'\n\n## Solution \n1. Make sure your Apache conf serves wealthbot on 'local.wealthbot.io'\n2. In '/etc/php5/cli/php.ini' uncomment `session.save_path`, change `session.use_cookies` 1 and `session.secure_cookies` to 1.\n3. And set the permission to app folders\n\nNow the app works without vagrant and Virtual Box.","excerpt":"This issue has appeared when installing wealthbot.io without vagrant on a local environment","slug":"getting-stuck-in-redirect-loop-on-admin-login","type":"basic","title":"Getting stuck in redirect loop on admin login"}

Getting stuck in redirect loop on admin login

This issue has appeared when installing wealthbot.io without vagrant on a local environment

## Problem Description Once the app is installed: 1. Go to: http://localhost:8000/admin/login 2. And enter username: webo, password: weboDemo32 You are redirected back to http://localhost:8000/admin/login ## Background At the time of composer install while setting the config parameters. the site domain was 'local.wealthbot.io' When running project as per symfony, by running the following command `php app/console server:run` the app is served at 'localhost:8000' ## Solution 1. Make sure your Apache conf serves wealthbot on 'local.wealthbot.io' 2. In '/etc/php5/cli/php.ini' uncomment `session.save_path`, change `session.use_cookies` 1 and `session.secure_cookies` to 1. 3. And set the permission to app folders Now the app works without vagrant and Virtual Box.