The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Redirect Loop error - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Redirect Loop error (/showthread.php?tid=180)

Pages: 1 2 3


Redirect Loop error - petejdg - Jun 9th, 2009

I had my form all working great. I went to make the site live today and thought I would submit the form to test again as it has been a couple weeks. I get the following error:
Redirect Loop

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

* Have you disabled or blocked cookies required by this site?
* NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

I hadn't changed anything from when it was working a couple weeks ago. And I was just changing the indextest to index for the site being live. So nothing was touched - it just doesn't work.

I am running MacOS 10.5.6, Firefox 3.0.10

This also doesn't work under Safari, and I am running VMware Fusion running windows Vista and doesn't under that either for Firefox.

I cannot login to the admin as it give me the same loop error.

I have done some searching and tried every way to delete cookies, etc from Firefox and nothing works. I have tried it on a couple other macs and nothing.

What do I do or what can I check?


RE: Redirect Loop error - Ben - Jun 9th, 2009

Hi Pete,

Did you recently upgrade? I don't suppose you know what version you're running? (You can check your database if you're not sure: look for the program_version setting in the "ft_settings" table).

Do you know if your hosting provider changed anything - new PHP version, MySQL version, moved your content to a different location?

- Ben


RE: Redirect Loop error - petejdg - Jun 9th, 2009

Ben,
I am not aware of my hosting provider changing anything. And I did not update it at all. Here is some of the info:
1.0.0-beta-20090404
2009/04/28

php version: 4.4.9
mySQL - 5.0.67

I guess of course the host could have changed something.
thanks,
pete


RE: Redirect Loop error - Ben - Jun 10th, 2009

Hi Pete,

There was a problem with that version that's fixed in the next release which sounds *related* to this, but I didn't think the problem was so severe... still it's worth checking out.

Try manually edit your [form tools root]/index.php file. There, on line 12 you should see this line:
PHP Code:
header("location: {$g_pages[$login_page]}"); 

Change it to this:
PHP Code:
header("location: {$g_root_url}{$g_pages[$login_page]}"); 

Then try logging in again.

Let me know how it goes! If it all works, I'd suggest upgrading your installation to the latest version. There have been a few bug fixes since the version you're running.

- Ben


RE: Redirect Loop error - mvpacific - Oct 16th, 2009

Hi Ben,
I downloaded the latest version (Form Tools Core (2.0.0-beta-20091012) and running into this exact issue.

ERROR MSG:
"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

The fix you mentioned has already been integrated into the new package:
=> Manually edit your [form tools root]/index.php file
header("location: {$g_pages[$login_page]}");

Any ideas? Thanks for your time.

(Jun 10th, 2009, 7:41 PM)Ben Wrote: Hi Pete,

There was a problem with that version that's fixed in the next release which sounds *related* to this, but I didn't think the problem was so severe... still it's worth checking out.

Try manually edit your [form tools root]/index.php file. There, on line 12 you should see this line:
PHP Code:
header("location: {$g_pages[$login_page]}"); 

Change it to this:
PHP Code:
header("location: {$g_root_url}{$g_pages[$login_page]}"); 

Then try logging in again.

Let me know how it goes! If it all works, I'd suggest upgrading your installation to the latest version. There have been a few bug fixes since the version you're running.

- Ben



RE: Redirect Loop error - uptwobucks - Jul 31st, 2010

Has this been resolved? If it has, what was the solution? I have installed Formtools on 3 of my other sites and never had a problem. Now I'm running into this issue.

"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

"This problem can sometimes be caused by disabling or refusing to accept cookies."

This error is happening while trying to go through the setup, right after entering the database information and clicking next. I do accept cookies.

I am using Version 2.0.2
Please help.
After further investigation, On step 4 of the installation, it creates the config.php file which includes the database information. I checked if the file was created and it was, and also had the correct information listed.

The error is when it tries to go to step 5. It freezes as if not knowing what to do next. I believe the next step is to create the Admin account, but it never gets to that screen.


RE: Redirect Loop error - BigCityShelts - Aug 12th, 2010

I experienced this as well. For me the issue was with permissions. Giving the web user (apache) write access to the formtools/ directory fixed it.


RE: Redirect Loop error - Ben - Aug 14th, 2010

Thanks BigCity.

Funnily enough, *I* ran into this error recently as well. For me, it was the $g_root_dir setting was incorrect. Curious.

- Ben


RE: Redirect Loop error - mossberg - Aug 16th, 2010

Thanks Ben...

I experienced this same issue. I had to change my IIS 7 permissions and once I did, the issue went away. Would be helpful for the error message to let you know this is a permissions issue and not a looped redirect.

Thanks for posting to the form. I was able to track down the issue based on everyone's response.

Thanks,

Doug


RE: Redirect Loop error - Ben - Aug 21st, 2010

Hi Mossberg - I totally agree. I had to stare at it for a few minutes to figure out the source of the problem. I'll log this as a bug.

- Ben