lynnmcdee Posted July 5, 2014 Share Posted July 5, 2014 Hi , My website has developed an issue when using Chrome to add a product to the basket or click on 'view basket' (it happens if you are registered or a guest) Message in Chrome: This web page has a redirect loop I have looked in the htaccess file and restored an old backup file, but this has not solved the problem. Any hints or tips on where to fix this as obviously my site is currently not able to take orders in Chrome The website is working in Firefox and Internet Explorer Thanks in advance Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 5, 2014 Share Posted July 5, 2014 If I recall, this effect is seen in Opera and Chrome when the time on your computer is not close enough to the real time. Please verify that your computer's time is synced with the time you might find displayed on your mobile phone. Quote Link to comment Share on other sites More sharing options...
lynnmcdee Posted July 5, 2014 Author Share Posted July 5, 2014 Thank you Bsmither. I have checked the time and it is the same, if a couple of seconds difference. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 5, 2014 Share Posted July 5, 2014 Now, since the problem is not seen on all browsers you have installed on your computer, we have a good case to blame the cookies your browser has for your site. It seems Chrome can clear cookies on a per-domain basis, and also by a specified date-range. Other suggestions imply that the cookies for your site need to be cleared "for all time". Do you have access to another computer with Chrome installed? If so, does the problem show on that computer? There is also: Brian Kennish's Disconnect Chrome extension with its Google Blocker (I have no idea what this is). Quote Link to comment Share on other sites More sharing options...
lynnmcdee Posted July 5, 2014 Author Share Posted July 5, 2014 Hi, Yes, I have tried in on my computer, laptop and ipad. I have cleared the browsing data from the beginning of time and the redirect loop is still occurring. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 5, 2014 Share Posted July 5, 2014 I wonder if this conversation may be contributing to the problem: '?do=embed' frameborder='0' data-embedContent>> I can't find where you may have mentioned your store's web address. Quote Link to comment Share on other sites More sharing options...
lynnmcdee Posted July 5, 2014 Author Share Posted July 5, 2014 Yes, you are right :) . I have changed the redirect back to 302 and the redirect loop has now gone. Thank you so much.. What can I do about the redirects being 302 instead of 301's? I would really like them to be 301's Quote Link to comment Share on other sites More sharing options...
quantument Posted August 14, 2014 Share Posted August 14, 2014 Several ustomers have just started seeing this problem on my Cubecart 5 website also, and it seems to be Chrome that is at fault. Here is my .htaccess file, is there anything I can add to stop this redirect loop error: ## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine On ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=saleitems&%1 [NC,L] ######## END v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule> CC5 details: Script Version 5.2.12 PHP Version 5.2.17 MySQL Version 50535 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.