Closed bluenix closed 11 years ago
That sounds like there is a javascript error that the Magento interface 'ignores'. Could you tell me the version of the extension you are using, and which interface in Magento you are specifically using (url)?
A screenshot might also help to show what kind of data you are using.
I'm using the latest version of the extension (the one that includes the "Fixed a bug where some house numbers with no addition were not..."). Please find a screenshot attached.
It looks like the Magento Ajax request is eating a javascript error that occurs.
If you could add
onException: function(transport, e)
{
throw e;
},
In the file js/postcodenl/api/lookup.js
, before the line onComplete: function(transport)
, and then try again?
That should show you the javascript error that occurs in the browser status bar, please let me know what that error shows.
It gives the following error: SyntaxError: JSON.parse: unexpected character - Line 720 I've uploaded the file it refers to here: http://bluenix.nl/public/files/file.js
Ok that gets us a step closer! There is some invalid data being received. A few questions, so I can research this from the server side:
(you can mail the answers to the last two to tech
Hmm I do not see your request coming into our servers.
From another angle: do you use some sort of multiple stores/languages in one setup or are you using an extension that achieves something like that?
Our extension might not be able to find the right path to call from the admin, and gets an HTML file, which is invalid JSON.
As a temporary fix you can try changing in the file app/design/adminhtml/default/default/template/postcodenl/api/jsinit.phtml
the line :
baseUrl: "<?php echo htmlspecialchars(Mage::getUrl('', array('_secure' => true))) ?>",
to
baseUrl: "{base url to your frontend with language path}",
Which could be something like "http://yourstore.com/nl/".
Yes, that indeed "fixes" it! We are indeed using two languages (/nl & /en) using Magento's core functionality of multiple store views.
Thanks for your help!
The new version (1.0.5.0), available from the Magento Connect store (http://www.magentocommerce.com/magento-connect/catalog/product/view/id/14360/) and GitHub, should fix this problem in a more general way - let me know if it fixes your issue.
With the plugin enabled, when editing a billing- or shipping-address of an order, Magento hangs on "Please wait" (with spinning wheel). The same happens when re-ordering an order.
Magento version 1.7.0.2