Guest IanSaunders Posted October 6, 2009 Share Posted October 6, 2009 Hi All, I have a problem woith a customer's site. If you click the 'View Basket' button within the cart box, it breaks... in the source code, the link points to http://www.collarandcuff.co.uk/index.php?_g=co&_a=cart when you follow the link, you get a 404 page not found error and the address bar shows https://www.collarandcuff.co.uk//index.phpindex.php?_g=co&_a=cart&ccUser=eljhojfesj0hqrbkg45mchlq84 within the template file, the link points to: "index.php?_g=co&_a={CART_STEP}" if you manually remove the superfluous '/index.php' underlined above) in the address bar, you can reach the cart. Evidently something is rewriting the URL after the click, and it's not doing a very good job of it. Can anyone shed any light on why this is happening and how I go about fixing it? Quote Link to comment Share on other sites More sharing options...
Guest IanSaunders Posted October 6, 2009 Share Posted October 6, 2009 After a bit of experimenting, I've discovered that I can get to the cart if I change the protocol in the URL from HTTP:// to HTTPS:// As a result, I've included the absolute path in the template using HTTPS:// which appears to work, but feels like the wrong way to resolve this. I'd appreciate any thoughts... it now points to: "https://www.collarandcuff.co.uk/index.php?_g=co&_a={CART_STEP}" Quote Link to comment Share on other sites More sharing options...
Guest Roger Huston Posted October 7, 2009 Share Posted October 7, 2009 Obviously you are getting an extra index.php added to your path. I would check two spots. 1. CubeCart settings. Make sure you absolute and relative path settings are correct and do not contain index.php. Some people copy and paste the url from their store, which can cause this problem. 2. htaccess. Some people have added a 301 redirect to www version of the store and if you do not do this right, it can add the index.php to the end of the string. - Roger Quote Link to comment Share on other sites More sharing options...
Guest IanSaunders Posted October 8, 2009 Share Posted October 8, 2009 Thanks for your reply Roger. I've had a look in the settings, and neither absolute nor relative for both http and https reference index.php. There's also not a .htaccess file, so I don't think it's that either. Any other suggestions? Quote Link to comment Share on other sites More sharing options...
Robsta Posted October 8, 2009 Share Posted October 8, 2009 I've had a look in the settings, and neither absolute nor relative for both http and https reference index.php.In General Settings SSL section? (just clarifying). So the site works fine when SSL is disabled? What release of v4 are you on? Quote Link to comment Share on other sites More sharing options...
Guest IanSaunders Posted October 8, 2009 Share Posted October 8, 2009 I've had a look in the settings, and neither absolute nor relative for both http and https reference index.php.In General Settings SSL section? (just clarifying). So the site works fine when SSL is disabled? What release of v4 are you on? Yes, in the general ssl section. The site works fine with SSL disabled, and the version is 4.3.3 Go easy on me, I'm a CubeCart newbie... :zorro: 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.