carinac Posted May 31, 2016 Share Posted May 31, 2016 I only have 59 products, and whenever I try to go in and edit an item or put in another item I get the spinning save and stay forever. The weird thing is, sometimes when I go into a page it will stop spinning right away and allow me to press the button and save. But most of the time it will just spin and spin. Why is it doing this? Why will most the time it won't let me save, but sometimes it will? It is very frustrating especially when I have something on a page that is incorrect and I am unable to change it. Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2016 Share Posted May 31, 2016 please follow these steps: 1) turn on back office in CHROME browser 2) press ctrl+shift+j 3) go to product edit page 4) do you see some red errors in the console? 5) if so ,please paste them here Link to comment Share on other sites More sharing options...
musicmaster Posted June 1, 2016 Share Posted June 1, 2016 Try deleting the file cache\class_index.php. The file will then automatically be regenerated. If that doesn't work look at your server's error log and php error log. Link to comment Share on other sites More sharing options...
carinac Posted June 1, 2016 Author Share Posted June 1, 2016 This comes up jquery-1.11.0.min.js:4 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…action=Attachments&updateproduct&ajax=1&rand=1464800784872&_=1464800783186 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208products.js:177 Uncaught TypeError: Cannot read property 'replace' of undefined(anonymous function) @ products.js:177j @ jquery-1.11.0.min.js:2k.fireWith @ jquery-1.11.0.min.js:2x @ jquery-1.11.0.min.js:4b @ jquery-1.11.0.min.js:4jquery-1.11.0.min.js:4 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…6&action=Suppliers&updateproduct&ajax=1&rand=1464800784877&_=1464800783187 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208products.js:177 Uncaught TypeError: Cannot read property 'replace' of undefined(anonymous function) @ products.js:177j @ jquery-1.11.0.min.js:2k.fireWith @ jquery-1.11.0.min.js:2x @ jquery-1.11.0.min.js:4b @ jquery-1.11.0.min.js:4 please follow these steps: 1) turn on back office in CHROME browser 2) press ctrl+shift+j 3) go to product edit page 4) do you see some red errors in the console? 5) if so ,please paste them here Link to comment Share on other sites More sharing options...
carinac Posted June 1, 2016 Author Share Posted June 1, 2016 jquery-1.11.0.min.js:4 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…ion=VirtualProduct&updateproduct&ajax=1&rand=1464803205587&_=1464803203794 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208 products.js:177 Uncaught TypeError: Cannot read property 'replace' of undefined(anonymous function) @ products.js:177j @ jquery-1.11.0.min.js:2k.fireWith @ jquery-1.11.0.min.js:2x @ jquery-1.11.0.min.js:4b @ jquery-1.11.0.min.js:4jquery-1.11.0.min.js:4 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…&action=Quantities&updateproduct&ajax=1&rand=1464803205582&_=1464803203793 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…&action=Quantities&updateproduct&ajax=1&rand=1464803205582&_=1464803203793 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208products.js:177 Uncaught TypeError: Cannot read property 'replace' of undefined(anonymous function) @ products.js:177j @ jquery-1.11.0.min.js:2k.fireWith @ jquery-1.11.0.min.js:2x @ jquery-1.11.0.min.js:4b @ jquery-1.11.0.min.js:4 products.js:177 Uncaught TypeError: Cannot read property 'replace' of undefined(anonymous function) @ products.js:177j @ jquery-1.11.0.min.js:2k.fireWith @ jquery-1.11.0.min.js:2x @ jquery-1.11.0.min.js:4b @ jquery-1.11.0.min.js:4jquery-1.11.0.min.js:4 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…t=26&action=Images&updateproduct&ajax=1&rand=1464803205594&_=1464803203795 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208 jquery-1.11.0.min.js:4 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…t=26&action=Images&updateproduct&ajax=1&rand=1464803205594&_=1464803203795 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208 products.js:177 Uncaught TypeError: Cannot read property 'replace' of undefined(anonymous function) @ products.js:177j @ jquery-1.11.0.min.js:2k.fireWith @ jquery-1.11.0.min.js:2x @ jquery-1.11.0.min.js:4b @ jquery-1.11.0.min.js:4jquery-1.11.0.min.js:4 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…26&action=Features&updateproduct&ajax=1&rand=1464803205598&_=1464803203796 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208 jquery-1.11.0.min.js:4 GET http://doorshop.com/admin123/index.php?controller=AdminProducts&token=df8df…26&action=Features&updateproduct&ajax=1&rand=1464803205598&_=1464803203796 500 (Internal Server Error)send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4ProductTabsManager.display @ products.js:117ProductTabsManager.displayBulk @ products.js:166(anonymous function) @ products.js:208products.js:177 Uncaught TypeError: Cannot read property 'replace' of undefined(anonymous function) @ products.js:177j @ jquery-1.11.0.min.js:2k.fireWith @ jquery-1.11.0.min.js:2x @ jquery-1.11.0.min.js:4b @ jquery-1.11.0.min.js:4 Uncaught TypeError: Cannot read property 'replace' of undefined(anonymous function) @ products.js:177j @ jquery-1.11.0.min.js:2k.fireWith @ jquery-1.11.0.min.js:2x @ jquery-1.11.0.min.js:4b @ jquery-1.11.0.min.js:4 Link to comment Share on other sites More sharing options...
carinac Posted June 3, 2016 Author Share Posted June 3, 2016 (edited) today i am getting Edited June 3, 2016 by carinac (see edit history) Link to comment Share on other sites More sharing options...
Mat_D1245 Posted June 3, 2016 Share Posted June 3, 2016 Deleting /cache/class_index.php does the job for me. Unfortunately, I do need to delete several times a day!! Link to comment Share on other sites More sharing options...
carinac Posted June 3, 2016 Author Share Posted June 3, 2016 Deleting /cache/class_index.php does the job for me. Unfortunately, I do need to delete several times a day!! hm, i deleted it but it doesn't seem to work. Link to comment Share on other sites More sharing options...
Mat_D1245 Posted June 3, 2016 Share Posted June 3, 2016 I usually delete both class_index.php and smarty, give it a try... Link to comment Share on other sites More sharing options...
carinac Posted June 3, 2016 Author Share Posted June 3, 2016 I usually delete both class_index.php and smarty, give it a try... I noticed it does work better for me in chrome than firefox. Firefox won't work but chrome is working. thanks. Link to comment Share on other sites More sharing options...
musicmaster Posted June 4, 2016 Share Posted June 4, 2016 A 500 error usually means that there was a php error. As this happened in an ajax operation you cannot see the details directly. However, the error message should be in the php error log. Also, at least with Firebug, you can see in the console what error message was returned in the ajax call (see picture). The class index file provides an overview of all the classes in your shop. That file is rebuilt every time you add or remove some module. However, sometimes something goes wrong and it misses a class. By deleting the file you force a rebuild. But if the problem keeps coming back it may be a good idea to have a look and see what class is missing each time and think about probable causes. Link to comment Share on other sites More sharing options...
hendrawuberry Posted October 9, 2016 Share Posted October 9, 2016 today i am getting Same with me...i'm error like this...do u already fix ? Anyone can help? thanks Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted March 17, 2018 Share Posted March 17, 2018 Hi there, I don't know if you still are here on prestashop forum but have informations how to fix this annoying prestashop bug. Just go there -> YOUR-WEBSITE/adminfolder/themes/default/template/controllers/products/ There you will find .tpl files for each tab from product page (Informations, Price, Shipping, Feature, Images etc) Open first informations.tpl file , search and delete this: disabled="disabled" and then next of that find <i class="process-icon-loading"> and change "loading" to "save". That code need to looks like <i class="process-icon-save"> You have to do that twice at each file you edit. 1. for Save and stay button and 2. for Save button. Repeat that in each file for each tab. You can thanks me later 1 Link to comment Share on other sites More sharing options...
GrooviestG Posted April 5, 2018 Share Posted April 5, 2018 (edited) A big thanks from me!!! Worked on two websites which had the problem... Nice one... Edited April 5, 2018 by GrooviestG (see edit history) Link to comment Share on other sites More sharing options...
bungl Posted May 12, 2018 Share Posted May 12, 2018 I've applied this fix to PS 1.6.1.17 this morning and it seems to be working well! THANK YOU!. My only issue is that I'm using a template with a TM Product Video and can't seem to find where the template file is located to apply the fix. Stef Link to comment Share on other sites More sharing options...
motion2082 Posted October 31, 2018 Share Posted October 31, 2018 Thank you for this, I applied to PS 1.6.1.22 this morning. Error Log for PS Developers although 1.6 is on its way out so if it hasn't been fixed by now...it won't be in the future Uncaught TypeError: Cannot read property 'length' of undefined at Function.each (jquery-1.11.0.min.js:2) at Object.success (notifications.js:51) at j (jquery-1.11.0.min.js:2) at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2) at x (jquery-1.11.0.min.js:4) at XMLHttpRequest.b (jquery-1.11.0.min.js:4) 08:49:45.616 index.php?controller=AdminProducts&id_product=104&updateproduct&token=96249ae8e3bce24b8ebb730b1f4ead2b:1 [DOM] Found 4 elements with non-unique id #product_form_submit_btn: (More info: https://goo.gl/9p2vKq) <button id="product_form_submit_btn" type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled">…</button> <button id="product_form_submit_btn" type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled">…</button> <button id="product_form_submit_btn" type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled">…</button> <button id="product_form_submit_btn" type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled">…</button> 08:49:59.684 VM3951:41 Uncaught SyntaxError: Unexpected token , at eval (<anonymous>) at jquery-1.11.0.min.js:2 at Function.globalEval (jquery-1.11.0.min.js:2) at e.fn.init.domManip (jquery-1.11.0.min.js:3) at e.fn.init.append (jquery-1.11.0.min.js:3) at e.fn.init.<anonymous> (jquery-1.11.0.min.js:3) at n.access (jquery-1.11.0.min.js:3) at e.fn.init.html (jquery-1.11.0.min.js:3) at Object.success (products.js:127) at j (jquery-1.11.0.min.js:2) Link to comment Share on other sites More sharing options...
techtech Posted December 6, 2018 Share Posted December 6, 2018 Ok, I solved my issue. I had a file with no data in it. Thus I took a backup file and copied the code into the server file. Below is the file I needed to populate to make the spinning save buttons work. "admin_folder"/themes/default/js/jquery.fileupload-validate.js Link to comment Share on other sites More sharing options...
Pravesh Singh Posted June 8, 2021 Share Posted June 8, 2021 (edited) On 3/18/2018 at 12:02 AM, ZikmaSolutions said: Hi there, I don't know if you still are here on prestashop forum but have informations how to fix this annoying prestashop bug. Just go there -> YOUR-WEBSITE/adminfolder/themes/default/template/controllers/products/ There you will find .tpl files for each tab from product page (Informations, Price, Shipping, Feature, Images etc) Open first informations.tpl file , search and delete this: disabled="disabled" and then next of that find <i class="process-icon-loading"> and change "loading" to "save". That code need to looks like <i class="process-icon-save"> You have to do that twice at each file you edit. 1. for Save and stay button and 2. for Save button. Repeat that in each file for each tab. You can thanks me later Thanks a lot. Its working fine. Everything is working fine accept two section under price section Please check the image in attachment. Prestashop version 1.6.1.24 Edited June 8, 2021 by Pravesh Singh need to ad something (see edit history) Link to comment Share on other sites More sharing options...
Pravesh Singh Posted June 8, 2021 Share Posted June 8, 2021 Please help to solve this. 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