[SOLVED] This webpage has a redirect loop

10 years 4 months ago - 10 years 4 months ago #237727 by LukeDouglas
[SOLVED] This webpage has a redirect loop was created by LukeDouglas
We have a site that cannot complete subscriptions once they click a credit card icon to make payment. We have tried on Chrome, Firefox and IE10 clearing all cache and history.

CHROME:
http://kenmcnabb.com/index.php/members-only/2013-11-16-00-04-56/pluginclass?plugin=cbpaidsubscriptions&cbpgacctno=1&cbppdtback=1bd53ac2b8d4481ef851aeaeb159a995&cbpbasket=10&cbpshopuser=78b8084b1caabedfeb361263b4d69123&result=payform

IE10:
http://www.horsemanwithin.com/index.php/members-only/2013-11-16-00-04-56/pluginclass?plugin=cbpaidsubscriptions&cbpgacctno=1&cbppdtback=689455962724d27ddc2f231681225964&cbpbasket=10&cbpshopuser=78b8084b1caabedfeb361263b4d69123&result=payform&cbpid=cbp5298ba2a965a4335684005

The webpage at http://kenmcnabb.com/index.php/members-only/2013-11-16-00-04-56/pluginclass?plugin=cbpaidsubscriptions&cbpgacctno=1&cbppdtback=1bd53ac2b8d4481ef851aeaeb159a995&cbpbasket=10&cbpshopuser=78b8084b1caabedfeb361263b4d69123&result=payform has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Learn more about this problem.
Error code: ERR_TOO_MANY_REDIRECTS

Because of a problem with the captcha showing up twice, we disabled the 'captcha' and 'anti-spam' plug-ins.

Now we get this error message on the redirect:
The webpage at http://imhresdomtest6.com/index.php/component/comprofiler/pluginclass?plugin=cbpaidsubscriptions&cbpgacctno=1&cbppdtback=e1912ac36717a7dfef712bcd01566849&cbpbasket=12&cbpshopuser=9825f41f582ff5e07e0bf13ffed5c42a&result=payform has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Learn more about this problem.
Error code: ERR_TOO_MANY_REDIRECTS

If we go to h t t p: // imhresdomtest6 .com directly, we get the home page for KenMcNabb.com. That's a loop.

This is disturbing but it is a new site so if anyone has an idea how to resolve this, please respond....quickly! :)

Please Log in to join the conversation.

10 years 4 months ago #237737 by LukeDouglas
Replied by LukeDouglas on topic This webpage has a redirect loop
The hosting service has completed the installation of the SSL and it is working as kenmcnabb.com does not give us any errors. :cheer:

However, we are still encountering the "This webpage has a redirect loop" but now with the proper domain name "kenmcnabb.com".
The webpage at https://kenmcnabb.com/index.php/members-only/2013-11-16-00-04-56/pluginclass?plugin=cbpaidsubscriptions&cbpgacctno=1&cbppdtback=1bd53ac2b8d4481ef851aeaeb159a995&cbpbasket=26&cbpshopuser=7638384ed6e6ffaaeb3253d36df8a5ea&result=payform has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Learn more about this problem.
Error code: ERR_TOO_MANY_REDIRECTS

Can anyone point me to the possible cause of this error!

Thanks.

Please Log in to join the conversation.

10 years 4 months ago #237803 by krileon
Replied by krileon on topic This webpage has a redirect loop
Ensure none of your CBSubs plans are trying to protect CBSubs or protect the entire CB extension as this can cause weird issues. Check the Extensions integration tab of your plans for this.

Next what payment gateway are you using when attempting to click the credit card page? If it's Dummy or Authorize.net for example that's on-site payments and CBSubs trys to enforce HTTPS usage and will attempt to redirect to HTTPS. This is configured within CBSubs > Settings > Credit Cards, but you may have a redirect from HTTPS to HTTP somewhere on your site (sometimes host configured or htaccess configured).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 4 months ago #237812 by LukeDouglas
Replied by LukeDouglas on topic This webpage has a redirect loop
Krileon,

This may not have a darn thing to do with CBSubs.

The 'Home' menu Metadata option Secure had already been set to "On".

I went into the Joomla Global Configuration and set the Force SSL to Entire Site.

Opened up Chrome, delete 'all' history for everything, went to 'KenMcNabb.com' and got this:
The webpage at https://kenmcnabb.com/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Learn more about this problem.
Error code: ERR_TOO_MANY_REDIRECTS

So I renamed the .htaccess to .htaccess.disable.

Clear all history for everything on Chrome. Reloaded page. Got the same thing.

Went back into my Global settings and set Force SSL back to 'None'. Page loaded normally.

Now does this tell you anything that can help me find what is causing this problem?

Please Log in to join the conversation.

10 years 4 months ago #237814 by krileon
Replied by krileon on topic This webpage has a redirect loop
Sounds like your issue is with Joomla and its forced SSL redirect. Ensure CBSubs credit card form is set to use HTTPS within CBSubs > Settings > Credit Cards. If it's set to HTTP then CBSubs will try to force render it as HTTP causing an infinite loop as Joomla will try to force render as HTTPS.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 4 months ago #237820 by LukeDouglas
Replied by LukeDouglas on topic This webpage has a redirect loop
Krileon,

Yes, the "CreditCard Form http(s) mode:" is set to HTTPS.

I have "User login session on https switchover" set to "Keep user logged-in also in http".

This is curious as we have no problem with HikaShop checkout to Authorize.net.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.224 seconds

Facebook Twitter LinkedIn