awesomo Posted December 10, 2013 Share Posted December 10, 2013 (edited) Hello, I'm experiencing a strange error on a clean installation of PS 1.5.6.1. Everything is fine until I disable all languages except english, and enable Friendly URLs. Then a ERR_TOO_MANY_REDIRECTS error appears when I try to access some pages like my-account or cart. I've tried: -Clearing the cache. -Disabling the cache. -Deleting the cookies. -Regenerating the .htaccess by disabling/enabling friendly URLs. -Deleting the .htaccess and making Prestashop create one new again. -Checking php errors (all clear). -Enabling PS_MODE_DEV to see if some error appears. Nothing. -Reading Prestashop forums, looking for people with the same problem. Nothing. This error seems to go away if I enable a second language, or if I disable Friendly URLs. Any ideas what could be causing this? Thanks. Edited December 10, 2013 by awesomo (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted December 11, 2013 Share Posted December 11, 2013 What happens if you delete languages, instead of disabling them? (if you can try) Also, how did you install presta? automated script or original package? Link to comment Share on other sites More sharing options...
awesomo Posted December 11, 2013 Author Share Posted December 11, 2013 Hello, If the languages are deleted the error still happens. I installed prestashop downloading the original package from the main page, uploading it via FTP and running the install script. I've also tried the latest 1.5.6.1 version from github and the error occurs too, but instead of an infinite redirect loop, it shows this php error: Warning: File (edited)/htdocs/prueba/my-account.php is deprecatedin (edited)/htdocs/prueba/classes/Tools.php on line 2136 Warning: Cannot modify header information - headers already sent by (output started at (edited)/htdocs/prueba/classes/Tools.php:2136) in (edited)/htdocs/prueba/classes/Tools.php on line 105 Warning: Cannot modify header information - headers already sent by (output started at (edited)/htdocs/prueba/classes/Tools.php:2136) in (edited)/htdocs/prueba/classes/Tools.php on line 108 Thanks. Link to comment Share on other sites More sharing options...
awesomo Posted December 12, 2013 Author Share Posted December 12, 2013 I've opened an issue about it: http://forge.prestashop.com/browse/PSCFV-11264 All help will be appreciated. Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted December 12, 2013 Share Posted December 12, 2013 Please check your Prestashop configuration, go to Back Office > Advanced Parameters > Configuration Information Make sure Required parameters: OK Optional parameters: OK Link to comment Share on other sites More sharing options...
awesomo Posted December 12, 2013 Author Share Posted December 12, 2013 Both are ok Required parameters: OK Optional parameters: OK Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted December 12, 2013 Share Posted December 12, 2013 may i know your Prestashop URL ? Link to comment Share on other sites More sharing options...
awesomo Posted December 13, 2013 Author Share Posted December 13, 2013 It's a clean install on a test site, everyone should be able to reproduce the error, isn't it? Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted December 13, 2013 Share Posted December 13, 2013 It's a clean install on a test site, everyone should be able to reproduce the error, isn't it? Take a look on my site http://prestashop.webindoshop.com it's developed with Prestashop v.1.5.6.1 You might try to change the Friendly-URL of the second language for the error page Back Office > Preferences > SEO & URLs Link to comment Share on other sites More sharing options...
awesomo Posted December 13, 2013 Author Share Posted December 13, 2013 The problem is I don't need a second language hehe This error only shows when you have 1 language and friendly urls enabled. Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted December 14, 2013 Share Posted December 14, 2013 I see ... good luck Link to comment Share on other sites More sharing options...
awesomo Posted December 14, 2013 Author Share Posted December 14, 2013 Thank you for your interest, any help is welcome Link to comment Share on other sites More sharing options...
awesomo Posted December 16, 2013 Author Share Posted December 16, 2013 Seems like noone has an answer... strange since this error is easily reproducible. I hope the issue at the forge get assigned sometime Link to comment Share on other sites More sharing options...
OPTIOUS Posted December 27, 2013 Share Posted December 27, 2013 We were able to get our htaccess file to allow the friendly urls and get the site going. We took a look at the htaccess file generated from a fresh prestashop build that was 1.5.6.0 and have upgraded it to 1.5.6.1 Link to comment Share on other sites More sharing options...
jesus225 Posted January 22, 2014 Share Posted January 22, 2014 Hello, I can also reproduce the issue with prestashop 1.5.6.1 and with prestashop 1.5.6.2 (upgraded from 1.5.6.1). The problem only arises when you have only one language enabled and this language is english. It seems that site/new-products is redirected to site/new-products.php and since new-products.php is deprecated that url redirects you to the previous one again... and there we got the loop. As a workaround, you can change the friendly name. For instance, if you use new-offers instead of new-products, everything would work just fine. Best regards. Link to comment Share on other sites More sharing options...
Recommended Posts