sequencesc Posted August 1, 2013 Share Posted August 1, 2013 (edited) Hello everyone. I have some isue with prestashop 1.5.4.1 Everything was fine until emplyers started to add products. Now when I click on category which have products I have loop redirect 302. For example : http://herdegen.na-s...egory&id_lang=5 have products and have loop. But : http://herdegen.na-s...egory&id_lang=5 Doesn't have products and everything is fine. Options in seo : Friendly : off Accented : off Canonical : On disable multiviews : On But I've tried every combination. php files wasn't touched. Only tpl files was modified. Any idea how to fix this ? Edited August 1, 2013 by sequencesc (see edit history) Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 1, 2013 Share Posted August 1, 2013 I was just about to post about the same problem. In Firefox it says "The page isn't redirecting properly." In Chrome it's "This webpage has a redirect loop." In Firebug I can see it's a 302 loop. I've searched and found that other people have the same problem, and I've tried all of the suggestions. I didn't modify any php or tpl files (except to turn on Developer mode to see errors). It's not cookies. It seems to have something to do with adding products or categories. I think maybe it started after I added a category to the top menu. Same version of PrestaShop – 1.5.4.1. Help! Link to comment Share on other sites More sharing options...
sequencesc Posted August 3, 2013 Author Share Posted August 3, 2013 No idea at all ? Help us Link to comment Share on other sites More sharing options...
NemoPS Posted August 3, 2013 Share Posted August 3, 2013 Are you using URL rewriting? Any third party module installed? Also, have you tried turning errors on as described in my signature? Link to comment Share on other sites More sharing options...
sequencesc Posted August 3, 2013 Author Share Posted August 3, 2013 I've tried with and without rewriting. There is no third party modules. Turning on error gives nothing, because there is no compilation in case loop redirect. Even log window doesn't apear. Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 3, 2013 Share Posted August 3, 2013 I think the trouble started when I tried to synchronize my categories and top menu across two shops. I'll try removing and re-adding one shop at a time. Sequencesc, are you using Multistore? Link to comment Share on other sites More sharing options...
sequencesc Posted August 5, 2013 Author Share Posted August 5, 2013 No I don't. It's only one standalone shop. Link to comment Share on other sites More sharing options...
NemoPS Posted August 5, 2013 Share Posted August 5, 2013 What happens if you try to delete your htaccess file? are you using any custom rule? Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 6, 2013 Share Posted August 6, 2013 Thank you for trying to help Nemo1. I have not modified .htaccess, but I tried deleting it. Some images stopped working. Tried turning off Friendly URLs and turning on "Disable apache multiviews" but neither affected the category redirect loop. I do have the warning "URL rewriting (mod_rewrite) is not active on your server, or it is not possible to check..." but it is working because after PS regenerated the .htaccess the images re-appeared. Any other ideas? Link to comment Share on other sites More sharing options...
NemoPS Posted August 6, 2013 Share Posted August 6, 2013 It must be some kind of module then. Try disabling all of them, one by one, and check what happens every time. Don't worry about the warning, it pops out even if everything's okay at times Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 6, 2013 Share Posted August 6, 2013 Disabled all enabled modules one by one and checked the results. The problem remains each time. Link to comment Share on other sites More sharing options...
NemoPS Posted August 6, 2013 Share Posted August 6, 2013 uh... okay, I give up Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 6, 2013 Share Posted August 6, 2013 Disabled all enabled modules one by one and checked the results. The problem remains each time. Is yours an upgraded shop or fresh install? I am wondering if maybe it's a problem with the actual installation. Do you have a link to your store? You're using the default template? Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 6, 2013 Share Posted August 6, 2013 (edited) Hi Benjamin, I originally installed 1.5.2.0 and later upgraded to the current version, 1.5.4.1. I have been developing this site bit by bit over several months, but I remember having this problem previously and I'm guessing now that the upgrade solved it. The problem did not show up again until later and as you can see from this thread, I don't remember exactly when it happened, but it was while adding products and categories. I'm using a purchased template, but even if I switch to the default template, the problem remains. Test site is here: http://harvestacoustics.com Click on any of the categories in the top or bottom menu to see the problem. Edited August 6, 2013 by Wes Reimer (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 6, 2013 Share Posted August 6, 2013 What are the module(s) ebuserinfo and ebpromo? Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 6, 2013 Share Posted August 6, 2013 Interesting, Finished Speakers work for me. Along with various categories and subcategories like "Tower" and "Stand Alone Subwoofer" Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 7, 2013 Share Posted August 7, 2013 What are the module(s) ebuserinfo and ebpromo? Anything that came with the template starts with EB for Elation Base. Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 12, 2013 Share Posted August 12, 2013 Does no one have any more suggestions? I was willing to pay for support on this but got no response from PS after filling out their form. Is PS simply unreliable, b u g gy software? Should I cut my losses and go elsewhere? Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 12, 2013 Share Posted August 12, 2013 Looks like the word "B U G G Y" is banned/blocked in this forum! Not a good sign. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 The word Buggy is not on the BlackList actually. Those modules have errors in it. Also, some of the categories do work and some do not. Try to disable the modules with errors in them and try again. Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 12, 2013 Share Posted August 12, 2013 OK, I tried about 5 times to post that reply, and it didn't work until I put spaces in the word. Those 2 modules are showing warnings, not errors. I disabled both of them anyway, and it has no effect other than removing the warnings. The categories that work have no products in them. As soon as I add products, they fail. I just confirmed this. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 What theme are you using and where did you purchase it from? You're right about the errors for the modules, sorry about that. I just wanted to make sure. Did this started happening after you upgraded to 1.5.4.1 or was it the same with 1.5.2. I wonder if the theme may be only compatible up to 1.5.2. That said, can your hosting provider provide any information regarding this redirect loop? Maybe from looking at the server log? Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 Additionally, does this problem occur when you have multistore disabled? If you can try that, make sure to have a back-up of course. Also, there may be a problem with the languages. It seems that the URL is not picking up on the languages, I believe it should have a /en/ by it if you are using multistore. Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 12, 2013 Share Posted August 12, 2013 It's the Elation Base Liquid theme. I just checked and there is an update, so I'll see if that makes a difference. I didn't think the theme was the problem because I already tried switching back to the default theme and the problem remained. I also tried disabling multistore just now, and again, no difference. Regarding languages, if I insert /en/ into the URLs, I just get 404s. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 yes, I also tried with the /en/. Same thing. What languages do you have installed and enabled on your various multi-stores? Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 12, 2013 Share Posted August 12, 2013 OK, I've updated the theme, and the problem remains. Only English for both shops. I'm using multistore for multiple currencies, Canadian and US Dollars, and so that I can show different products available in Canada vs. international. At the moment, both stores are identical. Link to comment Share on other sites More sharing options...
Wes Reimer Posted August 18, 2013 Share Posted August 18, 2013 UPDATE: I had another programmer debug this (since apparently PrestaShop doesn't want my money), and the problem was that the product records per page setting in the database was 0. After updating it to the default value of 10, the redirects stopped. Hallelujah! Now, if only I knew what caused that value to be set to zero... 1 Link to comment Share on other sites More sharing options...
Recommended Posts