Author Topic: Too many redirects  (Read 8763 times)

0 Members and 1 Guest are viewing this topic.

Offline sniz

  • Pre-Newbie
  • Posts: 8
    • View Profile
Too many redirects
« on: June 19, 2005, 01:09:52 AM »
I am getting an error that states "Too many redirects" when trying to select the log out button. I am using version1.7.1. Any ideas?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Too many redirects
« Reply #1 on: June 19, 2005, 01:37:56 AM »
can we test it?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline sniz

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Too many redirects
« Reply #2 on: June 20, 2005, 06:39:47 PM »
Yes. http://www.machadodesign.com/eaphoto/4images/

It is still on my server for testing since the site is in production. Log in as Test User with a password of eric.

Thanks

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Too many redirects
« Reply #3 on: June 21, 2005, 12:27:16 AM »
user: test
pass: eric
?
it doesnt work.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ManniC

  • Full Member
  • ***
  • Posts: 182
    • View Profile
    • photographic impressions
Re: Too many redirects
« Reply #4 on: June 21, 2005, 08:33:30 AM »
V@no:

User: Test User
Pass: eric

works fine for me :wink:

@sniz:
Logout also works fine -- without any error
Viele Grüße / Best Regards
Manfred
------------------------------------------------------
photographic impressions powered by mc-com.de[/color][/url][/size]

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Too many redirects
« Reply #5 on: June 21, 2005, 09:03:45 AM »
works fine for me too.

what browser do u use?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Too many redirects
« Reply #6 on: June 21, 2005, 10:16:23 AM »
logout works fine for me if on the main page = no matter if using IE or Firefox

but it does not work if on a details-page = Firefox gives me a "redirection timeout" error and IE does nothing - just waiting for something...
MAяTRIX


Offline sniz

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Too many redirects
« Reply #7 on: June 21, 2005, 06:22:39 PM »
Correct. It does not work from a details page. Sorry I forgot to mention that. I tried it in Safari, Firefox and Netscape.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Too many redirects
« Reply #8 on: June 22, 2005, 05:02:58 AM »
I see this issue again...it's because of sessionid being included in the redirect url.
try insert in logout.php below:
Code: [Select]
$site_sess->logout($user_info['user_id']);This:
Code: [Select]
$url = preg_replace("/[?|&]".SESSION_NAME."=[^?|&]*/", "", $url);
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline sniz

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Too many redirects
« Reply #9 on: June 27, 2005, 06:16:28 PM »
I tried the fix and, unless I did it incorrectly, it still doesn't work. Any other ideas?

Offline sniz

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Too many redirects
« Reply #10 on: June 29, 2005, 11:29:44 PM »
Any other solutions to this problem???

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Too many redirects
« Reply #11 on: June 30, 2005, 12:36:57 AM »
are u sure u've inserted that line in the correct place? its supposed to strip all sessionid=434543 stings from the url, but it doesnt on your site!
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)