Jump to content

TECHNICAL ERROR: unable to save account (jquery)


Recommended Posts

I altered the checkout-page, found out the form could'nt be saved so I replaced the files with the original ones. Cleared cache and such, but still says error. So I'm trying to find out why.

 

When I click the save.button it says:

TECHNICAL ERROR: unable to save account Details: Error thrown: [object Object] Text status: error

 

And in chrome console it says:

Failed to load resource: the server responded with a status of 404 (Not Found) 

thewebsite.se/js/jquery/jquery-1.11.0.min.js

send @ jquery/jquery-1.11.0.min.js

 

I checked so that the jquery has the correct name, and is in the folder or root and js/jquery/. So I'm not sure why this happens. :/

Edited by midana (see edit history)
Link to comment
Share on other sites

Open up js/order-opc.js in the theme folder

Find this

error = "TECHNICAL ERROR: unable to save account \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus;

Soon after, you have

alert(error);

Replace it with 

console.log(errorThrown)

then check the debug console

Link to comment
Share on other sites

Hm, it seems it can't find the order page? Strange, that is the actual url where it comes from, correct? quick-order?

Yes :( it's /quick-order 

 I'm thinking I probably should try and backup everything I need and re-install Prestashop in hopes of it solving the problem.

 

 

 

Do you have this line

order-opc     Order     quick-order

at Preferences > SEO & URLs?

Yes

Link to comment
Share on other sites

I found the issue! It was something with the module clean url that messed things up. Usually that module works great, but somewhere on this specific store it messed it up.

 

So the checkout works fine now. And I will try and install the module manually this time to see where the bump is in it.

 

Thanks for your help. :)

Link to comment
Share on other sites

The issue with one of the modules override files called Link.php if anyone wanted to know:

 

Strict Standards: Declaration of Link::getCategoryLink() should be compatible with LinkCore::getCategoryLink($category, $alias = NULL, $id_lang = NULL, $selected_filters = NULL, $id_shop = NULL, $relative_protocol = false) in /storage/content/21/104221/website.se/public_html/override/classes/Link.php on line 154

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...