claudcast Posted May 19, 2011 Share Posted May 19, 2011 After I add a product or edit a existing product when I save I get a "supplier ajax error" pop up. Its bugging me since it does it allot. I noticed it happened after I entered manufactures information, but I never assigned them to any of my products and I ended up deleting them to see if that would help, but it didn't. any suggestions????? Thanks Link to comment Share on other sites More sharing options...
pontpromenade Posted June 21, 2011 Share Posted June 21, 2011 I have the same problem in the admin section.Site upgraded to 1.4.3.When you go to edit a product, you get an error (pop or modal window, depending on the browser): "Supplier ajax error: parsererror"When you click ok and then look at the select list with the suppliers, only the chosen supplier shows, the list is incomplete.It's as if the system didn't have time to populate the list (although in my case there are only 2 suppliers, though there are over 500 products).IMPORTANT - if you refresh the page, the select list is finally populated with the suppliers on the second or third try, no more error. So it does work, but you need to refresh the page several times. And, sometimes it works at the first try.Is there some change that needs to be made to ajax.php or another file that will, for example, lengthen the amount of time allowed to populate the select list.Or is this problem of another nature?"SOLVED", I guess. This upgrade involved migration of the database from one server to another. The dump from one was in Latin1 while new DB was in UTF8, so the accents were all screwed up. In particular, I wonder if the incorrect handling of apostrophies wasn't perturbing in some way the process of parsing the data needed to populate the list correctly. But that still doesn't explain why it did work after refreshing the page once or twice. Yeah, wah-evah. All's well that ends well. Link to comment Share on other sites More sharing options...
marronne Posted June 21, 2011 Share Posted June 21, 2011 Hi ClaudcastI have the same thing happen to me and for manufacturers too. It happens to me when the product page I've been working on hasn't quite finished loading up/saving and I try to navigate off somewhere else. I need to be more patient! It may not be what's happening to you but thought I'd share it with you just in case.Good luck! Link to comment Share on other sites More sharing options...
seattle Posted July 18, 2011 Share Posted July 18, 2011 Same thing happening here, if anyone has a fix I would love to know Link to comment Share on other sites More sharing options...
tomerg3 Posted July 18, 2011 Share Posted July 18, 2011 Try to report it in the bug tracker, I'm sure the team will address it quickly. Link to comment Share on other sites More sharing options...
Asenar Posted August 4, 2011 Share Posted August 4, 2011 Hi, sorry I can't reproduce the javascript error you describe. I suppose this error happens when the following ajax request is made to fill the <select> element : /admin/ajax.php?_=1312463742305& ajaxProductSuppliers=1 a string should appear similar to this: [{"optionValue": "1", "optionDisplay": "supplier name 1 "},{"optionValue": "2", "optionDisplay": "supplier name 2 "}] Have you the same thing ? If not, what do you have ? Additionnal information for debugging : /admin/tabs/AdminProducts.php, next to line 2144 Link to comment Share on other sites More sharing options...
edyy Posted August 16, 2011 Share Posted August 16, 2011 I have the same problem , and I think that is the problem. Those are the errors from firebug. POST http://www.shop.games-area.ro/admmin/ajax.php 200 OK 3.49s jquery....min.js (line 141) GET http://www.shop.games-area.ro/admmin/ajax.php?ajaxProductManufacturers=1 200 OK 2.15s jquery....min.js (line 141) GET http://www.shop.games-area.ro/admmin/ajax.php?ajaxProductSuppliers=1 200 OK 2.43s jquery....min.js (line 141) POST http://www.shop.games-area.ro/admin/ajax_category_list.php Link to comment Share on other sites More sharing options...
Asenar Posted August 16, 2011 Share Posted August 16, 2011 Hi Edyy, I suggest you to change quickly the name of your admin directory What is displayed if you go on that page : http://www.shop.games-area.ro/admmin/ajax.php?_=1312463742305& ajaxProductSuppliers=1 ? Link to comment Share on other sites More sharing options...
edyy Posted August 23, 2011 Share Posted August 23, 2011 Thanks, I will change it after that this is displayed on that page [{"optionValue": "1", "optionDisplay": "AppleStore"},{"optionValue": "2", "optionDisplay": "Shure Online Store"}] Link to comment Share on other sites More sharing options...
Ram Posted October 17, 2011 Share Posted October 17, 2011 Still the same problem Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now