I got this error message when ajax is processing and I click a other button at admin site. Example: I have list of product attributes, I click "delete" buttons very fast, when that the first process don't finish yet, the second request is calling, "Error happened" message is shown. Please help me resolve it
This is how KendoUI grid works. Each grid has "error" handler:
error: function(e) { display_kendoui_grid_error(e); // Cancel the changes this.cancelChanges(); },
If some error happens, then this event is fired. And "display_kendoui_grid_error" method display the error.
If you do not want to see any errors in grid, then do the following: 1. Open \Scripts\admin.common.js file 2. Find "display_kendoui_grid_error" method 3. Empty it. Replace it with
Nice, But what caused this error alert ? Do you agree with that because the nopCommerce takes a lot of memory, as they say in this discussion https://www.nopcommerce.com/boards/t/29616/error-happened.aspx ??
If you're getting that error, then you should first check the System > Log. Also, you may need to use the browser's debugger - check the network tab (see what ajax is returning) and console tab see if any errors.
I just had this same thing happen to me. It only happens when I first load the page with the admin dashboard. If I click on another link before everything has loaded I get the javascript alert "error happened". There is no real error. It just means you clicked on a link before the kendo grid fully loaded.
This is how KendoUI grid works. Each grid has "error" handler:
error: function(e) { display_kendoui_grid_error(e); // Cancel the changes this.cancelChanges(); },
If some error happens, then this event is fired. And "display_kendoui_grid_error" method display the error.
If you do not want to see any errors in grid, then do the following: 1. Open \Scripts\admin.common.js file 2. Find "display_kendoui_grid_error" method 3. Empty it. Replace it with
function display_kendoui_grid_error(e) { }
Yes, it helped. I keep getting error every time I load up dashboard and add products.
I know I'm diggin up an old thread, but this was just happening to me. And after watching the console for AJAX errors, I was seeing that all of my XHR requests were being redirected to lowercase versions of themselves. Normally, I implement this for SEO reasons, but it's unnecessary.
I turned it off, and voila, no more 301s to lowercase AJAX requests, that XHR won't follow. No more 404s after 301s.