alfy82 Posted April 24, 2013 Share Posted April 24, 2013 hello, in my ecommerce since 2-3 days ago works all god. But now , when you made an order , even if you get the email of order done , in the last step you see an error 404. I chenged hosting 3 days ago , from aruba to hostng2000 , maybe this is the problem. I recreated the htaccess file , but the problem is the same. any help? thanks Link to comment Share on other sites More sharing options...
NemoPS Posted April 24, 2013 Share Posted April 24, 2013 You're probably being redirected to a wrong order-confirmation page. Is there a chance to know what url is causing the issue? Could you paste it here? Link to comment Share on other sites More sharing options...
alfy82 Posted April 24, 2013 Author Share Posted April 24, 2013 now i made an order, in the final step this is the link: http://www.outletaccessori.it/order-confirmation.php?id_cart=8648&id_module=74&id_order=2705&key=e189eedd02ae221565e662ea61bba30d and appear error 404 Link to comment Share on other sites More sharing options...
NemoPS Posted April 24, 2013 Share Posted April 24, 2013 I see, are you on prestashop 1.4? Link to comment Share on other sites More sharing options...
alfy82 Posted April 24, 2013 Author Share Posted April 24, 2013 yes, 1.4.6 but since now no problems , Link to comment Share on other sites More sharing options...
NemoPS Posted April 24, 2013 Share Posted April 24, 2013 Do you have friendly urls turned on maybe? Is so, try disabling them and see what happens. Also, check if there's a warning near that option Link to comment Share on other sites More sharing options...
alfy82 Posted April 24, 2013 Author Share Posted April 24, 2013 yes i have friendly on , you think the new server have no this option? but if so all links was error , right? Link to comment Share on other sites More sharing options...
NemoPS Posted April 24, 2013 Share Posted April 24, 2013 The fact is, the url should be differnt with that option turned on, thus the 404. Try disabling them and see what happens Link to comment Share on other sites More sharing options...
alfy82 Posted April 24, 2013 Author Share Posted April 24, 2013 i generated a new htaccess whit automatic prestashop , this is the file , maybe this is the problem: # .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> # Disable Multiviews Options -Multiviews # 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 ^([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 ^pagina-non-trovata$ /404.php [QSA,L] RewriteRule ^indirizzo$ /address.php [QSA,L] RewriteRule ^indirizzi$ /addresses.php [QSA,L] RewriteRule ^autenticazione$ /authentication.php [QSA,L] RewriteRule ^vendite-migliori$ /best-sales.php [QSA,L] RewriteRule ^carrello$ /cart.php [QSA,L] RewriteRule ^contattaci$ /contact-form.php [QSA,L] RewriteRule ^sconto$ /discount.php [QSA,L] RewriteRule ^ospite-monitoraggio$ /guest-tracking.php [QSA,L] RewriteRule ^storico-ordine$ /history.php [QSA,L] RewriteRule ^identita$ /identity.php [QSA,L] RewriteRule ^produttori$ /manufacturer.php [QSA,L] RewriteRule ^il-mio-account$ /my-account.php [QSA,L] RewriteRule ^nuovi-prodotti$ /new-products.php [QSA,L] RewriteRule ^ordine$ /order.php [QSA,L] RewriteRule ^seguito-ordine$ /order-follow.php [QSA,L] RewriteRule ^ordine-veloce$ /order-opc.php [QSA,L] RewriteRule ^nota-di-ordine$ /order-slip.php [QSA,L] RewriteRule ^password-recupero$ /password.php [QSA,L] RewriteRule ^riduzione-prezzi$ /prices-drop.php [QSA,L] RewriteRule ^cerca$ /search.php [QSA,L] RewriteRule ^sitemap$ /sitemap.php [QSA,L] RewriteRule ^negozi$ /stores.php [QSA,L] RewriteRule ^fornitore$ /supplier.php [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 More sharing options...
NemoPS Posted April 24, 2013 Share Posted April 24, 2013 But have you tried to see what happens if you disable friendly urls? Link to comment Share on other sites More sharing options...
alfy82 Posted April 24, 2013 Author Share Posted April 24, 2013 i try to turn off , but all links are whit no sense , and since now working good whit url friendly active so i hope can be fixed using friendly active Link to comment Share on other sites More sharing options...
NemoPS Posted April 24, 2013 Share Posted April 24, 2013 Turn it off and delete the htaccess, see what happens Link to comment Share on other sites More sharing options...
alfy82 Posted April 24, 2013 Author Share Posted April 24, 2013 if i delete the htacess file all links give error 404. i don't understand why it gives error only in the last step of the order , but all links of site are ok. Link to comment Share on other sites More sharing options...
NemoPS Posted April 24, 2013 Share Posted April 24, 2013 Are you using a third party module to checkout? Link to comment Share on other sites More sharing options...
alfy82 Posted April 25, 2013 Author Share Posted April 25, 2013 fixed..the file order-confirmation.php missed probably lost in the transfer Link to comment Share on other sites More sharing options...
Recommended Posts