Jump to content

[SOLVED] Error: 310 (net::ERR_TOO_MANY_REDIRECTS):


Recommended Posts

Fuuuu*k iam tired.

 

when customer is in (step)"order"

he fed his information

and click on the next button

he gets blank screen

 

 

I turned on

@ini_set('display_errors', 'on');

define('_PS_DEBUG_SQL_', true)

 

and blank screen says:

Virhe 310 (net::ERR_TOO_MANY_REDIRECTS): Uudelleenohjauksia oli liian monta.

Error 310 (net::ERR_TOO_MANY_REDIRECTS): Too many redirects (or something)

 

 

In Prestashop Back end i have:

Preferences -> SEO & URLs -> Friendly URL -> Yes

Preferences -> SEO & URLs -> Automatically redirect to Canonical url -> Yes

Tools -> Generators -> Friendly URL -> Check

Tools -> Generators -> Disable apache multiviews -> Check

 

My .htacces looks like:

<IfModule mod_rewrite.c>

 

# Disable Multiviews

Options -Multiviews

 

# URL rewriting module activation

RewriteEngine on

 

# URL rewriting rules

RewriteRule ^api/?(.*)$ /verkkokauppa/webservice/dispatcher.php?url=$1 [QSA,L]

RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1-$2$3.jpg [L]

RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1-$2.jpg [L]

RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1/$1$2.jpg [L]

RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1/$2/$1$2$3.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1/$2/$3/$1$2$3$4.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]

RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/c/$1$2.jpg [L]

RewriteRule ^c/([a-zA-Z-]+)/[a-zA-Z0-9-]+\.jpg$ /verkkokauppa/img/c/$1.jpg [L]

RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /verkkokauppa/img/c/$1$2.jpg [L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /verkkokauppa/product.php?id_product=$1 [QSA,L]

RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /verkkokauppa/product.php?id_product=$1 [QSA,L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /verkkokauppa/category.php?id_category=$1&noredirect=1 [QSA,L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /verkkokauppa/category.php?id_category=$1 [QSA,L]

RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /verkkokauppa/supplier.php?id_supplier=$1 [QSA,L]

RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /verkkokauppa/manufacturer.php?id_manufacturer=$1 [QSA,L]

RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /verkkokauppa/cms.php?id_cms=$1 [QSA,L]

RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /verkkokauppa/cms.php?id_cms_category=$1 [QSA,L]

RewriteRule ^page-not-found$ /verkkokauppa/404.php [QSA,L]

RewriteRule ^address$ /verkkokauppa/address.php [QSA,L]

RewriteRule ^addresses$ /verkkokauppa/addresses.php [QSA,L]

RewriteRule ^authentication$ /verkkokauppa/authentication.php [QSA,L]

RewriteRule ^best-sales$ /verkkokauppa/best-sales.php [QSA,L]

RewriteRule ^cart$ /verkkokauppa/cart.php [QSA,L]

RewriteRule ^contact-us$ /verkkokauppa/contact-form.php [QSA,L]

RewriteRule ^discount$ /verkkokauppa/discount.php [QSA,L]

RewriteRule ^guest-tracking$ /verkkokauppa/guest-tracking.php [QSA,L]

RewriteRule ^order-history$ /verkkokauppa/history.php [QSA,L]

RewriteRule ^identity$ /verkkokauppa/identity.php [QSA,L]

RewriteRule ^manufacturers$ /verkkokauppa/manufacturer.php [QSA,L]

RewriteRule ^blog/all-post.html$ /verkkokauppa/modules/plblog/frontent/all-post.php [QSA,L]

RewriteRule ^blog/([a-zA-Z0-9-]*)/([0-9]*)-([a-zA-Z0-9-]*).html$ /verkkokauppa/modules/plblog/frontent/details.php?plcn=$1&plidp=$2&plpn=$3&.php [QSA,L]

RewriteRule ^blog/([0-9]*)_([a-zA-Z0-9-]*).html$ /verkkokauppa/modules/plblog/frontent/list-post.php?plidc=$1&plcn=$2&.php [QSA,L]

RewriteRule ^blog/tag/([a-zA-Z0-9-]*)_([0-9]*).html$ /verkkokauppa/modules/plblog/frontent/list-tags.php?pltn=$1&plidt=$2&.php [QSA,L]

RewriteRule ^my-account$ /verkkokauppa/my-account.php [QSA,L]

RewriteRule ^new-products$ /verkkokauppa/new-products.php [QSA,L]

RewriteRule ^order$ /verkkokauppa/order.php [QSA,L]

RewriteRule ^order-follow$ /verkkokauppa/order-follow.php [QSA,L]

RewriteRule ^quick-order$ /verkkokauppa/order-opc.php [QSA,L]

RewriteRule ^order-slip$ /verkkokauppa/order-slip.php [QSA,L]

RewriteRule ^password-recovery$ /verkkokauppa/password.php [QSA,L]

RewriteRule ^prices-drop$ /verkkokauppa/prices-drop.php [QSA,L]

RewriteRule ^search$ /verkkokauppa/search.php [QSA,L]

RewriteRule ^sitemap$ /verkkokauppa/sitemap.php [QSA,L]

RewriteRule ^stores$ /verkkokauppa/stores.php [QSA,L]

RewriteRule ^supplier$ /verkkokauppa/supplier.php [QSA,L]

</IfModule>

 

# Catch 404 errors

ErrorDocument 404 /verkkokauppa/404.php

 

<IfModule mod_expires.c>

ExpiresActive On

ExpiresByType image/gif "access plus 1 month"

ExpiresByType image/jpeg "access plus 1 month"

ExpiresByType image/png "access plus 1 month"

ExpiresByType text/css "access plus 1 week"

ExpiresByType text/javascript "access plus 1 week"

ExpiresByType application/javascript "access plus 1 week"

ExpiresByType application/x-javascript "access plus 1 week"

ExpiresByType image/x-icon "access plus 1 year"

</IfModule>

 

FileETag INode MTime Size

<IfModule mod_deflate.c>

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE text/javascript

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript

</IfModule>

 

 

is there something that I dont get it?

no orders, only tears, iam tired :)

 

I just hope that it (prestashop) would work..

Link to comment
Share on other sites

  • 6 months later...
  • 5 months later...
×
×
  • Create New...