Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2014
    Posts
    216
    Plugin Contributions
    0

    Default ERR_TOO_MANY_REDIRECTS after adding 2nd domain to hosting account

    So I'm working thru Godaddy hosting. I have had a site www.thecubden.org/store and it has been working great for years. I'm now adding a new site www.visionsinvinyldesign.com to my hosting. I get the following error ERR_TOO_MANY_REDIRECTS when i click the contact form. Is this because during the install it has set my define('HTTPS_SERVER', to http://www.visionsinvinyldesigns.com and not to where my sql server is on www.thecubden.org in the config.php?

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: contact us form give ERR_TOO_MANY_REDIRECTS

    If setting up a new site it should also be using its own database, not one belonging to another site. Else you will have more (serious) problems then just with the Contact page.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: contact us form give ERR_TOO_MANY_REDIRECTS

    Quote Originally Posted by cubmanky View Post
    So I'm working thru Godaddy hosting. I have had a site www.thecubden.org/store and it has been working great for years. I'm now adding a new site www.visionsinvinyldesign.com to my hosting. I get the following error ERR_TOO_MANY_REDIRECTS when i click the contact form. Is this because during the install it has set my define('HTTPS_SERVER', to http://www.visionsinvinyldesigns.com and not to where my sql server is on www.thecubden.org in the config.php?
    I've tried to provide an answer to this a few times already today, but constantly find myself in a quandry. I wish I could say something without a lot of explanation, but the question asked seems to indicate the need to explain some of the workings.

    Too many redirects: that is basically something to do with network traffic and being told to continue to take turns when all you want to do is drive straight down the road. A database could play a factor, but it would not be the primary factor out of the gate with a brand new install and no edits.

    A database can exist on any server that can support a database, it doesn't have to be on the same server as another database. In fact, sometimes it is better to have data on a different server, that way if one goes down another is still available. But... one must be sure that the different "name" actually relates to different hardware... otherwise two names could be pointing at the same hardware such that both would go down if there was hardware issues with either one...

    So then there's the url (HTTPS_SERVER) thing.. in the above post the explanation is/was that the secure constant was logged but not the same as somewhere else, is at least HTTP_SERVER and HTTPS_SERVER within the same file the same?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: contact us form give ERR_TOO_MANY_REDIRECTS

    I've seen this happen (too many redirects) when there's a mismatch between the HTTP{S}_SERVER definitions and some .htaccess redirects.

    For instance, if you want your store to respond to only http://example.com then you might have an .htaccess statement to redirect any accesses from http://www.example.com to http://example.com.

    All is well-and good until you've coded your HTTP_SERVER definition as http://www.example.com. Now your Zen Cart is making requests with the www. prefix that the .htaccess really, really wants to remove. That's where at least one example of the "too many redirects" can come from.

    Couple that with the changes made to the contact-us page that really, really want to display that page using https protocol ... http -> https -> http -> ...

 

 

Similar Threads

  1. Replies: 9
    Last Post: 29 Nov 2016, 01:47 AM
  2. Troubleshooting url issue after adding URL alias in hosting account
    By sjbmaine in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 4 Feb 2009, 08:51 PM
  3. setting up 2nd zen cart on addon domain
    By Eleona in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 4 Aug 2008, 05:09 PM
  4. Replies: 3
    Last Post: 30 May 2008, 07:51 AM
  5. Edit/Update Account Doesn't Work after Adding a new Account Field
    By webomat in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Apr 2007, 04:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR