socialturn icon indicating copy to clipboard operation
socialturn copied to clipboard

ERR_TOO_MANY_REDIRECTS

Open loudotdigital opened this issue 9 years ago • 13 comments

Just installed everything like you say but when I try to access the app it redirects from app.mydomain.com to app.mydomain.com/users/login and gives me that error ERR_TOO_MANY_REDIRECTS

can you help me fix it?

loudotdigital avatar Dec 15 '15 12:12 loudotdigital

Looks like some error in your htaccess. Please check once.

Warm Regards,

Anant Garg Inscripts

On Tue, Dec 15, 2015 at 5:38 PM, Luis Marques [email protected] wrote:

Just installed everything like you say but when I try to access the app it redirects from appmydomaincom to appmydomaincom/users/login and gives me that error ERR_TOO_MANY_REDIRECTS

can you help me fix it?

— Reply to this email directly or view it on GitHub https://github.com/anantgarg/socialturn/issues/6.

anantgarg avatar Dec 16 '15 20:12 anantgarg

Hi, Im using the origial htaccess. Without any edit. I've tried the socialturn into the public_HTML with the root domain, and i've tried it in a subdomain

Should i edited the original htaccess?

loudotdigital avatar Dec 16 '15 21:12 loudotdigital

Yes, you may need to edit it slightly to get it to work with your server.

Warm Regards,

Anant Garg Inscripts

On Thu, Dec 17, 2015 at 3:27 AM, Luis Marques [email protected] wrote:

Hi, Im using the origial htaccess. Without any edit. I've tried the socialturn into the public_HTML with the root domain, and i've tried it in a subdomain

Should i edited the original htaccess?

— Reply to this email directly or view it on GitHub https://github.com/anantgarg/socialturn/issues/6#issuecomment-165256966.

anantgarg avatar Dec 17 '15 14:12 anantgarg

I am having the same error

This webpage has a redirect loop

ERR_TOO_MANY_REDIRECTS

Here is my htaccess, the script is in the social directory

DirectoryIndex index.php

<IfModule mod_rewrite.c>
# Turn on URL rewriting
RewriteEngine On

# Put your installation directory here:
# If your URL is www.example.com/, use /
# If your URL is www.example.com/kohana/, use /kohana/
RewriteBase /social/

# Do not enable rewriting for files or directories that exist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# For reuests that are not actual files or directories,
# Rewrite to index.php/URL
RewriteRule ^(.*)$ index.php/$1 [PT,L]


</IfModule>

Here is my error log

[Mon Mar 07 13:11:09 2016] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.

Here are my permissions


[~/public_html/social]# ls -al
total 52
drwxr-xr-x  8 conoverl conoverl 4096 Mar  7 13:16 ./
drwxr-xr-x 22 conoverl conoverl 4096 Mar  7 10:41 ../
drwxr-xr-x  6 conoverl conoverl 4096 Mar 24  2015 assets/
-rw-r--r--  1 conoverl conoverl 1090 Mar  7 11:54 config.php
drwxr-xr-x  2 conoverl conoverl 4096 Mar 24  2015 controllers/
drwxr-xr-x  2 conoverl conoverl 4096 Mar  7 12:51 db/
-rw-r--r--  1 conoverl conoverl 1150 Mar 24  2015 favicon.ico
-rwxr-xr-x  1 conoverl conoverl  523 Mar  7 13:11 .htaccess*
drwxr-xr-x  2 conoverl conoverl 4096 Mar 24  2015 images/
-rw-r--r--  1 conoverl conoverl 2366 Mar 24  2015 index.php
drwxr-xr-x  4 conoverl conoverl 4096 Mar 24  2015 libraries/
-rw-r--r--  1 conoverl conoverl  309 Mar 24  2015 README.md
drwxr-xr-x  7 conoverl conoverl 4096 Mar 24  2015 views/

webstandardcss avatar Mar 07 '16 20:03 webstandardcss

the solution of this problem is so simple, but it took my whole night to figure this out.

JUST REPLACE "PT" with "R"

** RewriteRule ^(.)$ index.php/$1 [PT,L] *_ _ EDITED Version -->

** RewriteRule ^(.)$ index.php/$1 [R,L] *

seemapatel3650 avatar Mar 21 '16 00:03 seemapatel3650

Not working with solution @seemapatel3650

disearth avatar Mar 26 '16 05:03 disearth

Any Help ?

disearth avatar Mar 27 '16 04:03 disearth

same error using demo http://app.socialturn.com/

trsistemas avatar Sep 02 '17 00:09 trsistemas

I'm unable to replicate the error. Are you facing it on app.socialturn.com?

anantgarg avatar Sep 02 '17 06:09 anantgarg

Yes, I just registered, and when I try to connect to facebook this happened

trsistemas avatar Sep 02 '17 07:09 trsistemas

Facebook's code has changed. I think you'll have to make some modifications to this code. Shouldn't be anything major.

anantgarg avatar Sep 02 '17 07:09 anantgarg

any update

imranfeb avatar Sep 20 '17 11:09 imranfeb

I haven't had the time to fix it. If someone can take the time to fix it and do a pull request, I'd be happy to patch it.

anantgarg avatar Sep 21 '17 05:09 anantgarg