Jump to content

[SOLVED] Technical Error on checkout


Recommended Posts

Hi all.

 

I'm new to the forum, so if i break any rules or etiquette, I apologise in advance.

 

I'm currently working on a store, and intend to go live within a week, but yesterday evening I encountered an error.

 

I am unsure as to whether this error was there before, as this is the first time I have tested the cart.

 

However, when I have filled in the details for a testing customer on the cart, and try to save the customer, i get a pop-up alert box with

 

 

TECHNICAL ERROR: unable to save account

 

Details:

Error thrown: [object XMLHttpRequest]

Text status: error

 

I am at a loss as to what is causing this. it's happening on the single-page checkout. the five-stage checkout won't even load (i get a 404 error)

 

Prestashop version:1.4.4.1

 

any help would be very much appreciated, and I can provide you with a link if you need it.

 

Christopher Miller

Director

CCMiller Ltd

Link to comment
Share on other sites

Hi Christopher,

Per a bug report on this issue which you can find here, there are two potential fixes. You can either turn off "Automatically redirect to Canonical URL" in the Back Office under Preferences > SEO & URLS or replace classes/FrontController.php with the SVN version you can get here.

 

Please let me know if these work for you.

 

-Mike

Link to comment
Share on other sites

Hi Christopher,

It appears that you have an incorrect redirect causing this issue. Please open your classes/FrontController.php file and look for this in Line 98:

 

  Tools::redirect('authentication.php'.($this->authRedirection ? '?back='.$this->authRedirection : ''));

 

It looks like yours is set to redirect to authentication, not authentication.php. Can you please check for this and edit the file?

 

-Mike

Link to comment
Share on other sites

Hi Christopher,

I just finished up with a developer, and this appears to be an issue with your hosting. We ran several tests:

 

RewriteRule ^(.*)$ http://www.google.com === Works fine

 

RewriteRule ^(.*)$ http://www.google.com?$1 === Works fine and shows that $1 is authentication.php (should be "authentication")

 

RewriteRule ^/authentication\.jpg/$ http://www.google.com [QSA,L] === Not working, there is something wrong with the "Common name" apache plugin

 

If you pass this information along to your hosting provider, they should be able to adjust your settings accordingly. In the meantime, you should be able to get your site working fine temporarily until they fix this for you by disabling Friendly URL in your Back Office. I hope this helps.

 

-Mike

Link to comment
Share on other sites

×
×
  • Create New...