Jump to content

[SOLVED] De link naar de winkelwagen werkt niet meer


Recommended Posts

Ik heb vanmiddag wat aanpassingen gedaan en nu werkt de winkelwagen niet meer.

Ik heb ook de htaccess file overgeschreven, maar wel de oude bewaard (zie hieronder). Deze heb ik ook geprobeerd om terug te zetten, maar helaas zonder resultaat.

 

http://purekokosolie.nl/nl/quick-order

 

De rest van de linkjes werken nog wel. Ik vermoed dat het een htaccess fout is. Daarom zet ik hieronder mijn htaccess file neer:

 

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution

# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE

# http://www.prestashop.com - http://www.prestashop.com/forums

 

 

<IfModule mod_rewrite.c>

# URL rewriting module activation

RewriteEngine on

 

# URL rewriting rules

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

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

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

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

RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /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$ /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$ /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$ /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$ /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$ /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$ /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$ /img/c/$1$2.jpg [L]

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

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

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

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

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

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

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

RewriteRule ^([a-z]{2})/([0-9]+)__[a-zA-Z0-9-]* /supplier.php?isolang=$1&id_supplier=$2 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)_[a-zA-Z0-9-]* /manufacturer.php?isolang=$1&id_manufacturer=$2 [QSA,L]

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

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

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

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

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

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

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

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

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

RewriteRule ^en/page-not-found$ /404.php?isolang=en [QSA,L]

RewriteRule ^en/address$ /address.php?isolang=en [QSA,L]

RewriteRule ^en/addresses$ /addresses.php?isolang=en [QSA,L]

RewriteRule ^en/authentication$ /authentication.php?isolang=en [QSA,L]

RewriteRule ^en/best-sales$ /best-sales.php?isolang=en [QSA,L]

RewriteRule ^en/cart$ /cart.php?isolang=en [QSA,L]

RewriteRule ^en/contact-us$ /contact-form.php?isolang=en [QSA,L]

RewriteRule ^en/discount$ /discount.php?isolang=en [QSA,L]

RewriteRule ^en/guest-tracking$ /guest-tracking.php?isolang=en [QSA,L]

RewriteRule ^en/order-history$ /history.php?isolang=en [QSA,L]

RewriteRule ^en/identity$ /identity.php?isolang=en [QSA,L]

RewriteRule ^en/manufacturers$ /manufacturer.php?isolang=en [QSA,L]

RewriteRule ^en/my-account$ /my-account.php?isolang=en [QSA,L]

RewriteRule ^en/new-products$ /new-products.php?isolang=en [QSA,L]

RewriteRule ^en/order$ /order.php?isolang=en [QSA,L]

RewriteRule ^en/order-follow$ /order-follow.php?isolang=en [QSA,L]

RewriteRule ^en/quick-order$ /order-opc.php?isolang=en [QSA,L]

RewriteRule ^en/order-slip$ /order-slip.php?isolang=en [QSA,L]

RewriteRule ^en/password-recovery$ /password.php?isolang=en [QSA,L]

RewriteRule ^en/prices-drop$ /prices-drop.php?isolang=en [QSA,L]

RewriteRule ^en/search$ /search.php?isolang=en [QSA,L]

RewriteRule ^en/sitemap$ /sitemap.php?isolang=en [QSA,L]

RewriteRule ^en/stores$ /stores.php?isolang=en [QSA,L]

RewriteRule ^en/supplier$ /supplier.php?isolang=en [QSA,L]

RewriteRule ^en$ /en/ [QSA,L]

RewriteRule ^en/([^?&]*)$ /$1?isolang=en [QSA,L]

RewriteRule ^fr/page-non-trouvee$ /404.php?isolang=fr [QSA,L]

RewriteRule ^fr/adresse$ /address.php?isolang=fr [QSA,L]

RewriteRule ^fr/adresses$ /addresses.php?isolang=fr [QSA,L]

RewriteRule ^fr/authentification$ /authentication.php?isolang=fr [QSA,L]

RewriteRule ^fr/meilleures-ventes$ /best-sales.php?isolang=fr [QSA,L]

RewriteRule ^fr/panier$ /cart.php?isolang=fr [QSA,L]

RewriteRule ^fr/contactez-nous$ /contact-form.php?isolang=fr [QSA,L]

RewriteRule ^fr/bons-de-reduction$ /discount.php?isolang=fr [QSA,L]

RewriteRule ^fr/suivi-commande-invite$ /guest-tracking.php?isolang=fr [QSA,L]

RewriteRule ^fr/historique-des-commandes$ /history.php?isolang=fr [QSA,L]

RewriteRule ^fr/identite$ /identity.php?isolang=fr [QSA,L]

RewriteRule ^fr/fabricants$ /manufacturer.php?isolang=fr [QSA,L]

RewriteRule ^fr/mon-compte$ /my-account.php?isolang=fr [QSA,L]

RewriteRule ^fr/nouveaux-produits$ /new-products.php?isolang=fr [QSA,L]

RewriteRule ^fr/commande$ /order.php?isolang=fr [QSA,L]

RewriteRule ^fr/details-de-la-commande$ /order-follow.php?isolang=fr [QSA,L]

RewriteRule ^fr/commande-rapide$ /order-opc.php?isolang=fr [QSA,L]

RewriteRule ^fr/avoirs$ /order-slip.php?isolang=fr [QSA,L]

RewriteRule ^fr/mot-de-passe-oublie$ /password.php?isolang=fr [QSA,L]

RewriteRule ^fr/promotions$ /prices-drop.php?isolang=fr [QSA,L]

RewriteRule ^fr/recherche$ /search.php?isolang=fr [QSA,L]

RewriteRule ^fr/plan-du-site$ /sitemap.php?isolang=fr [QSA,L]

RewriteRule ^fr/magasins$ /stores.php?isolang=fr [QSA,L]

RewriteRule ^fr/fournisseurs$ /supplier.php?isolang=fr [QSA,L]

RewriteRule ^fr$ /fr/ [QSA,L]

RewriteRule ^fr/([^?&]*)$ /$1?isolang=fr [QSA,L]

RewriteRule ^es/pagina-no-encuentra$ /404.php?isolang=es [QSA,L]

RewriteRule ^es/direccion$ /address.php?isolang=es [QSA,L]

RewriteRule ^es/direcciones$ /addresses.php?isolang=es [QSA,L]

RewriteRule ^es/autenticacion$ /authentication.php?isolang=es [QSA,L]

RewriteRule ^es/mas-vendidos$ /best-sales.php?isolang=es [QSA,L]

RewriteRule ^es/carro-de-la-compra$ /cart.php?isolang=es [QSA,L]

RewriteRule ^es/contactenos$ /contact-form.php?isolang=es [QSA,L]

RewriteRule ^es/descuento$ /discount.php?isolang=es [QSA,L]

RewriteRule ^es/estado-pedido$ /guest-tracking.php?isolang=es [QSA,L]

RewriteRule ^es/historial-de-pedidos$ /history.php?isolang=es [QSA,L]

RewriteRule ^es/identidad$ /identity.php?isolang=es [QSA,L]

RewriteRule ^es/fabricantes$ /manufacturer.php?isolang=es [QSA,L]

RewriteRule ^es/mi-cuenta$ /my-account.php?isolang=es [QSA,L]

RewriteRule ^es/nuevos-productos$ /new-products.php?isolang=es [QSA,L]

RewriteRule ^es/carrito$ /order.php?isolang=es [QSA,L]

RewriteRule ^es/devolucion-de-productos$ /order-follow.php?isolang=es [QSA,L]

RewriteRule ^es/pedido-rapido$ /order-opc.php?isolang=es [QSA,L]

RewriteRule ^es/vales$ /order-slip.php?isolang=es [QSA,L]

RewriteRule ^es/contrasena-olvidado$ /password.php?isolang=es [QSA,L]

RewriteRule ^es/promocion$ /prices-drop.php?isolang=es [QSA,L]

RewriteRule ^es/buscar$ /search.php?isolang=es [QSA,L]

RewriteRule ^es/mapa-del-sitio$ /sitemap.php?isolang=es [QSA,L]

RewriteRule ^es/tiendas$ /stores.php?isolang=es [QSA,L]

RewriteRule ^es/proveedores$ /supplier.php?isolang=es [QSA,L]

RewriteRule ^es$ /es/ [QSA,L]

RewriteRule ^es/([^?&]*)$ /$1?isolang=es [QSA,L]

RewriteRule ^de/seite-nicht-gefunden$ /404.php?isolang=de [QSA,L]

RewriteRule ^de/adresse$ /address.php?isolang=de [QSA,L]

RewriteRule ^de/adressen$ /addresses.php?isolang=de [QSA,L]

RewriteRule ^de/authentifizierung$ /authentication.php?isolang=de [QSA,L]

RewriteRule ^de/verkaufshits$ /best-sales.php?isolang=de [QSA,L]

RewriteRule ^de/warenkorb$ /cart.php?isolang=de [QSA,L]

RewriteRule ^de/kontaktieren-sie-uns$ /contact-form.php?isolang=de [QSA,L]

RewriteRule ^de/discount$ /discount.php?isolang=de [QSA,L]

RewriteRule ^de/auftragsverfolgung-gast$ /guest-tracking.php?isolang=de [QSA,L]

RewriteRule ^de/bestellungsverlauf$ /history.php?isolang=de [QSA,L]

RewriteRule ^de/kennung$ /identity.php?isolang=de [QSA,L]

RewriteRule ^de/hersteller$ /manufacturer.php?isolang=de [QSA,L]

RewriteRule ^de/mein-Konto$ /my-account.php?isolang=de [QSA,L]

RewriteRule ^de/neue-Produkte$ /new-products.php?isolang=de [QSA,L]

RewriteRule ^de/bestellung$ /order.php?isolang=de [QSA,L]

RewriteRule ^de/bestellungsverfolgung$ /order-follow.php?isolang=de [QSA,L]

RewriteRule ^de/schnell-bestellung$ /order-opc.php?isolang=de [QSA,L]

RewriteRule ^de/bestellschein$ /order-slip.php?isolang=de [QSA,L]

RewriteRule ^de/kennwort-wiederherstellung$ /password.php?isolang=de [QSA,L]

RewriteRule ^de/angebote$ /prices-drop.php?isolang=de [QSA,L]

RewriteRule ^de/suche$ /search.php?isolang=de [QSA,L]

RewriteRule ^de/sitemap$ /sitemap.php?isolang=de [QSA,L]

RewriteRule ^de/shops$ /stores.php?isolang=de [QSA,L]

RewriteRule ^de/zulieferer$ /supplier.php?isolang=de [QSA,L]

RewriteRule ^de$ /de/ [QSA,L]

RewriteRule ^de/([^?&]*)$ /$1?isolang=de [QSA,L]

RewriteRule ^nl/pagina-niet-gevonden$ /404.php?isolang=nl [QSA,L]

RewriteRule ^nl/address$ /address.php?isolang=nl [QSA,L]

RewriteRule ^nl/addresses$ /addresses.php?isolang=nl [QSA,L]

RewriteRule ^nl/authentication$ /authentication.php?isolang=nl [QSA,L]

RewriteRule ^nl/best-sales$ /best-sales.php?isolang=nl [QSA,L]

RewriteRule ^nl/winkelwagen$ /cart.php?isolang=nl [QSA,L]

RewriteRule ^nl/contact-us$ /contact-form.php?isolang=nl [QSA,L]

RewriteRule ^nl/discount$ /discount.php?isolang=nl [QSA,L]

RewriteRule ^nl/guest-tracking$ /guest-tracking.php?isolang=nl [QSA,L]

RewriteRule ^nl/order-history$ /history.php?isolang=nl [QSA,L]

RewriteRule ^nl/identity$ /identity.php?isolang=nl [QSA,L]

RewriteRule ^nl/manufacturers$ /manufacturer.php?isolang=nl [QSA,L]

RewriteRule ^nl/my-account$ /my-account.php?isolang=nl [QSA,L]

RewriteRule ^nl/new-products$ /new-products.php?isolang=nl [QSA,L]

RewriteRule ^nl/order$ /order.php?isolang=nl [QSA,L]

RewriteRule ^nl/order-follow$ /order-follow.php?isolang=nl [QSA,L]

RewriteRule ^nl/quick-order$ /order-opc.php?isolang=nl [QSA,L]

RewriteRule ^nl/order-slip$ /order-slip.php?isolang=nl [QSA,L]

RewriteRule ^nl/password-recovery$ /password.php?isolang=nl [QSA,L]

RewriteRule ^nl/prijsverlaging$ /prices-drop.php?isolang=nl [QSA,L]

RewriteRule ^nl/search$ /search.php?isolang=nl [QSA,L]

RewriteRule ^nl/sitemap$ /sitemap.php?isolang=nl [QSA,L]

RewriteRule ^nl/stores$ /stores.php?isolang=nl [QSA,L]

RewriteRule ^nl/supplier$ /supplier.php?isolang=nl [QSA,L]

RewriteRule ^nl$ /nl/ [QSA,L]

RewriteRule ^nl/([^?&]*)$ /$1?isolang=nl [QSA,L]

</IfModule>

 

# Catch 404 errors

ErrorDocument 404 /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>

Link to comment
Share on other sites

Ik krijg gewoon je winkelwagen te zien, ook als ik een product in je winkelwagen toevoeg.

 

Dus ik vermoed dat het aan je browser cache ligt. Leeg de geschiedenis en cookies van je browser en probeer het opnieuw.

Link to comment
Share on other sites

Dit is gelukt! Cache is geleegd en ik kom in de winkelwagen. Maar als ik nu wil inloggen bij "al registreerd" op de pagina bij de winkelwagen dan kom ik op een lege pagina met 1 link "favorieten" en als ik dan terug ga, dan ben ik weer in de winkelwagen beland.

 

En ben ik wel ingelogd.

 

Wat is dat probleem dan?

post-317693-0-46455900-1326655166_thumb.png

post-317693-0-56493600-1326655171_thumb.png

Link to comment
Share on other sites

Dit is gelukt! Cache is geleegd en ik kom in de winkelwagen. Maar als ik nu wil inloggen bij "al registreerd" op de pagina bij de winkelwagen dan kom ik op een lege pagina met 1 link "favorieten" en als ik dan terug ga, dan ben ik weer in de winkelwagen beland.

 

En ben ik wel ingelogd.

 

Wat is dat probleem dan?

Welke Prestashop versie gebruik je?

 

Wat gebeurt er als je vanuit je homepage (dus niet vanuit die quickorder link) inlogt?

 

Krijg je ook een foutmelding te zien als je in je /config/config.inc.php 'display_errors' op 'on' zet en '_PS_DEBUG_SQL_' op 'true'?

Link to comment
Share on other sites

Dit is een veelvoorkomend probleem in Prestashop. Het probleem is dat er verschillende oorzaken dit probleem kunnen veroorzaken.

 

Kan je kijken of er bij 'Preferences-->SEO & URLs dezelfde domeinnaam staan bij zowel 'Shop domain name' en 'Shop domain name for SSL'? En zo niet, kan je daar dan dezelfde naam invullen en weer testen?

 

Mocht dat niet helpen, kan je (onderaan dezelfde pagina) 'Automatically redirect to Canonical url' op nee zetten en testen?

Link to comment
Share on other sites

Kan je nog eens proberen als je de domeinnaam voor SSL leeg laat?

En ook eens nadat je de htaccess opnieuw generereerd hebt?

 

Verder heb ik een oplossing gevonden voor een vergelijkbare probleem, misschien werkt het voor jou ook:

Vervang (maak eerst een backup van het origineel!!) /tools/smarty/plugins/shared.mb_str_replace.php door mijn geuploade file (eerst zipfile uitpakken natuurlijk).

shared.mb_str_replace.zip

Link to comment
Share on other sites

Het goede nieuws is dat het in Internet Explorer nu wel werkt, maar in firefox niet. Ik heb overal alle cookies en geschiedenis verwijderd in de web browser zowel IE als firefox, maar zonder succes. Ik kom weer op een lege pagina uit met alleen een link naar favorieten.

 

Ik heb het bestand shared.mb_str_replace.php gewijzigd.

 

Zoals je hebt gezegd heb ik de shop name bij SSL weggehaald, zie bijlage. Ik heb ook de htaccess opnieuw gegenereerd

 

Waarom werkt het in de ene browser wel en de andere niet?

 

Oja ik heb het ook even in chrome geprobeerd,daar werkt het ook niet. Kan jij kijken of jij het ook hebt?

post-317693-0-89695900-1326880936_thumb.png

Link to comment
Share on other sites

Prima. Ik heb je een pm gestuurd.

Zo juist getest in Firefox 9, Internet Explorer 7/8/9, Chrome 16 en Opera 11.

In alle browsers werkt het inloggen, vanuit de winkelwagen met een product, goed :)

 

Dus ik denk dat het toch nog iets met je browser cache van Firefox/Chrome te maken heeft...

In elk geval werkt het voor je bezoekers/klanten goed, dat is het belangrijkste.

Link to comment
Share on other sites

×
×
  • Create New...