phrauch Posted April 18, 2015 Share Posted April 18, 2015 Hello,On my webshop at www.glasinlood-delden.nl/webwinkel (see attachment) you can login or register (top of the picture).Clicking on the links causes an error ("too many redirections").If you buy a product and you are in the shopping-cart and then click on login or register, everything works ok.What causes the problem??? Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 18, 2015 Share Posted April 18, 2015 I see that going directly to the https:https://www.glasinlood-delden.nl/webwinkelworks, so I am thinking you should visit the admin, Store Settings, SSL tab, and make sure the SSL Store URL starts with https.If it is set that way, maybe we need to look at the .htaccess file. Quote Link to comment Share on other sites More sharing options...
phrauch Posted April 18, 2015 Author Share Posted April 18, 2015 SSL Store URL starts with https.In Store Settings, SSL tab, I installed the .htaccess file (attached) File Security.txt Quote Link to comment Share on other sites More sharing options...
phrauch Posted April 18, 2015 Author Share Posted April 18, 2015 Another question: In my error log I get the message"File: [gui.class.php] Line: [1073] "SELECT `product_id`,`description`,`name`, `price`-`sale_price` AS `saving` FROM `cc_CubeCart_inventory` WHERE `price` > `sale_price` AND `sale_price` > 0 AND `status` = '1' LIMIT " - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"What should I do? Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 18, 2015 Share Posted April 18, 2015 Please verify you have the latest version of CC5 (or CC6 if using a CC5 skin with it). I am almost sure the above error was fixed in the latest version. (Edit: I double-checked - no it has not been fixed.)But, in admin, Store Settings, Features tab, make sure there is a digit in the "Number of sale items to display" greater than zero. The same on the Layout tab for Popular and Latest Products. Quote Link to comment Share on other sites More sharing options...
phrauch Posted April 18, 2015 Author Share Posted April 18, 2015 The digits greater then zero are there. My version is v5.2.16 Quote Link to comment Share on other sites More sharing options...
phrauch Posted April 18, 2015 Author Share Posted April 18, 2015 Could the login problem be caused by http <> https?Log in on the homepage: >> httP://www.glasinlood-delden.nl/webwinkel/login.html and log in (when in the shopping-cart): httpS://www.glasinlood-delden.nl/webwinkel/login.html Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 18, 2015 Share Posted April 18, 2015 CubeCart (or something else) is sending a 302 Redirect from http back to http when it should be sending to https.This is also a setting stored in the Config array -- along with the number of Sale Items to display. (as well as dozens of other setting values).Try this: change the number of Sale Items to display from whatever it is to some other number (for example, 3). See if the changed value stays that way when you log out of admin, then back in.Plus, I don't see the Sale Items sidebox, so you must have set the Sales mode to 'disabled'. And if Sales mode is disabled, then the above SQL error should not be happening. Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 18, 2015 Share Posted April 18, 2015 If I start at the Homepage and enter this into the web browser address bar:http://www.glasinlood-delden.nl/webwinkel/index.php?_a=registerwhich is the "regular" URL format, as opposed to the SEO-Friendly URL format, I get 302 redirected straight to https.So, for the moment, I am going to blame the foreign language seo-format URL causing some confusion. Exactly why, I do not know yet. Quote Link to comment Share on other sites More sharing options...
phrauch Posted April 18, 2015 Author Share Posted April 18, 2015 Thanks for the SQL problem: think it's solved now.If I change (admin, Store Settings, SSL tab) the second question to "YES" should that solve the login problem also? (see attachment) Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 18, 2015 Share Posted April 18, 2015 Might. Considering the store is already at the homepage (index.php with nothing after it) and in SSL mode. Quote Link to comment Share on other sites More sharing options...
phrauch Posted April 19, 2015 Author Share Posted April 19, 2015 I solved the problem temporarily. I made two files (registreren.html en login.html) and redirected them to index.php?_a=register and a=login.Seems to work. 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.