kossovo Posted February 12, 2013 Share Posted February 12, 2013 Hello everyone, I am Francophone and please tolerate my English. I'm new to the forum and this is my first time to install PrestaShop. I first did some tests locally, and it worked fine. Once online, after inatallation I only accesses the back office, but not at my shop. When I try to access my shop, I get the following error: "Error 310 (net :: ERR_TOO_MANY_REDIRECTS): Too many redirects" I use PrestaShop 1.5.3.1 Thank you for the different reactions. this is the link : http://www.fleurdeso....fr/prestashop/ Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 Please I really need help, my job depends on it Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 for the first tty to delete .htaccess file located in your prestashop root directory. Before you delete it, make a backup of this file. After that, delete it and try to refresh your website Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 thank you very much for your reply. By deleting this file, nothing changes. Here the tree of my site: > Main Site > folder > folder > PrestaShop > files > .... >. htaccess > robots.txt Do. Htaccess file is in the right place? PS: I have attached my file. Htaccess ---------------------------------------------------------------------------------- # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> # Disable Multiviews Options -Multiviews RewriteEngine on RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule . - [E=REWRITEBASE:/prestashop/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^www.fleurdesoleil.fr$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /prestashop/index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 i noticed that your shop website is in www.fleurdesoleil.fr/prestashop/ right? change directory "PrestaShop" name to lowercase "prestashop" your .htaccess file of prestashop must be in /prestashop directory have you got an access to database and database manager like phpmyadmin? can you paste what you exactly have got in ps_shop_url table? Like me below: Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 (edited) Yes, My shop is in www.fleurdesoleil.fr/prestashop/ Once again, thank you for your answers. I put everything in lowercase (this was already the case). Here is a picture of the table ps_shop_url Edited February 12, 2013 by kossovo (see edit history) Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 (edited) This is just the definition of this table, I think this table is empty. Should I create an entry in me based on the picture you posted? this is the content of my table Edited February 12, 2013 by kossovo (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 try to add new row with your shop specification, you can match your specification to my own demo store that i pasted, just remember that you've got shop in directory /prestashop Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 I do not think I understand. Do you want I create a new shop? If so, how do I please? I'm really beginner under PrestaShop Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 I do not think I understand. Do you want I create a new shop? If so, how do I please? I'm really beginner under PrestaShop you edited your post, i don't see rows before, now i see it, so you don't have to add new row there Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 Ok thank you, now what can I do to solve this problem? I thought that the error comes from. htaccess Ok thank you, now what can I do to solve this problem? I thought that the error comes from. htaccess Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 it is a htaccess error, but you said that you deleted it from /prestashop directory and problem still occur, so someting goes wrong with configuration also Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 Yes, I think so, but I do not really know where this error comes ... Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 i can check it but i need an access to database & ftp Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 If it were my personal website, I will give you everything. But this is the website of a small company where I do my internship. For safety reasons, I can convey certain information. (I hope you understand me). you just have to ask me all the information that you want, I'll give you. Link to comment Share on other sites More sharing options...
benjamin utterback Posted February 12, 2013 Share Posted February 12, 2013 Moved to "Configuring and Using PrestaShop" 1 Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 YOu said before that you've got problem about deleting .htaccess file, but finally you deleted correct file, right? Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 try to add /prestashop/ to virtual_uri and delete it from physical_uri 1 Link to comment Share on other sites More sharing options...
kossovo Posted February 12, 2013 Author Share Posted February 12, 2013 By reversing the values of phisical_url and virtual_url column, There is no change. However, it seems that the problem is my version of MySQL (4.1). While PrestaShop 1.5.3.1 requires the minimum 5.x verison. I will try this and come back to change you. Thank you for everything. Link to comment Share on other sites More sharing options...
vekia Posted February 12, 2013 Share Posted February 12, 2013 ok, im waitin for more informations about your issue, hope you will solve it Link to comment Share on other sites More sharing options...
kossovo Posted February 18, 2013 Author Share Posted February 18, 2013 Hello, this problem is now solved. I just reinstalled the database on a MySQL version 5.2. Thank you all. Link to comment Share on other sites More sharing options...
benjamin utterback Posted February 18, 2013 Share Posted February 18, 2013 Hello kossovo, thank you for confirming the solution. I will go ahead and mark this thread as solved. Thank you for choosing PrestaShop! 1 Link to comment Share on other sites More sharing options...
CrossY Posted April 25, 2016 Share Posted April 25, 2016 try to add /prestashop/ to virtual_uri and delete it from physical_uri Just wanted to say this (almost this ) solved my problem. I had the full url (including the folder) under 'domain', splitting the folder to 'physical' fixed my site. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now