Hi there!
I've the same error on the store, upgraded from 1.5.x, and neither method explained here is fixed it.
Maintenance mode is disabled out of the box.
I've added API user and set up main store to use it.
I've set HTTPS host in admin config.php (and site root config.php) to "http://.*"
I've even debugged all in JS console.
And I've found that
Code: Select all
$.ajax({url: 'index.php?route=sale/order/api&token=BLABLA&api=api/customer&store_id=' + $("select[name='store_id'] option:selected").val(),type: 'post',data: $("#tab-customer input[type='text'], #tab-customer input[type='hidden'], #tab-customer input[type='radio']:checked, #tab-customer input[type='checkbox']:checked, #tab-customer select, #tab-customer textarea"), dataType: 'json', success: function() { alert("1"); }, error: function(xhr, ajaxOptions, thrownError){ alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } });
(the code from /admin/view/sale/order_form.tpl, that executes when you're pressing "Proceed" button in edit mode with redefined "success" part to avoid context change)
executes "error" part (and that's why you see an error). But if I change "dataType" to 'text',instead of 'json', then it executes success part.
Any ideas?