Jump to content

TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parse


Recommended Posts

Hello, I have a problem on PS 1.5.5.0 and the choice of the addresses on the trolley.

In step number 3, that the choice of the address, when I try to select one of the leaders of the form I get the following message displayed on the screen

 

TECHNICAL ERROR: unable to save adresses

 

Details:

Error thrown: [object Object]

Text status: ParserError

 

How can it be solved this bug?

Thank you in advance for your suggestions

Link to comment
Share on other sites

This is my log report:
 

Uncaught ReferenceError: file_not_found is not defined analytics.js:1
  1. Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235
  1. Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235
  1. Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235
  1. Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235
Invalid App Id: Must be a number or numeric string representing the application id. all.js:56
FB.getLoginStatus() called before calling FB.init(). all.js:56
 
Link to comment
Share on other sites

  • 5 weeks later...

I'm getting this same error when I try to chose a different address from the list in the 3 step of the shop.

 

An Alert js window with this information:

 

TECHNICAL ERROR: unable to save adresses 
 
Details:
Error thrown: [object Object]
Text status: parsererror

In the console browser only appears a warning like this: 

Use of attributes' specified attribute is deprecated. It always returns true.
 
I tried to upload an screenshot of error in the page, but the this forum said "You aren't permitted to upload this kind of file"
 
 
Apparently it is a problem in the function updateAddresses()  is on file order-address.js

 
Take a look
Edited by Liebre (see edit history)
Link to comment
Share on other sites

  • 4 months later...

Hello,

I have the same problem when a client has more than one address and switches from the default to another one:

TECHNICAL ERROR: unable to save adresses 


Details:
Error thrown: [object Object]
Text status: parsererror

How to get rid of this error? Apparently it does not affect the outcome.

 

I am on 1.5.6.2

 

Thanks

Link to comment
Share on other sites

hello,

i've got the same problem, but it is only when the country is différent from default country....

 

TECHNICAL ERROR: unable to save adresses 
 
Details:
Error thrown: [object Object]
Text status: parsererror

 

 

In chrome console, i ve got this : 

 

Uncaught ReferenceError: jQuery is not defined

event.returnValue is deprecated. Please use the standard event.preventDefault() instead. 3fb2472dc78a11029bb21ad0414f797b.js:2
 

But I suppose it is a différent problem !!!

I m on the PrestaShop™ 1.5.4.1

Please help

Link to comment
Share on other sites

  • 3 weeks later...

I got the same error,when using guest checkout and changing addresses/countries.
The problem was happening because of a payments gateway module installed for testing but not used in production.
I removed the payments gateway module and no error now.

I'm running version PS 1.6

Link to comment
Share on other sites

  • 3 months later...

I don't know, maby it will helps to somebody:

 

I got the same error and also i got php debug error - i turned off  minimum order amount option and it works ... it is only temporary decision, php debug shows me this error:

 

Warning: sprintf(): Too few arguments in /var/www/www.obpo.ru/controllers/front/OrderOpcController.php on line 548

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Hello,

Excuse me for my English, I will use a translator of language.

I found a solution to correct the problem of :

 

"TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parsererror"

That comes from the file order-adress.js in your topic.

In fact scans in this file for the word json and to replace by data except for dataType: json
that you replace by dataType: html

This should correct the error which occurs when you click on the box to choose a bill-to-address of the 3rd stage of order.

 

Good courage !

Link to comment
Share on other sites

  • 1 month later...

Hello,

 

Excuse me for my English, I will use a translator of language.

 

I found a solution to correct the problem of :

 

"TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parsererror"

 

That comes from the file order-adress.js in your topic.

 

In fact scans in this file for the word json and to replace by data except for dataType: json

that you replace by dataType: html

 

This should correct the error which occurs when you click on the box to choose a bill-to-address of the 3rd stage of order.

 

Good courage !

 Thank you very much. Work like a charm

Link to comment
Share on other sites

  • 3 months later...

Hi,

 

I am also facing this problem -> TECHNICAL ERROR: unable to save addresses Details: Error thrown: [object Object] Text status: parsererror.

 

Note : addresses Details is saved in database but still the error is same in front end .

 

i have tried above solution but can't solved .

 

Hope any one help us.

 

thanks in advance.

Link to comment
Share on other sites

  • 3 weeks later...
Hi, i have the same problem.

I updated the shop with version 1.5 to 1.6.0.9

 

While quick registration gets this message:

TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parsererror

 

My console looks like this:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

 

Please help.

Link to comment
Share on other sites

Hi,

I cannot access categories setup in the backoffice, I get this error and blank page;

 

Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with DispatcherCore::loadRoutes($id_shop = NULL) in /var/zpanel/hostdata/chicnluxury/public_html/chic-n-luxury_com/override/classes/Dispatcher.php on line 0

Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /var/zpanel/hostdata/chicnluxury/public_html/chic-n-luxury_com/override/controllers/admin/AdminCategoriesController.php on line 4

 

Could you help me please?

 

Thanks in advance

Link to comment
Share on other sites

  • 3 months later...

I have the same problem when using the quick checkout or the instant order - no matter what details I enter and no matter what is the site language (I have tried default language and additional languages) - might not be related to the language after all

 

Buyer details (name, address, etc) are saved in the back end (I am able to review those details in the back-end Customer ) and the site notifies the user that the details have saved, however, the same TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parsererror notification is displayed

 

There was a post indicating that the json should be changed to data in order-address.js - that didnt work for me

There was another post suggesting to disable a payment gateway module that was not running in production - I had no such module installed or I was not able to locate it.

 

Any other ideas?

 

It is obvious that this issue is being reported by a whole lot of people coming from different countries so to me looks like a real bug

 

 

 

 

 

Hi, i have the same problem.
I updated the shop with version 1.5 to 1.6.0.9
 
While quick registration gets this message:
TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parsererror
 
My console looks like this:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
 
Please help.

 

Link to comment
Share on other sites

  • 4 months later...

I've had the same error. 

 

Problem was the with BASE URI filled in SEO and URL settings.

 

As long as I've filled the correct value according to my webhositing, everything works like the charm again :) Try this please. 

 

 

Problem was with define('_PS_MODE_DEV_', true); 

 

when set on false - everything works.... 

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

  • 3 weeks later...
  • 6 months later...

@Good Boy it is not real solution because it is disabling important SEO feature of Prestashop. We should look for some solution in files. I think that this issue is really urgent to find a solution. There was a thread with some fixes and they were related to some SEO & URL issues -> https://www.prestashop.com/forums/topic/27173-solved-technical-error-unable-to-save-adresses/page-2 but in 1.6.1.4 this file looks different. Same thing is with order-address.js and commenting out this part - maybe some js specialist can help is this is correct way?

error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);}

I am having this error sometimes - not all the time and my console is saying same thing as @kayol10 

 

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, checkhttp://xhr.spec.whatwg.org/.

 

I deleted the cache, I tried to not use smarty cache for js, I tried to test it on different browser and sometimes it was working, sometimes not. The most wierd thing is that this error is showing almost always only on my chrome browser or any other pc of our employees - the person who are working on the website all the time. Then this error is appearing the most. When test in incognito then it is not showing as much. God I hate this ...

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

  • 1 month later...

I have the same problem, and the error appear only for some clients. My console log:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
2http://nikbutik.pl/js/jquery/jquery-1.11.0.min.js Failed to load resource: the server responded with a status of 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4
 
I have prestashop version 1.6.0.14.
Try to fix it all day - please help!
Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...

Same problem here (www.larysa.ro):

 

- same error appears in a popup on quick order when saving client info (TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parsererror)

 

- turned on dvmode, got some error from shipping module but I dont think it's related (Notice: Undefined offset: 1 in /home/larysa/public_html/modules/fancourier/fancourier.php on line 1037)

 

- console throws:

Uncaught ReferenceError: $ is not defined
    at comanda-rapida:62
(anonymous) @ comanda-rapida:62
 
and 
 
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ v_148_a07b43b….js:4
ajax @ v_148_a07b43b….js:4
(anonymous) @ v_148_a07b43b….js:745
dispatch @ v_148_a07b43b….js:3
r.handle @ v_148_a07b43b….js:3
 
SOLUTION PLS ?!?!
Link to comment
Share on other sites

I also get this on blank page after placing order but doesn't look related.

Notice: Undefined variable: order in /home/larysa/public_html/controllers/front/OrderConfirmationController.php on line 101

Fatal error: Call to a member function getOrdersTotalPaid() on a non-object in /home/larysa/public_html/controllers/front/OrderConfirmationController.php on line 101

Link to comment
Share on other sites

  • 2 months later...

I also get this on blank page after placing order but doesn't look related.

 

Notice: Undefined variable: order in /home/larysa/public_html/controllers/front/OrderConfirmationController.php on line 101

 

Fatal error: Call to a member function getOrdersTotalPaid() on a non-object in /home/larysa/public_html/controllers/front/OrderConfirmationController.php on line 101

Did you edit the function for that controller?

 

Same problem here... 

 

 

Can you inspect the network tab, and see what the response is?

Link to comment
Share on other sites

 

 

 

Can you inspect the network tab, and see what the response is?

I did place a print screen with that response but here it is :) :

 

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ v_15_81cb1c1f0ac4ad026f0e2972ed546d24.js:4

 

with a link: http://www.chempro.pl/themes/default-bootstrap/cache/v_15_81cb1c1f0ac4ad026f0e2972ed546d24.js

Link to comment
Share on other sites

The fun part is that when I change from "1 page checkout" to "5 steps checkout" it's magic then.  

1st step looks normal but when I click " proceed with order" (or something simillar) what should redirect me to step 2  it redirects me to ..... my own Back office.... 

Well I definatelly need help with this one because it's crazy and my customers can't place any orders ... 

Link to comment
Share on other sites

Oh sorry I misundertood you before. 

Network -> xhr 

When I hit response its only have someting written on the last entry and it is: (basically page to login to prestashop as far as I see...) 

 

<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8 ie7"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9 ie8"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js ie9"> <![endif]-->
<html lang="pl">
<head>
<meta charset="utf-8">
 
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" type="image/x-icon" href="/img/favicon.ico" />
<link rel="apple-touch-icon" href="/img/app_icon.png" />
 
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="robots" content="NOFOLLOW, NOINDEX">
<title>
CHEMPRO > Panel administracyjny (PrestaShop™)
</title>
<link rel="stylesheet" href="/logowanie/themes/default/css/admin-theme.css" type="text/css" media="all" />
<link rel="stylesheet" href="/logowanie/themes/default/css/overrides.css" type="text/css" media="all" />
<script type="text/javascript" src="/js/jquery/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/jquery.validate.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/validate/localization/messages_pl.js"></script>
<script type="text/javascript" src="/js/vendor/spin.js"></script>
<script type="text/javascript" src="/js/vendor/ladda.js"></script>
<script type="text/javascript" src="../js/admin/login.js?v=1.6.1.7"></script>
 
<script type="text/javascript">
var img_dir = '/img/';
var more_errors = 'Jest kilka błędów.';
var one_error = 'Jest jeden błąd.';
</script>
<script type="text/javascript" src="/js/jquery/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/jquery.validate.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/validate/localization/messages_pl.js"></script>
<script type="text/javascript" src="/js/vendor/spin.js"></script>
<script type="text/javascript" src="/js/vendor/ladda.js"></script>
 
</head>
<body class="ps_back-office bootstrap">
<div id="login">
<div id="content">
 
<div id="login-panel">
<div id="login-header">
<h1 class="text-center">
<img id="logo" src="/img/[email protected]" width="123px" height="24px" alt="PrestaShop" />
</h1>
<div class="text-center">1.6.1.7</div>
<div id="error" class="hide alert alert-danger">
</div>
 
</div>
<div id="shop-img"><img src="/img/[email protected]" alt="CHEMPRO" width="69.5px" height="118.5px" /></div>
<div class="flip-container">
<div class="flipper">
<div class="front panel">
<h4 id="shop_name">CHEMPRO</h4>
<form action="#" id="login_form" method="post">
<input type="hidden" name="redirect" id="redirect" value="&token=9fa8d073407cf2908a266f88d615d2bf"/>
<div class="form-group">
<label class="control-label" for="email">Adres e-mail</label>
<input name="email" type="email" id="email" class="form-control" value="" autofocus="autofocus" tabindex="1" placeholder=" [email protected]" />
</div>
<div class="form-group">
<label class="control-label" for="passwd">
Hasło
</label>
<input name="passwd" type="password" id="passwd" class="form-control" value="" tabindex="2" placeholder=" Hasło" />
</div>
<div class="form-group row-padding-top">
<button name="submitLogin" type="submit" tabindex="4" class="btn btn-primary btn-lg btn-block ladda-button" data-style="slide-up" data-spinner-color="white" >
<span class="ladda-label">
Zaloguj się
</span>
</button>
</div>
<div class="form-group">
<div id="remind-me" class="checkbox pull-left">
<label for="stay_logged_in">
<input name="stay_logged_in" type="checkbox" id="stay_logged_in" value="1" tabindex="3"/>
Pozostań zalogowany
</label>
</div>
<a href="#" class="show-forgot-password pull-right" >
Zapomniałem hasła
</a>
</div>
</form>
</div>
 
<div class="back panel">
<form action="#" id="forgot_password_form" method="post">
<div class="alert alert-info">
<h4>Nie pamiętasz hasła?</h4>
<p>Wprowadź proszę adres e-mail, który został podany podczas procesu rejestracji aby otrzymać kod dostępu na pocztę e-mail</p>
</div>
<div class="form-group">
<label class="control-label" for="email_forgot">
E-mail
</label>
<input type="text" name="email_forgot" id="email_forgot" class="form-control" autofocus="autofocus" tabindex="5" placeholder=" [email protected]" />
</div>
<div class="panel-footer">
<button type="button" href="#" class="btn btn-default show-login-form" tabindex="7">
<i class="icon-caret-left"></i>
Powrót do logowania
</button>
<button class="btn btn-default pull-right" name="submitLogin" type="submit" tabindex="6">
<i class="icon-ok text-success"></i>
Wyślij
</button>
</div>
</form>
</div>
</div>
</div>
 
<div id="login-footer">
<p class="text-center text-muted">
<a href="http://www.prestashop.com/" onclick="return !window.open(this.href);">
© PrestaShop™ 2007-2017 - All rights reserved
</a>
</p>
<p class="text-center">
<a class="link-social link-twitter _blank" href="https://twitter.com/PrestaShop" title="Twitter">
<i class="icon-twitter"></i>
</a>
<a class="link-social link-facebook _blank" href="https://www.facebook.com/prestashop" title="Facebook">
<i class="icon-facebook"></i>
</a>
<a class="link-social link-github _blank" href="https://www.prestashop.com/github" title="Github">
<i class="icon-github"></i>
</a>
<a class="link-social link-google _blank" href="https://plus.google.com/+prestashop/" title="Google">
<i class="icon-google-plus"></i>
</a>
</p>
</div>
</div>
 
 
</div>
</div>
 
 
</body>
</html>
Link to comment
Share on other sites

Okay so I found the solution ..

All I needed to do was to change name of my "admin" folder in ftp. 
It was named "logowanie" and somehowe it was a cause. Whene I change it to a different name "admin*******" it is good now. 


It's strange though because in other shop I used to use "logowanie" as a name of an admin folder and there was no problem with it .... 

Well anyway case closed.
 

  • Thanks 1
Link to comment
Share on other sites

  • 4 weeks later...

I had this problem too.

Tried to solved it for several hours.

Finally I got it. I had "orders" seo name of two pages, "order page" and "order OPC"

 

I HAVE NO IDEA why there is no UNIQUE key on SEO NAME? We would never have that problem again :-/

 

Thx

Link to comment
Share on other sites

Hello Members,

 

I am new here and we also experiencing the same issue with our product page.

Actually when we visit page normally just by copy & pasting the product url in browser, it works well.

But while checking its cache ( to check what information is going to display to web crawlers by using cache:http://www.moglix.com/allen-cooper-ac-1156-steel-toe-low-ankle-safety-shoes-size-10/mp/msnjhs208xs0), it shows

 

TECHNICAL ERROR: unable to save account

Details:

Error thrown: [object Object]

Text status: error

 

Attaching the screenshot.

 

Wanted to know what is the actual issue and how to resolve it?

And also, does it impact our organic rank?

 

 

 

Link to comment
Share on other sites

  • 1 month later...

Hello,

I've got the same problem, i tried it on firefox, on safari, this message appear when I want to change adresses or to have different adresses for shipping etc,...

 

TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parsererror

 

Whan I select to deactivate surcharges (sorry i don't know what is it in english, maybe overrides or overloads ?) then it works, but I'm afraid that if they are always deactivated, it could cause more problems with other features on the site.

 

 

Link to comment
Share on other sites

You should enable debug mode, open the console with f12 in chrome and inspect the xhr call right after you click to change the address

It should tell you more about the error

thank you for your answer, i opened in chrome with f12 but i don't know what to do after that, what's the xhr ?

 

thank you

Link to comment
Share on other sites

Hello,

 

Excuse me for my English, I will use a translator of language.

 

I found a solution to correct the problem of :

 

"TECHNICAL ERROR: unable to save adresses Details: Error thrown: [object Object] Text status: parsererror"

 

That comes from the file order-adress.js in your topic.

 

In fact scans in this file for the word json and to replace by data except for dataType: json

that you replace by dataType: html

 

This should correct the error which occurs when you click on the box to choose a bill-to-address of the 3rd stage of order.

 

Good courage !

Merci, thank you, grazie, gracias, etc,

 

it works (for now :D)

Link to comment
Share on other sites

  • 1 month later...

 had the same problem and I changed it by changing the php version in the cpanel ... I was working with the 7.0 and I turned it to the 5.4 that is stable.

 

 

yo tuve el mismo problema y lo solucione cambiando la version de php en el cpanel... estaba trabajando con la  7 y me devoli a la 5.4 que es estable.

Link to comment
Share on other sites

  • 10 months later...

I'm struggling with this whole day, nothing mentioned helped. Finally solved it! Simply call updateAddressSelection() one more time after choosing a carrier like this: 

$(document).ready(function(){
            // error cannot save addresses
            $(".delivery_option_price>label").click(function(){
                updateAddressSelection();
            });
            $(".delivery_option_logo").click(function(){
                updateAddressSelection();
            });
});

I added this into order-opc.tpl, don't forgot to put this inside {literal}{/literal}. And then delete error msg at updateAddressSelection() function inside js/order-opc.js

Edited by northon (see edit history)
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...