I have installed rails locomotive cms engine using this guide http://doc.locomotivecms.com/guides/get-started/install-engine and everything worked fine but when I call the application on chrome browser with http://x.x.x.x:8080/locomotive I get the following error:

This webpage has a redirect loop The webpage at http://x.x.x.x:8080/locomotive has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem...

cookies are already enabled

Any help would be appreciated.

有帮助吗?

解决方案

While not knowing what the exact cause of your error, I had this same error for a bit and I resolved it by deleting that app engine, starting over and instead of at step one inputting:

rails new myapp --skip-active-record --skip-test-unit --skip-javascript --skip-bundle

inputted:

rails 3.2.16 new myapp --skip-active-record --skip-test-unit --skip-javascript --skip-bundle

Source

I then followed the rest of the steps and the redirect error disappeared and everything worked as expected.

Hopefully that helps!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top