{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Getting stuck in redirect loop on admin login","type":"basic","slug":"getting-stuck-in-redirect-loop-on-admin-login","excerpt":"This issue has appeared when installing wealthbot.io without vagrant on a local environment","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.","updates":["57b678f23d3e620e004ec6a7","57b67a043d3e620e004ec6ab"],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"577126fc4607a30e001ded3c","createdAt":"2015-09-30T13:37:33.023Z","project":"560415f00c78b00d0039b118","githubsync":"","user":"560415d590ee490d004404eb","__v":2,"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Common Issues","slug":"common-issues","order":1,"from_sync":false,"reference":false,"_id":"577126fc4607a30e001ded36","project":"560415f00c78b00d0039b118","createdAt":"2015-09-30T13:30:24.151Z","__v":0,"version":"577126fc4607a30e001ded34"},"parentDoc":null,"version":{"version":"1.1.0","version_clean":"1.1.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["577126fc4607a30e001ded35","577126fc4607a30e001ded36","577126fc4607a30e001ded37","577126fc4607a30e001ded38"],"_id":"577126fc4607a30e001ded34","__v":1,"project":"560415f00c78b00d0039b118","createdAt":"2016-06-27T13:15:40.398Z","releaseDate":"2016-06-27T13:15:40.398Z"}}

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.