daniel.tpe Posted November 17, 2018 Share Posted November 17, 2018 (edited) For weeks ago, I met such the problem when I add/edit the product items, the save button is always spinning. it made me lots of work pending. Now I seem to find a way workable, there're descritpion as below, hope it's useful for you; 1 if you wanna add new product item, please use the duplicate feature on the top-right side of the admin product list page. it works to create a new product item. then edit and modify the details by operate your mysql database. it the way what I do as below; 1 click and open your phpmysql admin console, and find the table named "product_lang", the fields contents are product general information. the table named "product" , the contents are category, price and other. you could check related table name to find. 2 I usually make the contents by html format, so I edit the contents at local side, copy the full contents to the table's fields and save. 3 It works to add/edit product information. finally, truly hope Preasa could slove this problem ASAP, it's really borrowing me! Daniel Edited November 17, 2018 by daniel.tpe (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted November 17, 2018 Share Posted November 17, 2018 Hi Daniel, You don't say which Prestashop version you use. The product edit page of Prestashop consists of a lot of different tabs that technically are separate pages. When there is a PHP error in one of those pages you get the spinning button effect that you describe. So you should either look in your server's error log or enable development mode and look at all the tabs for an error. M Link to comment Share on other sites More sharing options...
daniel.tpe Posted November 17, 2018 Author Share Posted November 17, 2018 the version now I have is 1.6.1.23, the problem was happened from 1.6.1.18 until now. Link to comment Share on other sites More sharing options...
techtech Posted December 6, 2018 Share Posted December 6, 2018 @musicmasterand @daniel.tpe I too have the issue, below is the information I can provide, any help would be appreciated: Host: GodaddyPrestaShop Version: 1.6.1.23System: LinuxPHP Version: 7.0 After upgrading to 1.6.1.23 I have the "save buttons spinning" on the products pages. (Last year I solved the issue of the "prestashop save buttons spinning" however can not find my notes on it.) I have tried the below: (1) Upgraded PHP Version from 5.6PHP to 7.0PHP. (2) Visited [http://prestamania.com/prestashop-back-office-bug-not-saving-everytime/] but no string of [submitHandler: function(form) { form.submit(); },] is found to edit in the [admin//themes/default/template/controllers/products/helpers/form/form.tpl] file. (3) Force Compiled in the BO - Performance Page (4) Checked Folder permissions: Folder permissions for /admin_folder/ = 755 Folder permissions for /admin_folder/filemanager/ = 755 When using Chrome and the Inspect Setting I see 4 Errors: #1 ------------------------------------------------------------------------------------------------------------------------------------------------------- jquery.fileupload-process.js:32 Uncaught TypeError: Cannot read property 'fileupload' of undefined at jquery.fileupload-process.js:32 at jquery.fileupload-process.js:25 at jquery.fileupload-process.js:29 (anonymous) @ jquery.fileupload-process.js:32 (anonymous) @ jquery.fileupload-process.js:25 (anonymous) @ jquery.fileupload-process.js:29 #2 ------------------------------------------------------------------------------------------------------------------------------------------------------- jquery.fileupload-validate.js:33 Uncaught TypeError: Cannot read property 'fileupload' of undefined at jquery.fileupload-validate.js:33 at jquery.fileupload-validate.js:25 at jquery.fileupload-validate.js:29 #3 ------------------------------------------------------------------------------------------------------------------------------------------------------- [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"><i class="process-icon-loading"></i> Save</button> <button id="product_form_submit_btn" type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> Save and stay</button> <button id="product_form_submit_btn" type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> Save</button> <button id="product_form_submit_btn" type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> Save and stay</button> #4 ------------------------------------------------------------------------------------------------------------------------------------------------------- Uncaught TypeError: $(...).fileupload is not a function at HTMLDocument.eval (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:25:14) at j (jquery-1.11.0.min.js:2) at Object.add [as done] (jquery-1.11.0.min.js:2) at e.fn.init.n.fn.ready (jquery-1.11.0.min.js:2) at eval (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:19:16) 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) Any ideas to try? Link to comment Share on other sites More sharing options...
musicmaster Posted December 6, 2018 Share Posted December 6, 2018 As I said before: look for php errors in one of the tabs. Look in your server's error log. Alternatively look at all the tabs and if they look ok at their source code for the keyword "error" or "warning" 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 1 Link to comment Share on other sites More sharing options...
musicmaster Posted December 9, 2018 Share Posted December 9, 2018 On 12/6/2018 at 4:33 PM, techtech said: 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 Thank you for the feedback. Files that are missing or empty are indeed sometimes the source of trouble. Link to comment Share on other sites More sharing options...
kaaycee Posted December 9, 2018 Share Posted December 9, 2018 (edited) I have the same sort of problem. Save button keeps spinning after update to 1.6.1.23 These are the errors i get when inspecting: I actually found my errors to be related to a module i installed for some Christmas effects. This module seems to come with quite a lot of jquery errors sadly Edited December 9, 2018 by kaaycee (see edit history) Link to comment Share on other sites More sharing options...
Knowband Plugins Posted December 10, 2018 Share Posted December 10, 2018 Hi, Did you check the same after disabling the Christmas effects module? Link to comment Share on other sites More sharing options...
kaaycee Posted December 10, 2018 Share Posted December 10, 2018 Yes this did indeed fix the problem. Strange how some one releases and sells a module with over 11 fatal errors in it Link to comment Share on other sites More sharing options...
musicmaster Posted December 10, 2018 Share Posted December 10, 2018 5 hours ago, kaaycee said: Yes this did indeed fix the problem. Strange how some one releases and sells a module with over 11 fatal errors in it Actually there is just one error. But it is not clear to me where it happens. Some error prevents Jquery from loading. And the rest are errors that Jquery isn't loaded. BTW: did you try disabling the option to move javascript to the bottom of the page? Moving javascript to the bottom often causes problems. 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