Jump to content

TECHNICAL ERROR: unable to save addresses


Recommended Posts

  • 3 months later...

Hi,

I have this same error but in different situation.

Engine version: 1.4.0.17 - FINAL 1.4

I'm trying to enable in opc function billing address for GUEST. I changed class to enable visibility of checkbox invoice_address and when i click this checkbox the fields for billing are available. After filling fields and clicking SAVE through ajax all address data (for devilery and invoice) is stored in database (i see it in database), but still for address invoice I'm getting ajax error:

TECHNICAL ERROR: unable to save adresses

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

The url data seems to be ok, looks like this:

ajax=true&submitAddress=true&type=invoice&firstname=popp&lastname=jnnkjkn&company;=&vat;_number=&dni=undefined&address1=jjhbjhbjh&address2;=&postcode=98-777&city=jhjhbjh&id_country=14&id;_state=&other;=&phone=988989☎_mobile=&alias=My Invoice address&token=03f59b61045606b27b0fb7c79416d483

there is no ; signs in the url - post editor is adding this...

As I mentioned all data are properly stored in database. What is interesting, after reloading page and clicking again Save (with this same values) everything is ok, information has been saved mesage is shown.

For me it's needed to enable billing information for guest because frequently delivery address is different from invoice address.

I've done modification for 5 step checkout but i can't fight this error for opc.

I don't have experience with this ajax and can't solve this case by my self.

Can anyone help me? Is enyone who was trying to make this too?
Maybe developers can give me advice where to search/ how to make the solution?

I'll be greateful.

Regards,

Tom.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
HI.

Could you please let my know how did you fix it. I trying to fix the problem by myself but I can't find it.

Thank You


If you have [] in themes\prestashop\lang\fr.php (or your language) in line 29 or 88 you can try to remove it
Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

hello zusu,

very interessting that you´ve done this:

/ snip /
...
For me it’s needed to enable billing information for guest because frequently delivery address is different from invoice address.

I’ve done modification for 5 step checkout but i can’t fight this error for opc.
...
/snip /


Can you please explain which files i must modify to get this guest with also invoice address, in 5-step and OPC.
A solution for 5-step is nearly done, because it´s not AJAX.

I removed the restriction in controllers/AddressController.php and more, how can i get the checkbox and so ...?

perhaps upload these files for 1.4.0.17 or (1.4.1) from yours.

thanks
beatstreet

Link to comment
Share on other sites

×
×
  • Create New...